DxDesigner can add net stubs with a label, either during part placement (DxDataBook or Place Symbol / Place Device, check the "Add Nets" and "Add Net Names" checkboxes), or after the part is placed (use the "stub" command to add nets to the selected components).
I guess I should have said that I am using Design Architect in Unix w/ Falcon Framework v8.12_1.1
I've right clicked on the net and chose "NAME NET" and am looking to use this window with "TYPE= expression"
and a scripting language, if possible. I've included a screen shot.
Is this possible?
Sorry, should have figured that out from the tags...
I'm not too familiar with Ample, but you might get some hints from the transcript window when you run the command interactively.
Ample has capability to get attached objects and also it is possible to add/change net names. In case of locating pin object from net object, $get_pin_handles(“handle”, pin_names) function can be used.
Please try attached sample script; it reads 'PIN' property from pins of selected nets and then supply to net name.
supply_net_name.zip 1.3 KB
As I have not actually used Ample before, where do I place this code?
How do I call it?
I see the place for an expression on my NAME NETS function (from my screenshot), but I doubt that I should be pasting the code into there...:)
You can use popup command line to execute ample script as below:
1. Activate schematic window in Design Architect
2. Select nets that are desired to be named by pin names.
3. Press F11 key (If you are on a Sun, use Props key)
4. Enter below into text entry box
dofile /cygdrive/c/.../... /supply_net_name.ample
Please refer to below screenshots for better understanding (performed on MWE)
You can also create custom menus or custom commands for the function. Please refer to Ample User's Manual(ample_user.pdf) & Common User Interface Reference Manual(cui_ref.pdf) provided with your software installation (located in %MGC_HOME%\docs\pdfdocs)
I was very excited to find this topic unfortunately I am not using quite the same setup so I was wondering if anyone knows of existing scripts for PADS Logic 9.2 that do this?
I've been digging through the macro/scripting docs but before I dive into creating something on my own I thought that I would poll the community for something that's known to work.
1. select one or more nets on a sheet
2. macro creates a list of the currently selected nets
3. for each net selected identify the first connected pin
4. assign net.name = pin.name
5. save hours of manually labelling FPGA designs!
I am not sure right now the best way to determine which nets are selected w/o having to index through every net on the page which is just overkill.
I did a little write-up on this subject. It's here.
So basically, you put your ample scripts somewhere, then when starting a tool, create the custom menus and associate the scripts with the menu items, then load the userware into the current session.
By the way, the expression you are talking about is not the right place to put the property value. Each property has a name and a value. The type of the value in the case you are seeing is 'expression'. What you really want to work with is the name of the property and its value.
Hope this helps,
I'm looking for the same thing in PADS logic 9.2. Did you figure out how to do it? I'm trying to check my pin connections for thousands of pins on between-board connectors. The pin names are right, but the net names aren't helpful at all. Thanks
For some reason they don't allow automation to rename net names currently. Hopefully this will get changed (promote my idea on bright ideas!) but not holding my breath. The other option would be to export as ascii, process the file, then import again. This is much less attractive but perhaps I'll look into it if I get enough spare time.