Open zapta opened 1 month ago
Is it possible that these two icestudio projects don't use clock at all, and thus no max speed info?
No, it is important that the board clock be adjusted since there are blocks that depend on the calculation of that clock (although the circuit could go higher). give me a couple of days to check these projects and review what's going on.
I found this icestudio example project that uses a clock and it does generate timing information.
https://github.com/FPGAwars/apio/tree/develop/test-examples/TB/Alhambra-II/icestudio/tff
Hi @zapta ! i'm checking it but i don't know i don't understand you.
This two examples has no maxspeed info because this has no timing paths in it:
https://github.com/FPGAwars/apio/tree/develop/test-examples/TB/Alhambra-II/icestudio/ledon https://github.com/FPGAwars/apio/tree/develop/test-examples/TB/ColorLight-5A-75B-V8/icestudio/button
Please explain me what are you looking for
@cavearr , I think that you are right, they don't use clock and therefore the max clock speed report is not applicable to them.
I think we are good and can close this issue. Thanks.
This is kind of strange, and it came up while workin on the new
apio report
command. When buildingice40
andecp5
regular projects (I didn't tried ongowin
), nextpnr generates max clock speed information, which is important for validating the design. However, for icestudio projects for the same boards, nextpnr doesn't.This issue is to make icestudio projects also generating timing information.
To reproduce, run the following command in the respective apio project dir and observe if the timing info exists.
Regular projects (timing works) https://github.com/FPGAwars/apio/tree/develop/test-examples/Alhambra-II/02-jumping-LED https://github.com/FPGAwars/apio/tree/develop/test-examples/ColorLight-5A-75B-V8/Blinky
Icestudio projects (timing doesn't work) https://github.com/FPGAwars/apio/tree/develop/test-examples/TB/Alhambra-II/icestudio/ledon https://github.com/FPGAwars/apio/tree/develop/test-examples/TB/ColorLight-5A-75B-V8/icestudio/button
NOTE: The
apio report
command takes the timing information from a different sources (using the nextnpr--report
flag) but it has the same timing issue as theapio build --verbose-npr
.