ID:13041 Illegal configuration of the I/O primitive instance "<name>"

CAUSE: The specified instance of an I/O Primitive is used in an illegal configuration. This error can occur when the ports of the primitive are not properly connected. The ports should be connected according to the following rules: ALT_INBUF/ALT_INBUF_DIFF
port Connected to
i single top-level input pin, the pin cannot have any other fanouts
ibar single top-level input pin, the pin cannot have any other fanouts
o anything
ALT_OUTBUF/ALT_OUTBUF_DIFF
port Connected to
i anything
o single top-level output pin
obar single top-level output pin
ALT_OUTBUF_TRI/ALT_OUTBUF_TRI_DIFF
port Connected to
i anything
oe anything
o single top-level output pin
obar single top-level output pin
ALT_IOBUF/ALT_IOBUF_DIFF
port Connected to
i anything
oe anything
o anything
io single top-level bidirectional pin
iobar single top-level bidirectional pin
ALT_BIDIR_DIFF
port Connected to
bidirin the "padio" port of the altddio_bidir megafunction
oe the "oe_out" port of the altddio_bidir megafunction
io bidirectional pin
iobar bidirectional pin
ALT_BIDIR_BUF
port Connected to
bidirin the "padio" port of the altddio_bidir megafunction
oe the "oe_out" port of the altddio_bidir megafunction
io bidirectional pin

ACTION: Connect the ports of the primitive properly and compile the design again.