You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debugged this further. Problem is caused by the naming of the verilog file containing regslice modules, which starting in 2019.2, is called regslice_core.v. Verilator assumes modules are found in (System)Verilog files of the same name, which is not the case here.
The solution is to pass both the top Verilog file and regslice_core.v to verilator along with a --top-module argument indicating the name of the top module. However, PyVerilator does not support either passing of --top-module or providing multiple verilog files to Verilator.
Thanks for finding and fixing this @quetric. Changes have been merged into our fork of PyVerilator and I've updated dev to use the latest version in 5ab626e -- hopefully this fixes the issues you have observed with Vivado 2019.2
How to reproduce:
Expected behaviour: test passes
Actual behaviour: test fails with an error in the pyverilator compile stage:
Note that in contrast to 2019.1 and earlier, 2019.2 puts regslice modules in a separate verilog file.
The text was updated successfully, but these errors were encountered: