7688 - [All Nexus] Why Lattice Radiant tool shows Error <71241012> The clock port [clock_name] is assigned to a non-clock pin ?

7688 - [All Nexus] Why Lattice Radiant tool shows Error <71241012> The clock port [clock_name] is assigned to a non-clock pin ?

This error appears when you are assigning a clock port to a non-clock pin. To resolve this, you can force Radiant tool to use this attribute in the .pdc file:
ldc_set_attribute {USE_PRIMARY=FALSE} [get_nets {clock_name}_c]
Example:
ldc_set_attribute {USE_PRIMARY=FALSE} [get_nets clock_in_c]
 
It is recommended to do this on the GUI so that Radiant tool will take care of the constraint formatting.
See steps 1-5 below for reference.