[Xcircuit-dev] Regarding new netlisting feature in 3.6.82

R. Timothy Edwards tim.edwards at multigig.com
Fri Mar 9 16:40:02 PST 2007


Dear Svenn,

> I see from the Code history that you have changed the netlister a bit.
> I did not find any extra info on that in the Xcircuit reference
> manual. Can we now create native spectre netlists by adding a spectre
> info label? If so, how can I add spectre as a netlist alternative to
> the menu?

Yes, I don't know why I didn't make this change a long time ago, because
it was trivial to do.  I needed to write a "bdnet" format netlist for
some standard-cell logic synthesis.

Without using the menu, you can write the "spectre:" info labels and from
the console run the command "netlist write spectre spc" (arguments to
"netlist write" are 1. the tag of the info label, and 2. the filename
extension).  If you want a flat netlist, use "netlist write flatspectre
spc".  Note that in this non-specific case, all formatting has to be done
through info labels, so each subcircuit needs an info label ".subckt" and
".ends" lines, and the top-level circuit will need the mandatory comment
line 1 as an info label (I don't know how closely spectre follows the
traditional SPICE format).

To get that into the netlist menu as a button, use:

   .xcircuit.menubar.netlistbutton.netlistmenu add command -label \
   "Write spectre" -command {xcircuit::netlist write spectre spc}

Note that new windows (.xcircuit1, .xcircuit2, etc.) will not inherit
the new menu item.  I will have to do a little rewriting of the Tcl/Tk
wrapper script to get that to happen.

I hope that information helps!

					Regards,
					Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim.edwards at multigig.com     |
| MultiGiG, Inc.                 | web:   http://www.multigig.com      |
| 100 Enterprise Way, Suite A-3  | phone: (831) 621-3283               |
| Scotts Valley, CA 95066        | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+



More information about the Xcircuit-dev mailing list