create_wirelut (::quartus::eco)

The following table displays information for the create_wirelut Tcl command:

Tcl Package and Version

Belongs to ::quartus::eco 1.0

Syntax create_wirelut [-h | -help] [-long_help] [-from <source_output_net_name> ] [-from_node <from_node> ] [-from_port <from_port> ] [-location <location> ] -name <node_name> [-port <dest_node_port> ] [-to <dest_node_name> ] [-to_node <to_node> ] [-to_port <to_port> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-from <source_output_net_name> Source of the connection
-from_node <from_node> ID of the source node
-from_port <from_port> ID of the source port
-location <location> PLACE_REGION assignment type location
-name <node_name> Name of the new node
-port <dest_node_port> Input port name of the destination node
-to <dest_node_name> Name of the destination node
-to_node <to_node> ID of the destination node
-to_port <to_port> ID of the destination port
The create_wirelut command will create and insert a wire LUT node in the specified connection. 
The ECO Fitter will place the newly created LUT and route the modified connections automatically,
if -location argument is specified.
Otherwise, the new wire LUT should be placed with place_node command.

The name for the new node is hierarchy based, and the ECO Fitter will try to infer the name hierarchy. 
For example, if a node a|b|c|d needs to be created, users should make sure that hierarchy a|b|c 
exists in the netlist. If the source or destination node lies under a partition, the new wire LUT will
be inserted under that partition. 
Example Usage
create_wirelut -name my_wirelut -from src_output -to dest_node -port D -location "X136 Y63 X149 Y82"

create_wirelut -name my_wirelut -from src_output -to dest_node -port D
place_node -name my_wirelut

set to_node_id [get_netlist_node_id -name my_node]
set iports [get_netlist_ports -node $to_node_id -type iport]
set iport 0
foreach_in_collection i $iports {
    set iport $i
create_wirelut -name my_wirelut -from ~GND -to_node $to_node_id -to_port $iport
place_node -name my_wirelut
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful