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

n00b question: how to figure out latency? #48

Open
makslevental opened this issue May 27, 2022 · 0 comments
Open

n00b question: how to figure out latency? #48

makslevental opened this issue May 27, 2022 · 0 comments

Comments

@makslevental
Copy link

makslevental commented May 27, 2022

Sorry if this is a completely n00b question but how can I go about figuring out the e2e latency of a design generated by nngen? In the generated RTL (verilog) I can see the main_fsm and in the timing reports generated by Vivado I can see critical path/delay and etc. but I am not sure how long each step of your FSM takes.

I think I can synthesize one layer at a time and then combine that with the schedule_table in some way but again my question is how to figure out the e2e latency of a layer?

Btw thank you very much for releasing this, I have been struggling for several months to come up with feasible RTL designs for NNs and this package is very informative!

EDIT: actually I guess the n00b answer to my n00b question is to simulate using verilator and multiply the number of cycles times the delay along the critical path.

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

1 participant