mirror of https://github.com/YosysHQ/picorv32.git
changed hx8kdemo from arachne-pnr to nextpnr-ice40
This commit is contained in:
parent
f9b1beb4cf
commit
8588576692
|
@ -10,8 +10,8 @@ hx8ksim: hx8kdemo_tb.vvp hx8kdemo_fw.hex
|
||||||
hx8ksynsim: hx8kdemo_syn_tb.vvp hx8kdemo_fw.hex
|
hx8ksynsim: hx8kdemo_syn_tb.vvp hx8kdemo_fw.hex
|
||||||
vvp -N $< +firmware=hx8kdemo_fw.hex
|
vvp -N $< +firmware=hx8kdemo_fw.hex
|
||||||
|
|
||||||
hx8kdemo.blif: hx8kdemo.v spimemio.v simpleuart.v picosoc.v ../picorv32.v
|
hx8kdemo.json: hx8kdemo.v spimemio.v simpleuart.v picosoc.v ../picorv32.v
|
||||||
yosys -ql hx8kdemo.log -p 'synth_ice40 -top hx8kdemo -blif hx8kdemo.blif' $^
|
yosys -ql hx8kdemo.log -p 'synth_ice40 -top hx8kdemo -json hx8kdemo.json' $^
|
||||||
|
|
||||||
hx8kdemo_tb.vvp: hx8kdemo_tb.v hx8kdemo.v spimemio.v simpleuart.v picosoc.v ../picorv32.v spiflash.v
|
hx8kdemo_tb.vvp: hx8kdemo_tb.v hx8kdemo.v spimemio.v simpleuart.v picosoc.v ../picorv32.v spiflash.v
|
||||||
iverilog -s testbench -o $@ $^ `yosys-config --datdir/ice40/cells_sim.v`
|
iverilog -s testbench -o $@ $^ `yosys-config --datdir/ice40/cells_sim.v`
|
||||||
|
@ -22,8 +22,8 @@ hx8kdemo_syn_tb.vvp: hx8kdemo_tb.v hx8kdemo_syn.v spiflash.v
|
||||||
hx8kdemo_syn.v: hx8kdemo.blif
|
hx8kdemo_syn.v: hx8kdemo.blif
|
||||||
yosys -p 'read_blif -wideports hx8kdemo.blif; write_verilog hx8kdemo_syn.v'
|
yosys -p 'read_blif -wideports hx8kdemo.blif; write_verilog hx8kdemo_syn.v'
|
||||||
|
|
||||||
hx8kdemo.asc: hx8kdemo.pcf hx8kdemo.blif
|
hx8kdemo.asc: hx8kdemo.pcf hx8kdemo.json
|
||||||
arachne-pnr -d 8k -o hx8kdemo.asc -p hx8kdemo.pcf hx8kdemo.blif
|
nextpnr-ice40 --hx8k --package ct256 --asc hx8kdemo.asc --json hx8kdemo.json --pcf hx8kdemo.pcf
|
||||||
|
|
||||||
hx8kdemo.bin: hx8kdemo.asc
|
hx8kdemo.bin: hx8kdemo.asc
|
||||||
icetime -d hx8k -c 12 -mtr hx8kdemo.rpt hx8kdemo.asc
|
icetime -d hx8k -c 12 -mtr hx8kdemo.rpt hx8kdemo.asc
|
||||||
|
|
Loading…
Reference in New Issue