add_new_cell (::quartus::chip_planner)
The following table displays information for the add_new_cell Tcl command:
Tcl Package and Version |
Belongs to ::quartus::chip_planner 2.0 |
|||
Syntax | add_new_cell [-h | -help] [-long_help] [-arith] -cell_name <cell name> [-comb] [-crc] [-ddio_in] [-ddio_oe] [-ddio_out] [-extended] [-ff] [-hsadder] [-ibuf] [-location <location> ] [-obuf] [-partition_name <partition_name> ] | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-arith | Option to create a new LUT lcell_comb atom in arithmetic mode. For Stratix II, HardCopy II, and newer devices | |||
-cell_name <cell name> | Name of new cell | |||
-comb | Option to create a new lcell_comb atom. For Stratix II, Cyclone II, HardCopy II, and newer devices | |||
-crc | Option to create a new CRC block | |||
-ddio_in | Option to create a new DDIO Input block in devices with composite I/O | |||
-ddio_oe | Option to create a new DDIO OE block in devices with composite I/O | |||
-ddio_out | Option to create a new DDIO Output block in devices with composite I/O | |||
-extended | Option to create a new extended LUT lcell_comb atom. For Stratix II and newer devices | |||
-ff | Option to create a new lcell_ff atom. For Stratix II, Cyclone II, HardCopy II, and newer devices | |||
-hsadder | Option to create a new lcell_hsadder atom. For HardCopy II devices only | |||
-ibuf | Option to create a new ibuf block | |||
-location <location> | Location of new cell | |||
-obuf | Option to create a new obuf block | |||
-partition_name <partition_name> | Name of the partition where the cell is placed. Only for logic cells (default, comb, ff). | |||
Description |
Creates a new atom of the specified type in the netlist. The atom is placed in at the top level of the design hierarchy by default, but it can also be placed into a specific partition. If the atom type is not specified, it defaults to LCELL and is supported only on Stratix(R), Stratix GX, and Cyclone(TM) devices. |
|||
Example Usage |
add_new_cell -cell_name test1 -location LC_X1_Y1_N1 -partition_name rx add_new_cell -cell_name test1 -comb -location LC_X1_Y1_N0 |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: Conflicting arguments. Consult help for the Tcl command for details. | ||
TCL_ERROR | 1 | ERROR: Illegal <string> value: <string>. Specify a legal value. | ||
TCL_ERROR | 1 | ERROR: Invalid partition name: <string>. This name does not correspond to any partitions in the design. | ||
TCL_ERROR | 1 | ERROR: Unable to find Chip Planner netlist. Read the netlist by using the read_netlist command. | ||
TCL_ERROR | 1 | ERROR: Unable to assign a partition to the new node <string>. This design is not compiled with incremental compilation turned on. |