• 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. Allegro X Scripting - Skill
  3. Import Logic/Netlist using SKILL

Stats

  • State Suggested Answer
  • Replies 5
  • Answers 1
  • Subscribers 18
  • Views 2275
  • Members are here 0
More Content

Import Logic/Netlist using SKILL

Hussain Aalim
Hussain Aalim 11 months ago

Hi,

Can anyone help me with scripting the automation of the Import -> Logic/Netlist process?

Thanks in advance!

  • Cancel
  • Sign in to reply
  • Elecguy
    0 Elecguy 11 months ago

    Do you require SKILL in the solution? what if you use a regular script (File > script)?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hussain Aalim
    0 Hussain Aalim 11 months ago in reply to Elecguy

    Elecguy Yes, I want to automate the importing of the netlist/logic using SKILL. A regular script wouldn't be sufficient, as I need to integrate the importing of netlist/logic directly into my existing code, which requires a more robust solution.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hoangkhoipcb
    0 Hoangkhoipcb 3 months ago

    Hi Hussain Aalim,

    You can refer this code,

    Out_File = outfile("./netlist_n.txt" "w")
    fprintf(Out_File "$PACKAGES\n")
    refdes = enter_sym_name
    if(axlDBFindByName('refdes refdes) == nil then
    fprintf(Out_File "%s ! %s ; %s\n" refdes refdes refdes)
    )
    fprintf(Out_File "$NETS\n")
    foreach(row netin_list
    fprintf(Out_File "%s\n" row)
    )
    fprintf(Out_File "$NETS\n")
    fprintf(Out_File "$END\n")
    close(Out_File)
    axlRunBatchDBProgram("netin" "netin -$ -g -y 1 netlist_n %s" ?startMsg "Logic Import" ?noProgress t ?logfile "netin" ?reloadDB t)

    Regards,
    HoangKhoi.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • PP202506235415
    0 PP202506235415 2 months ago

    I am facing this problem too.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hoangkhoipcb
    0 Hoangkhoipcb 2 months ago in reply to PP202506235415

    Hi PP,

    Could you please let me know what issues you're experiencing?

    Best regards,
    Hoang Khoi

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

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