From 215114fce362c908a3ede22cf055a2cbaf2bfff1 Mon Sep 17 00:00:00 2001
From: stefan schippers
You may assign the following attributes to an instance: name=X1 VPWR=VCC VGND=GND subckt=NOR2_1 - and you want to have VCC and GND connections to the symbol in the Verilog netlist but do not want - any of these attributes to be - passed as symbol parameters. In this case you set: verilog_extra="VPWR VGND" and - extra="VPWR VGND subckt" since subckt is probably a spice attribute and you don't - want it in verilog. + and you want to have VCC and GND connections to the symbol in the Verilog netlist but do not want + any of these attributes to be + passed as symbol parameters. In this case you set: verilog_extra="VPWR VGND" and + extra="VPWR VGND subckt" since subckt is probably a spice attribute and you don't + want it in verilog.
+ +
+ This attribute allows to define the pin directions of verilog_extra symbol ports.
+ If unspecified the default is
+ inout. Allowed values are input, output, inout.
+ Example: verilog_extra_dir="VPWR=input VGND=input"
+
If this attribute is defined in symbol it will be used as a prefix to the symbol name and subcircuit