I would like to do something like:
module maxii (..pin1,pin2..); ... output pin1; output pin2; ... assign pin1 = USERCODE_REGISTER[0]; assign pin2 = USERCODE_REGISTER[2]; ... endmodule
Which should cause pin1 and pin2 to change to reflect the values of USERCODE_REGISTER scanned in through the JTAG port. Is this possible, if so how do I access the USERCODE_REGISTER from my logic?
TIA Petter