modify_lutmask (::quartus::eco)

The following table displays information for the modify_lutmask Tcl command:

Tcl Package and Version

Belongs to ::quartus::eco 1.0

Syntax modify_lutmask [-h | -help] [-long_help] [-eqn <equation> ] [-mask <mask> ] [-num <num_of_inputs> ] -to <dest_node_name>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-eqn <equation> LUT equation
-mask <mask> New lutmask
-num <num_of_inputs> Number of inputs
-to <dest_node_name> Name of the destination node
The modify_lutmask command will modify the LUT-mask of the matching node, 
with LUT-mask value in binary or hexadecimal, or with equivalent LUT-mask value 
computed from specified logical equation. 

modify_lutmask expects 2 arguments (1 from mask or eqn): 
to   - name of the destination atom
mask - the LUT-mask value to be modified - in binary or hexadecimal
eqn  - the logical equation of the inputs (A, B, C, D, E, F)
     - the supported lexical tokens include AND('&'), OR('|'), XOR('^'), NOT('!'), OPEN_BRACE('('), CLOSE_BRACE(')')
Example Usage
modify_lutmask -to top|lut_a -mask 0xFF00FF00
modify_lutmask -to top|lut_b -mask 0b111111111001010
modify_lutmask -to top|lut_c -eqn {a&b&c}
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful