Dear community
I use VCD files in my ADE Explorer test bench to drive some of the digital signals. One signal is a bidirectional data bus, which I will simply call databus<5:0>
. The test bench consists of two phases. In the first phase, databus<5:0>
is used as input to load some bits into the circuit's internal register. In the second phase, the circuit uses databus<5:0>
as output.
Phase 1 works well in my test bench, but in phase 2, I cannot see any change on databus<5:0>
. I suppose the problem is that the VCD file continuously drives databus<5:0>
in its last state.
Is it possible to "release" a signal after some time? How can I include bidirectional signals?
Below is a (simplified) snipplet of my .info and .vcd file:
info file
.scope my_test_bench
.hier 0
.in databus[5:0]
.vih 1.2
.vil 0.0
.voh 1.0
.vol 0.2
.trise 0.1
.tfall 0.1
.alias *[*] *<*>
vcd file
$date
Apr 11, 2024 15:44:50
$end
$version
TOOL: xmsim(64) 20.09-s010
$end
$timescale
1 ns
$end
$scope module my_test_bench $end
$var wire 6 @ databus [5:0] $end
$upscope $end
$enddefinitions $end
$dumpvars
b111111 @
#100
b011111 @
[...]