Add timing constraints to osu035 example
authorClifford Wolf <clifford@clifford.at>
Tue, 10 Oct 2017 11:32:04 +0000 (13:32 +0200)
committerClifford Wolf <clifford@clifford.at>
Tue, 10 Oct 2017 11:32:04 +0000 (13:32 +0200)
examples/osu035/Makefile
examples/osu035/example.constr [new file with mode: 0644]
examples/osu035/example.ys

index 8d8e247e3a48a027ecbff72137493a24ae199954..2bb8162b33feccfeeb7566bf2d57e06b05a9b8e4 100644 (file)
@@ -1,5 +1,5 @@
 
-example.edif: example.ys example.v osu035_stdcells.lib
+example.edif: example.ys example.v example.constr osu035_stdcells.lib
        yosys -l example.yslog -q example.ys
 
 osu035_stdcells.lib:
diff --git a/examples/osu035/example.constr b/examples/osu035/example.constr
new file mode 100644 (file)
index 0000000..eb2c6e8
--- /dev/null
@@ -0,0 +1,2 @@
+set_driving_cell INVX1
+set_load 0.015
index 040f776a657004b228e59f1862d075ce7c41dad2..6821ef42664aa900b41a6ff22d4d1800f147fa75 100644 (file)
@@ -4,7 +4,7 @@ read_liberty -lib osu035_stdcells.lib
 synth -top top
 
 dfflibmap -liberty osu035_stdcells.lib
-abc -liberty osu035_stdcells.lib
+abc -D 10000 -constr example.constr -liberty osu035_stdcells.lib
 opt_clean
 
 stat -liberty osu035_stdcells.lib