aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorFriedrich Beckmann <friedrich.beckmann@tha.de>2024-05-10 12:28:38 +0200
committerFriedrich Beckmann <friedrich.beckmann@tha.de>2024-05-10 12:28:38 +0200
commitbc7d43b160864d53e7e4bbea81b29d5e8903baf4 (patch)
treefbe7a598af34ddbc585976dfe39af253b1dfd864 /sim
parentee8d484d8531e425a06f23519fc09bbf2e1acf4e (diff)
add top_count
Diffstat (limited to 'sim')
-rw-r--r--sim/top_count/makefile9
-rw-r--r--sim/top_count/makefile.sources8
-rw-r--r--sim/top_count/view_signals.gtkw38
3 files changed, 55 insertions, 0 deletions
diff --git a/sim/top_count/makefile b/sim/top_count/makefile
new file mode 100644
index 0000000..d2eda6a
--- /dev/null
+++ b/sim/top_count/makefile
@@ -0,0 +1,9 @@
+PROJECT = top_count
+
+# This include must define SYN_SOURCE_FILES
+include ./makefile.sources
+
+SOURCE_FILES = $(SYN_SOURCE_FILES) \
+../../src/t_$(PROJECT).vhd
+
+include ../makefile
diff --git a/sim/top_count/makefile.sources b/sim/top_count/makefile.sources
new file mode 100644
index 0000000..fd93aea
--- /dev/null
+++ b/sim/top_count/makefile.sources
@@ -0,0 +1,8 @@
+# All files which synthesized
+
+SYN_SOURCE_FILES = \
+../../src/cntm13.vhd \
+../../src/cnt1sec.vhd \
+../../src/bin2seg.vhd \
+../../src/ringcnt.vhd \
+../../src/top_count.vhd
diff --git a/sim/top_count/view_signals.gtkw b/sim/top_count/view_signals.gtkw
new file mode 100644
index 0000000..3fa122f
--- /dev/null
+++ b/sim/top_count/view_signals.gtkw
@@ -0,0 +1,38 @@
+[*]
+[*] GTKWave Analyzer v3.3.118 (w)1999-2023 BSI
+[*] Fri May 10 10:14:46 2024
+[*]
+[dumpfile] "/home/caeuser/projects/dtlab/sim/top_count/t_top_count.ghw"
+[dumpfile_mtime] "Fri May 10 10:12:17 2024"
+[dumpfile_size] 1487
+[savefile] "/home/caeuser/projects/dtlab/sim/top_count/view_signals.gtkw"
+[timestart] 0
+[size] 1101 671
+[pos] -1 -1
+*-26.740849 48700000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
+[treeopen] top.
+[treeopen] top.t_top_count.
+[treeopen] top.t_top_count.dut.
+[treeopen] top.t_top_count.dut.bin2seg_inst.
+[sst_width] 276
+[signals_width] 262
+[sst_expanded] 1
+[sst_vpaned_height] 216
+@28
+top.t_top_count.dut.clk
+top.t_top_count.dut.rst_n
+@800023
+#{top.t_top_count.sim_exp[7:0]} top.t_top_count.sim_exp[7] top.t_top_count.sim_exp[6] top.t_top_count.sim_exp[5] top.t_top_count.sim_exp[4] top.t_top_count.sim_exp[3] top.t_top_count.sim_exp[2] top.t_top_count.sim_exp[1] top.t_top_count.sim_exp[0]
+@29
+top.t_top_count.sim_exp[7]
+top.t_top_count.sim_exp[6]
+top.t_top_count.sim_exp[5]
+top.t_top_count.sim_exp[4]
+top.t_top_count.sim_exp[3]
+top.t_top_count.sim_exp[2]
+top.t_top_count.sim_exp[1]
+top.t_top_count.sim_exp[0]
+@1001201
+-group_end
+[pattern_trace] 1
+[pattern_trace] 0