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

Fix writing clock wires #733

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lpawelcz
Copy link

This PR requires merging #658 first. After that, this PR will be rebased and turned to regular PR from draft.

This PR fixes FASM to Verilog conversion for designs that use clock inputs. Formerly fasm2bels script was skipping declaration of wire for the clock input that is used in clkpad module. This was causing problems when final verilog was simulated with testbench that contained line:

`default_nettype none

Now we add the declaration of clock wire as 'dummy wire' when the clkpad module is created.

This PR also enable for installed toolchain simulation tests of counter_gclk design that uses clock input.
Last change is to add simulation testbenches to ASSERT EXISTS tests.

@lpawelcz lpawelcz marked this pull request as ready for review December 21, 2021 11:02
@lpawelcz
Copy link
Author

@tpagarani, @coolbreeze413 please have a look and review this one

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.

1 participant