Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Synth 8-97] array index 3 out of range [ipbus_ctrs_ported.vhd:84] #122

Closed
tpsubedi opened this issue Aug 8, 2019 · 3 comments
Closed
Milestone

Comments

@tpsubedi
Copy link

tpsubedi commented Aug 8, 2019

When I use ipbus_ctrs_ported with N_CTRS = 4, Vivado gives error of "array index out of range" on line 84 of ipbus_ctrs_ported.vhd. In the code "stb(N_CTRS * CTR_WDS - 1) = '1' " is obviously out of range for N_CTRS = 4 and CTR_WDS = 1 provided stb is defined std_logic_vector(0 downto 0); in line 76.
How do I fix this problem? Thanks

@tswilliams tswilliams added this to the Release 1.5 milestone Aug 15, 2019
tswilliams added a commit that referenced this issue Aug 15, 2019
tswilliams added a commit that referenced this issue Aug 17, 2019
@tswilliams
Copy link
Collaborator

Hi,

I've fixed this bug on branch bug/122-counter-slaves. Can you please try checking out that branch, and let me know if you still see any other problems?

Cheers,
Tom

tswilliams added a commit that referenced this issue Aug 18, 2019
tswilliams added a commit that referenced this issue Aug 18, 2019
@tpsubedi
Copy link
Author

Hi Tom,
Now it is working. Thanks

@tswilliams
Copy link
Collaborator

Hi @tpsubedi ,

Thanks for confirming that the slave is working fine following the bugfix. I've now merged the bug/122-counter-slaves branch into the master, and created a v1.5 tag [1]. So I recommend using the v1.5 tag for future FW builds.

Cheers,
Tom

[1] http://ipbus.web.cern.ch/ipbus/post/firmware_release_1_5/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants