aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-04-17 15:10:39 -0700
committerEddie Hung <eddie@fpgeh.com>2019-04-17 15:10:39 -0700
commit5c0853fc518bbbad77b819a5c916e438d0e33cb0 (patch)
tree50c3d67af7cf70ead736fe66252d321abe76d662
parent4b520ae627f696499eb91b1b4e762ef0b1dfdd2d (diff)
downloadyosys-5c0853fc518bbbad77b819a5c916e438d0e33cb0.tar.gz
yosys-5c0853fc518bbbad77b819a5c916e438d0e33cb0.tar.bz2
yosys-5c0853fc518bbbad77b819a5c916e438d0e33cb0.zip
Add up5k timings
-rw-r--r--techlibs/ice40/up5k.box13
-rw-r--r--techlibs/ice40/up5k.lut6
2 files changed, 19 insertions, 0 deletions
diff --git a/techlibs/ice40/up5k.box b/techlibs/ice40/up5k.box
new file mode 100644
index 000000000..94df1df8f
--- /dev/null
+++ b/techlibs/ice40/up5k.box
@@ -0,0 +1,13 @@
+# From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_up5k.txt
+
+# NB: Inputs/Outputs must be ordered alphabetically
+
+# Inputs: CI I0 I1
+# Outputs: CO
+SB_CARRY 1 1 3 1
+278 675 609
+
+# Inputs: I0 I1 I2 I3
+# Outputs: O
+SB_LUT4 2 1 4 1
+1285 1231 1205 874
diff --git a/techlibs/ice40/up5k.lut b/techlibs/ice40/up5k.lut
new file mode 100644
index 000000000..1e4fcadb6
--- /dev/null
+++ b/techlibs/ice40/up5k.lut
@@ -0,0 +1,6 @@
+# From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_up5k.txt
+# I3 I2 I1 I0
+1 1 874
+2 1 874 1205
+3 1 874 1205 1231
+4 1 874 1205 1231 1285