Skip to content
Snippets Groups Projects
Commit 8ce1cc49 authored by Niels Möller's avatar Niels Möller
Browse files

Add hierarchy -libdir arith/lib when running yosys.

parent 28b445e7
Branches
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ top-ice40.json: top-ice40.vl cpu-all.vl reg-file-ice40.vl mem-mux.vl \ ...@@ -46,7 +46,7 @@ top-ice40.json: top-ice40.vl cpu-all.vl reg-file-ice40.vl mem-mux.vl \
instr-fetch.vl instr-decode.vl ctz.vl popc.vl srt-reciprocal.vl \ instr-fetch.vl instr-decode.vl ctz.vl popc.vl srt-reciprocal.vl \
cpu.vl \ cpu.vl \
ram-unit.vl avr109rx.vl avr109tx.vl tty-ice40.vl random-bram.hex ram-unit.vl avr109rx.vl avr109tx.vl tty-ice40.vl random-bram.hex
yosys -q -p 'synth_ice40 -json top-ice40.json' \ yosys -q -p 'hierarchy -libdir arith/lib ; synth_ice40 -json top-ice40.json' \
-f 'verilog -sv -DICE40 -DRAM_HEX_FILE="random-bram.hex"' \ -f 'verilog -sv -DICE40 -DRAM_HEX_FILE="random-bram.hex"' \
-L top-ice40.stats $< -L top-ice40.stats $<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment