aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/picorv32_arachne.sh
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-14 20:55:39 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-14 20:55:39 +0200
commit323a2aaa5451b57174acd0fc48f3571bc3824807 (patch)
tree47e9ee143299c71d3f037b2e635693e32bdec8fd /ice40/picorv32_arachne.sh
parent0f0d9bfb005ebac1659efae73eb4bae9c8d76cdb (diff)
downloadnextpnr-323a2aaa5451b57174acd0fc48f3571bc3824807.tar.gz
nextpnr-323a2aaa5451b57174acd0fc48f3571bc3824807.tar.bz2
nextpnr-323a2aaa5451b57174acd0fc48f3571bc3824807.zip
ice40: Read cells in arachne placement script
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/picorv32_arachne.sh')
-rwxr-xr-xice40/picorv32_arachne.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/picorv32_arachne.sh b/ice40/picorv32_arachne.sh
index 285562c1..e166487a 100755
--- a/ice40/picorv32_arachne.sh
+++ b/ice40/picorv32_arachne.sh
@@ -4,6 +4,6 @@ rm -f picorv32.v
wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v
yosys -p 'synth_ice40 -nocarry -blif picorv32.blif -top top' picorv32.v picorv32_top.v
arachne-pnr -d 8k --post-place-blif picorv32_place.blif picorv32.blif
-yosys picorv32_place.blif -o picorv32_place.json
+yosys picorv32_place.blif -p "read_verilog -lib +/ice40/cells_sim.v; write_json picorv32_place.json"
./transform_arachne_loc.py picorv32_place.json > picorv32_place_nx.json
../nextpnr-ice40 --hx8k --asc picorv32.asc --json picorv32_place_nx.json