File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -100,3 +100,18 @@ yosys> write_edif counter.edif
100100
101101```
102102As a result we get a ` counter.edif ` file that can be further processed to get the bitstream.
103+
104+ ### Parsing multiple files
105+ When parsing multiple files you can either pass them together to the ` read_systemverilog ` command
106+ or read them one by one using ` -defer ` flag. In the latter case, you will need to call
107+ ` readsystemverilog -link ` after processing all files to elaborate them. An example flow would
108+ look like below:
109+ ```
110+ plugin -i systemverilog
111+ # Read each file separately
112+ read_systemverilog -defer dut.sv
113+ read_systemverilog -defer top.sv
114+ # Finish reading files, elaborate the design
115+ read_systemverilog -link
116+ # Continue Yosys flow...
117+ ```
You can’t perform that action at this time.
0 commit comments