aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cmos/testbench_digital.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cmos/testbench_digital.sh')
-rw-r--r--examples/cmos/testbench_digital.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/cmos/testbench_digital.sh b/examples/cmos/testbench_digital.sh
index 5836c97a6..afaaf4d43 100644
--- a/examples/cmos/testbench_digital.sh
+++ b/examples/cmos/testbench_digital.sh
@@ -1,15 +1,15 @@
#!/bin/bash
+set -ex
+
# iverlog simulation
echo "Doing Verilog simulation with iverilog"
-iverilog -o dsn counter.v counter_tb.v
-./dsn -lxt2
-gtkwave counter_tb.vcd &
+iverilog -o counter_tb counter.v counter_tb.v
+./counter_tb; gtkwave counter_tb.gtkw &
# yosys synthesis
-set -ex
-
../../yosys counter_digital.ys
# requires ngspice with xspice support enabled:
ngspice testbench_digital.sp
+