Skip to content

Commit ae74531

Browse files
committed
lib_simulation_simulator example is updated so that uut file is not generated.
1 parent 7fbc435 commit ae74531

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

tests/lib_simulation_/simulator/lib_simulation_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def mkTest():
4848
params=connect_same_name(width),
4949
ports=connect_same_name(clk, rst, led))
5050

51-
lib.simulation.setup_waveform(m, uut)
51+
#lib.simulation.setup_waveform(m, uut)
5252
lib.simulation.setup_clock(m, clk, hperiod=5)
5353
init = lib.simulation.setup_reset(m, rst, period=100)
5454

tests/lib_simulation_/simulator/test_lib_simulation_simulator.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
.LED(LED)
2525
);
2626
27-
initial begin
28-
$dumpfile("uut.vcd");
29-
$dumpvars(0, uut);
30-
end
27+
// initial begin
28+
// $dumpfile("uut.vcd");
29+
// $dumpvars(0, uut);
30+
// end
3131
3232
initial begin
3333
CLK = 0;
@@ -83,7 +83,6 @@
8383
"""
8484

8585
expected_rslt = """\
86-
VCD info: dumpfile uut.vcd opened for output.
8786
LED: x count: x
8887
LED: x count: x
8988
LED: x count: x

0 commit comments

Comments
 (0)