In the following invalid example, error_handling
specifies a value of "srcrefs" in the commonblock, which AMD
does not support. The AMD
toolblock contains a conditional statement to override
the error_handling right; however, when the xilinx_activity condition evaluates to TRUE, the unsupported value "srcrefs" is assigned to the right.
In the following example, the Vivado tool issues an error and stops when attempting to decrypt this block.
`protect begin commonblock
`protect control error_handling = "srcrefs"
`protect end_commonblock
`protect begin_toolblock
`protect key_keyowner="Xilinx", ...
`protect control error_handling = (xilinx_activity==synthesis)? "srcrefs" : "delegated"