• 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 SKILL
  3. use of skill function "vhdlimport"

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 144
  • Views 5659
  • 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

use of skill function "vhdlimport"

cpul111
cpul111 over 14 years ago

Hi,

I am a beginner in SKILL, but anyway i like to write a simple script using the vhdlImport Skill function. Unfortunately i am failing with it. Could you provide a simple example ?

Kind Regards , Bernhard

 

  • Cancel
Parents
  • Amar Kumar
    Amar Kumar over 5 years ago

    Hi Bernhard,

    Did you find anything helpful information on this command ?

    I was searching for some automated way/command to import verilog file to symbol view. I thought this command might help.

    Please keep updating in case you find anything useful on this.

    Thanks & Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Amar Kumar

    If you're asking about importing Verilog, I'm not sure why you would expect vhdlImport would help (the clue is in the prefix, it's for VHDL not Verilog)? I suspect you want to use schInstallHDL instead (see the documentation for this function).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Yes, you are correct. I was looking for this command that import and compiles the verilog view. 

    Thanks a lot.

    Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Amar Kumar
    Amar Kumar over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Yes, you are correct. I was looking for this command that import and compiles the verilog view. 

    Thanks a lot.

    Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Amar Kumar

    There's also the batch command cdsTextTo5x (from the command line) which does this:

    cdsTextTo5x -lib AMSexample -cell mysimpinv -view functional -shadow mysimpinv.v

    The -shadow is needed if you want it compiled (so that it has the netlist.oa file generated; that happens with schInstallHDL too).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you for the information.

    I have around 1K verilog modules that i want to export to my library and the batch mode will help for sure.

    However, the command can take 1 verilog file at a time, thus it generates for 1 cell at a time. Can you please provide some option how to run it in batch mode.

    Also, i tried it for 1 cell, it ended up with below error.

    /hwnet/cadence/ic618/ic618_05/tools.lnx86/dfII/bin/runNcTools: line 21: xrun: command not found
    ERROR (SHDB-11): Failed to parse the verilog module for design unit (myLib myCell functional). Either there are compilation
    errors or cellview is not writable or verilog module does not exist in the file.

    Looks like, i have some problem with compiler file(runNcTools), but not able to figure it out.

    Can you please help in this.

    Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Amar Kumar

    Amar,

    The first problem is that you need an XCELIUM release in your path to provide the Verilog compiler. As you can see, it is saying "xrun: command not found".

    You can then run:

    cdsTextTo5x -lib AMSexample -view functional file1.v file2.v 

    or use a wildcard (*.v for example). If  you don't specify the cellName on the command line, it will use the module names in the files passed on the command line.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    I have added the XCELIUM path and its working great. Also, i am able to run it in batch mode.

    Thanks a lot for your help.

    Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 5 years ago in reply to Amar Kumar

    Hi Andrew,

    Could you please suggest if there is any skill command to import system verilog ? When I use "schInstallHDL" to import a systemverilog file, it gives extraction error.

    I can go for "cdsTextTo5x", but it gives me error to because of some new command in systemverilog that doesn't support with "cdsTextTo5x".

    Could you please suggest ?

    Thanks & Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Amar Kumar

    I don't believe there's a SKILL function to do the import, but cdsTextTo5x should work. Did you use the -LANG systemverilog argument when you used cdsTextTo5x? If so, what was the error?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for your reply.

    Yes, I used -LANG as systemverilog. Below is the error it shows.

    I am using below.

    cdsTextTo5x -CDSLIB ./cds.lib -LANG systemverilog -LIB myLib -CELL myCell -VIEW functional -SYMBOL symbol verilog.sv

    =>

    ERROR (SHDB-11): Failed to parse the verilog module for design unit (myLib  myCell functional). Either there are compilation
    errors or cellview is not writable or verilog module does not exist in the file.

    ERROR (TI-7001): Cannot load the connectivity information for cellview 'myLib/myCell/functional' in text file 'verilog.sv'.

    I feel like, its a compiler error. But it doesn't print the exact error line.

    Is there any other way to import the systemverilog I can try?

    Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Amar Kumar

    Hi Amar,

    I suggest you add -LOG problem.log to the command line and then that log file should contain details of what the issue is. It's likely that any other way of importing the file (such as creating the view in Virtuoso and pasting the text in) would lead to the same problem.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    The log file prints the details of the error.

    Looks like the verilog is using some package that is not found, though I have defined the packages.

    I will check on this. 

    Thank you, it helped to move forward.

    Regards,

    Amar

    • Cancel
    • Vote Up 0 Vote Down
    • 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