The portmap statement tells the AMS Designer simulator how a SPICE subcircuit interface should appear to the elaborator.
portmap subckt= name [ parameter = value ]
portmap module= name [ parameter = value ]
portmap entity= name [ parameter = value ]
portmap statement must always be placed before the config statement in an amsd block.Valid parameter=value assignments for the portmap statement are as follows:
subckt
|
Name of the SPICE subcircuit or Verilog-A module to which to apply these Valid Values: Any valid subcircuit name or a Verilog-A module. Here is an example on specifying a Verilog-A module using the
amsd{
Note: The asterisk wildcard (*) is supported at the end of the string while specifying the subcircuit name. |
|
|
Name of the Verilog module to which to apply these Valid Values: Any valid module name. |
|
|
Name of the VHDL entity to which to apply these Valid Values: Any valid entity name. |
|
|
Indicates whether to bind Verilog buses to SPICE ports. Valid Values: |
|
|
|
Bind Verilog buses to SPICE ports. |
|
|
|
Do not bind Verilog buses to SPICE ports. |
|
|
Default: |
||
|
List of entities not to map because they are not buses. No default. | |
|
Specifies the |
|
|
List of bus delimiters.Valid Values: |
|
|
Specifies casing for name mapping.Valid Values: |
|
|
|
Map all names to uppercase. |
|
|
|
Map all names to lowercase. |
|
|
|
Maintain name casing as it is. |
|
|
Default: |
||
|
Specifies casing for port names. Valid Values: |
|
|
|
Map all port names to uppercase. |
|
|
|
Map all port names to lowercase. |
|
|
|
Maintain port casing as it is. |
|
|
Default: |
||
|
Name of the port-bind file containing customized port bindings. |
|
|
Name of the library of precompiled cell containing custom port bindings. If the The use of Note: The In the example given below, the software will search for the precompiled cell
|
|
|
Name of the HDL reference file containing custom port bindings. If the reference file is not in the current working directory, include the path to its name, such as
The
Note: The path specified using the UNIX environment variable must be enclosed within double quotation marks.
The software uses this parameter as the HDL reference when automatically generating a port-bind file containing port bindings at SPICE-to-HDL boundaries. The reference file must satisfy the following requirements:
Note: You do not need to specify the |
|
|
Specifies how to match ports. You must also specify a reference file. Note: The software uses this parameter when automatically generating a port-bind file. The port-bind file specifies custom bindings for the interface between SPICE and Verilog. Valid values: |
|
|
|
Match ports by name. |
|
|
|
Match ports by order. |
|
|
Default: |
||
|
Specifies the format of the |
|
|
|
Verilog format See also "Binding Ports using a Verilog File". |
|
|
|
VHDL format |
|
|
Default: |
||
|
Name of the cell for which you want to use the stub version; you must also specify a |
|
|
Specifies which definition to use when matching the interface. The Valid values: |
|
|
|
Use the Verilog interface |
|
|
|
Use the SPICE interface |
|
|
Default: |
||
|
Specifies a net as an input port. No default. |
|
|
Specifies a net as an output port. No default. |
|
|
Specifies a net as an input and output port. No default. |
|
|
|
Ignores the specified ports. For example:
|
|
