• 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. PCB Design
  3. Running a basis script in Allegro Design Entry HDL causes...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 165
  • Views 14152
  • Members are here 0
More Content
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

Running a basis script in Allegro Design Entry HDL causes schematics error

Paolo90
Paolo90 over 7 years ago

Hello Cadence Community!

I am extensively using automation-generated scripting (*.scr) to automate schematic generation and updating in Allegro Design Entry HDL.

Everything is working well for me, except a quite weird situation:

  • If I run a piece of script by copying and pasting inside Allegro Design Entry HDL's integrated Command Console, everything is drawn correctly 
  • If I run exactly the same piece of script through the Tools --> Run Script..., instead, the schematic produces an error.

The error I am referring to is the following:

BEFORE RUNNING THE SCRIPT I HAVE THE FOLLOWING:

I USE SCRIPTING TO CONVERT IT INTO THE FOLLOWING:

The lines inside the script are the following:

delete (-5150 4050)
delete (-4850 4050)
wire (-5540 4050) (-4600 4050)
signame (-5520 4050) NEW_SIGNAME__1
paint pink (-5520 4055)
add <ports_lib>ioport (-5590 4050)
mirror (-5590 4050)
delete (-5150 4100)
delete (-4850 4100)
wire (-5540 4100) (-4600 4100)
signame (-5520 4100) NEW_SIGNAME__2
paint pink (-5520 4105)
add <ports_lib>ioport (-5590 4100)
mirror (-5590 4100)

The script does not work well through Tools --> Run Script for the following reason: although cosmetically speaking the result is correct, the errors lies in the fact that one wire gets both netnames associated to it, the other wire gets nothing. To display the issue, here is what happens if I try to move one of the two wires around in the schematic page:

Also, this error happens only to signals/wires/ports (that are connected to components, a reuse block in this case) that are closely spaced between each other (50px on the page grid). No overlapping whatsoever, however, happens among wires/netnames/ports.

Any solution to this is greatly appreciated - thank you in advance for your kind contribution!

Paolo

  • 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