• 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. Functional Verification
  3. MixedLanguage (Verilog+VHDL) Question

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 65
  • Views 2138
  • 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

MixedLanguage (Verilog+VHDL) Question

ashfaqh
ashfaqh over 15 years ago

 Hello:

 I am using  ncsim   09.20-s016.

 I have a VHDL DUT.  The testbench top level is VHDL.  But, I have a few Verilog modules in the testbench.

From one of the Verilog modules, I want to access (monitor) a signal inside the DUT (VHDL). 

For example,

if (top.level_1.level_2.sigout_1 == 1'b1) 
            $display("Posedge received at time: %d", $time) ;

 I get the following error:

 ncelab: *E,CUVHNF (...): Hierarchical name component lookup failed at 'top'.

 

1.  Is it not possible to monitor a signal  inside a VHDL block from a Verilog module?

 

Thanks.

  • Cancel
Parents
  • Mickey
    Mickey over 15 years ago
    Hello, If the top instance is vhdl the path should begin with a ":". With that in mind try (:top.level_1.level_2.sigout_1 == 1'b1). btw if you want to know the correct path to the object, you can comment out the problem code and go ahead and compile/elab/simulate in gui mode. when in the gui choose the sigout_1 signal from any of the simvision windows. then right mouse button and choose the describe option from the menu. The result will be the correct path to the object that should be used in the code. Hope that helps. Mickey
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Mickey
    Mickey over 15 years ago
    Hello, If the top instance is vhdl the path should begin with a ":". With that in mind try (:top.level_1.level_2.sigout_1 == 1'b1). btw if you want to know the correct path to the object, you can comment out the problem code and go ahead and compile/elab/simulate in gui mode. when in the gui choose the sigout_1 signal from any of the simvision windows. then right mouse button and choose the describe option from the menu. The result will be the correct path to the object that should be used in the code. Hope that helps. Mickey
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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