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
Created trivial example of one module inside another module - top_adder.v and adder.v
Open yosys and run the following commands:
read_verilog top_adder.v adder.v
synth_xilinx -arch xc7 -top top_adder -flatten -edif top_adder_xc7.edif
Create post-synthesis project in vivado
Import top_adder_xc7.edif
Try to open synthesized netliost
Expected Behavior
Expect to open netlist view and a working design file.
Actual Behavior
I get an error about an undefined cell:
ERROR: [EDIF 20-83] Cannot find cell 'id00045' view 'VIEW_NETLIST' in library '' for instance 'inst_adder' [/home/teodor/work/hobby/psk-mod-ip/yosys/top_adder_xc7.edif:22393]
Upon reviewing the EDIF file I can indeed see that this particular id00045 (changes for different test designs) is indeed referenced without being defined first.
I can send the source files: top_adder.v, adder.v and the edif file on request, but this issue occurs for all designs with any kind of hierarchy. Single module designs work fine and the edif files open successfully in vivado, however even the simplest two or more module designs fail with the same error described above.
Any support/guidance is very appreciated.
The text was updated successfully, but these errors were encountered:
Version
Yosys 0.49+21 (git sha1 ed5d9c8, g++ 11.4.0-1ubuntu1~22.04 -fPIC -O3)
On which OS did this happen?
Linux
Reproduction Steps
Created trivial example of one module inside another module - top_adder.v and adder.v
Open yosys and run the following commands:
read_verilog top_adder.v adder.v
synth_xilinx -arch xc7 -top top_adder -flatten -edif top_adder_xc7.edif
Create post-synthesis project in vivado
Import top_adder_xc7.edif
Try to open synthesized netliost
Expected Behavior
Expect to open netlist view and a working design file.
Actual Behavior
I get an error about an undefined cell:
ERROR: [EDIF 20-83] Cannot find cell 'id00045' view 'VIEW_NETLIST' in library '' for instance 'inst_adder' [/home/teodor/work/hobby/psk-mod-ip/yosys/top_adder_xc7.edif:22393]
Upon reviewing the EDIF file I can indeed see that this particular id00045 (changes for different test designs) is indeed referenced without being defined first.
I can send the source files: top_adder.v, adder.v and the edif file on request, but this issue occurs for all designs with any kind of hierarchy. Single module designs work fine and the edif files open successfully in vivado, however even the simplest two or more module designs fail with the same error described above.
Any support/guidance is very appreciated.
The text was updated successfully, but these errors were encountered: