Quartus® Prime Pro Edition User Guide: Design Optimization

ID 683641
Date 4/01/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.4.4. modify_lutmask

Description

Modifies the lutmask of the matching destination node, with the lutmask value (-mask) in binary or hexadecimal, or with the equivalent lutmask value (-eqn) computed from specified logical equation.

Usage

The following example disconnects top|a_out from the D input port of node top|x, and set top|x:D to a disconnected state.

modify_lutmask -to top|lut_c -eqn {a&b&c}
modify_lutmask -to top|lut_a -mask 0xFF00FF00
modify_lutmask -to top|lut_b -mask 0b111111111001010

Arguments

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(')'). Specify -mask or -eqn
to
Destination atom name.
mask
The lutmask value to be modified in binary or hexadecimal format. Specify -mask or -eqn
Note: When you view the lutmask equations in the Resource Property Viewer, the equations display in terms of F0/F1/F2/F3 LUTs for A, B, C and D inputs. For LUTs also using E or F inputs, you must combine these sub-functions using the connectivity that the ALM diagram shows for the E and F muxes.