Constant - 2021.1 English

Vivado Design Suite User Guide: Designing IP Subsystems Using IP Integrator (UG994)

Document ID
UG994
Release Date
2021-06-16
Version
2021.1 English

Use the Constant IP to tie signals up or down, and specify a constant value. The Constant IP shows the constant value being driven by the block on the output pin. As an example, the following constant IP shows a default value on the output pin dout[0:0] being driven to 1.

Figure 1. Constant IP with Default Value

To change the value double-click the IP. This brings the Re-customize IP dialog box as shown.

Figure 2. Constant Re-customize IP Dialog Box

In this configuration dialog box, the width of the value to be driven is set to 5 (binary bits) and a value of decimal 30 is being driven. After the user commits to the changes, the Constant IP shows the new values being driven on the output pin dout[4 downto 0].

Figure 3. Constant IP After Changing the Constant Value Being Driven

Constant values can be set as decimal, hexadecimal or binary values. See the LogiCORE IP Constant Product Brief (PB040) for more information.