-
Notifications
You must be signed in to change notification settings - Fork 375
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
flow succeeds even if clock signal wire is unconnected / doesn't exist #2083
Comments
The linter is disabled in your configuration. I am not sure why yosys didn't catch this though yet. |
@mattvenn Also I believe yosys passed because of this https://github.com/mattvenn/caravel_user_project_mpw9e/blob/a2d1a4b8a3d980b9a5e843b9922fc98e9ef70ba7/verilog/rtl/user_project_wrapper.v#L104C1-L105C22 - Making it accept implicitly declared wires. Probably related to this issue in yosys YosysHQ/yosys#1217 |
I just copied the default config from the user project example. So if the linter is off, then it should be turned on in the example. Thanks for linking the bug in yosys, that's a serious issue IMO. |
@mattvenn Perhaps you could open an issue in the example repo. |
Description
Providing a nonexistent clock (should be wb_clk) in user_project_wrapper:
The flow finishes with no errors and the wb_clk_i pin is unconnected.
Expected Behavior
Flow should fail if a net is nonexistent.
Flow should fail STA if user clock is missing
Environment report
Reproduction material
to rebuild you need this repo cloned in verilog/rtl/ https://github.com/mattvenn/wishbone_buttons_leds
caravel_user_project : https://github.com/mattvenn/caravel_user_project_mpw9e/tree/interview_working
Relevant log output
The text was updated successfully, but these errors were encountered: