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

make the set_max_delay value a string #234

Closed
wants to merge 1 commit into from
Closed

make the set_max_delay value a string #234

wants to merge 1 commit into from

Conversation

dlharmon
Copy link
Contributor

If max_input_delay was set to 5.3, the verilog was (* \nmigen.vivado.max_delay = 32'd5 *)

With this change, the verilog is (* \nmigen.vivado.max_delay = "5.3" *)

If `max_delay` was 5.3, the verilog was `(* \nmigen.vivado.max_delay  = 32'd5 *)`

With this change, the verilog is `(* \nmigen.vivado.max_delay  = "5.3" *)`
@codecov
Copy link

codecov bot commented Sep 24, 2019

Codecov Report

Merging #234 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #234   +/-   ##
=======================================
  Coverage   82.32%   82.32%           
=======================================
  Files          33       33           
  Lines        5489     5489           
  Branches     1174     1174           
=======================================
  Hits         4519     4519           
  Misses        836      836           
  Partials      134      134

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3a8880...520560c. Read the comment docs.

@whitequark
Copy link
Contributor

Actually, there's one more change I want to do to it. Since everywhere else in nMigen frequencies are specified in hertz, then max delay should be specified in seconds.

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

Successfully merging this pull request may close these issues.

None yet

2 participants