XDC Syntax Example - 2023.2 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
Release Date
2023.2 English

Often, the use of MARK_DEBUG is on pins of hierarchies and can be used on any elaborated sequential element, such as RTL_REG. MARK_DEBUG attributes are intended to go on nets. It is recommended that you use both the get_nets and the get_pins command as shown, such as.

set_property MARK_DEBUG true [get_nets -of [get_pins\ hier1/hier2/<flop_name>/Q]]

This recommended use ensures that the MARK_DEBUG goes onto the net connected to that pin, regardless of its name.

Note: If a MARK_DEBUG is applied on a bit of a signal that was declared as a bit_vector, the whole bus gets the MARK_DEBUG attribute. In addition, if a MARK_DEBUG is placed on a pin of a hierarchy, the full hierarchy is kept.