• 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. Hardware/Software Co-Development, Verification…
  3. Is it possible for VHDL to use a verilog/systemverilog package...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 49
  • Views 4660
  • 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

Is it possible for VHDL to use a verilog/systemverilog package ?

Xinwei
Xinwei over 12 years ago

 Hi all,

 I want to know if I compile one systemverilog package in a library, then in vhdl side, can it access the element in this package ? 

For example .

//file pkg.sv

package pkg;

const int a =10;

endpackage

 

// //file  tb.vhd

library pkg_lib;

use pkg_lib.pkg.all;

......

 

I compile it by

'irun -makelib pkg_lib pkg.sv -endlib'  

'irun -reflib INCA_libs/pkg_lib tb.vhd '

 

I got the error complaining the package pkg cannot be found in the library.  I want to know whether it is impossible to access a systemverilog package from the VHDL code , or I missed something ?  Thanks a lot !

Best regards, 

Xinwei 

  • Cancel
Parents
  • StephenH
    StephenH over 12 years ago

    Hi Jason.

    This isn't currently possible, but I'm collecting requirements from users and am working on a solution. Please can you let me know the details of what you need to access from the VHDL package? Feel free to PM me or email to stephenh@cadence.com if you'd prefer not to discuss the details in public. 

    Thanks! 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • StephenH
    StephenH over 12 years ago

    Hi Jason.

    This isn't currently possible, but I'm collecting requirements from users and am working on a solution. Please can you let me know the details of what you need to access from the VHDL package? Feel free to PM me or email to stephenh@cadence.com if you'd prefer not to discuss the details in public. 

    Thanks! 

    • 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