aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-14 11:46:32 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-14 11:46:32 +0100
commit3352ff4abbcac563e08d78ed8aa77728d00284a8 (patch)
treeb8746b46f4d5f0e28ed86d0963647f6664a93d90 /ice40
parentf333a68753655a4ccf7da9a4da96e7fdd19f9d08 (diff)
downloadnextpnr-3352ff4abbcac563e08d78ed8aa77728d00284a8.tar.gz
nextpnr-3352ff4abbcac563e08d78ed8aa77728d00284a8.tar.bz2
nextpnr-3352ff4abbcac563e08d78ed8aa77728d00284a8.zip
Move read methods to ReadMethods, remove some legacy access to Arch
Diffstat (limited to 'ice40')
-rw-r--r--ice40/arch.h1
-rwxr-xr-xice40/picorv32.sh8
2 files changed, 5 insertions, 4 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index cdee92e4..ec1e456f 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -578,6 +578,7 @@ class Arch : public BaseCtx
// -------------------------------------------------
+ // TODO(q3k) move this to archproxies?
DecalXY getFrameDecal() const;
DecalXY getBelDecal(BelId bel) const;
DecalXY getWireDecal(WireId wire) const;
diff --git a/ice40/picorv32.sh b/ice40/picorv32.sh
index 2c67f641..0518db83 100755
--- a/ice40/picorv32.sh
+++ b/ice40/picorv32.sh
@@ -1,6 +1,6 @@
#!/bin/bash
set -ex
-rm -f picorv32.v
-wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v
-yosys -p 'synth_ice40 -nocarry -json picorv32.json -top top' picorv32.v picorv32_top.v
-../nextpnr-ice40 --hx8k --asc picorv32.asc --json picorv32.json
+#rm -f picorv32.v
+#wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v
+#yosys -p 'synth_ice40 -nocarry -json picorv32.json -top top' picorv32.v picorv32_top.v
+CPUPROFILE=../profile ../nextpnr-ice40 --hx8k --asc picorv32.asc --json picorv32.json