
bfitz (Customer) asked a question.
I was hoping to cast stage bits like InsertProgramName.S0:SD, or InsertProgramName.S0_15:SD in an instruction, but it doesn't seem to work. Any particular reason? I'm looking to use the ENCO instruction to spit out a number corresponding to the active stage in a program (only one stage active in the 0-31 stage range by design) and was being lazy and trying to avoid an intermediate instruction.
Casting structure fields isn't possible at this time, due to internal limitations I won't bore you with.