-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update cn0540 spi engine #1207
Update cn0540 spi engine #1207
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Synthesized on my side also.
Just one question not really related to the changes:
How does the offload trigger adc_data_ready
behave?
Does it ticks periodically or stays high during bursts?
If the second, #1249 might break this project.
@gastmaier I believe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During the build process for CoraZ7s, we need to verify the create_generated_clock -name SCLK_clk
constraint due to a warning indicating that it cannot be evaluated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the copyright to - 2024 in changed files :)
The creation of the generated clock will be evaluated in the implementation phase and the error appears during the synthesis phase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Done in V2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't be better to squash the two commits in only one, in rest looks fine to me
I replaced the SPI Engine connections in the cn0540_bd.tcl with the spi_engine_create procedure found in the spi_engine.tcl script. Through these changes, a more generic instantiation for the spi_engine can be achieved. I also created the cn0540_ardz.txt file. It was tested on linux and worked well. Update the Copyright. Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
ac4f34a
to
9bc2790
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect!
Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
PR Description
Replaced the SPI Engine connections in the cn0540_bd.tcl with the spi_engine_create procedure found in the spi_engine.tcl.
Through these changes, a more generic instantiation for the spi_engine can be achieved.
I also created the cn0540_ardz.txt file.
It was tested with Linux and it worked well.
PR Type
PR Checklist