Coloquinte / moosic-yosys-plugin

Yosys plugin for logic locking and supply-chain security
GNU General Public License v2.0
20 stars 2 forks source link

ERROR: Multiple modules are selected. #17

Closed alain6666 closed 6 months ago

alain6666 commented 6 months ago

hi, i have a project with multi verilog file and multi module, i use the moosic in a yosys script to encryption the project as below: image

But I received the following error message image

How should i do?

Coloquinte commented 6 months ago

Moosic doesn't support hierarchical projects at the moment. What happens here is that multiple modules are selected in Yosys, and locking each of them separately is likely not what the user wants. Two possibilities:

What I do in my TinyTapeout example is to synthetize the locked module separately, then save it as verilog, and start from there with the rest of the design.

Keeping this open until I come by with a better error message