Remove the given list of top ports from the netlist.
Syntax
remove_port [‑quiet] [‑verbose] <ports>...
Usage
| Name | Description |
|---|---|
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
<ports>
|
Ports and/or bus ports to remove |
Categories
Description
Removes the specified ports or buses.
To remove a bus port, you must specify the primary port name, and not specify a bus index. This ensures that the entire bus port is removed, and not just a portion of the bits associated with the bus. You can resize a bus port, eliminating bits, using the resize_port_bus command.
The remove_port command will remove ports that have been added with the create_port command, but cannot delete ports that are defined in the RTL or netlist design.
write_checkpoint command, or may be exported to a netlist file such as Verilog, VHDL, or EDIF, using the appropriate write_* command.
Arguments
-quiet - (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose - (Optional) Temporarily override any message limits and return all messages from this command.
set_msg_config command.<ports> - One or more names of ports to remove.
Examples
The following example deletes the specified port:
remove_port PORT0
The following example deletes the two specified ports of a bus:
remove_port BUS[1] BUS[2]
The following example deletes both the N and P sides of a differential pair port:
remove_port D_BUS_P[0]