Closed nelsobe closed 2 years ago
Thanks for reporting this, https://github.com/chipsalliance/yosys-f4pga-plugins/pull/301 should make the frontend error out in this case. I will let you know when the fix will be available through conda.
Using the following timestamp and hash, the issue still exists. Timestamp: 20220606-234655 Hash: 1667c14
I've included a file that contains a list of the content/versions of the conda environment that we have. conda_list.txt
This should be already fixed, please update the plugin to the newest version as described here to verify.
@nelsobe I have retested this bug with the latest install and can verify that it is fixed. This issue can be closed.
The macro `default_nettype none is commonly used to cause compilers to throw an error when an undeclared net name is encountered since the tools cannot infer a new net of a given type with this macro in place. It catches many typo errors as a result.
Here is a sample design that should result in an error :
Both Vivado and the Yosys front end handle it correctly (they throw an error). The Surelog/UHDM front end happily generates a bitfile without error (but which doesn't work).
Here is the Yosys front end error, which is what one would expect: