• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. How to include bidirectional signals in VCD files

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 3569
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to include bidirectional signals in VCD files

DomiHammerfall
DomiHammerfall over 1 year ago

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 @
[...]
  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information