I have some code that compiles fine in Modelsim and under Quartus, but I get an odd error under XST.
ERROR:HDLParsers:3324 - //walmart800/allnetwork/arius/pc104c67/up/dinero/dinero/../OpcodeDefs.vhd Line 128. IN mode Formal opcode of LIT with no default value must be associated with an actual value.
The answer record on this error talks about passing generics into an instance which is nothing like what I am doing. Here is a section of the code in question.
type INSTDSPLY is (LIT, N0P, CAL, RTI, JMP, JUMZ, JUMC, JUMO, FTCH, STOR, FCHP, STRP, FCHB, STRB, FHPB, STPB, DOOP, SWP, DRP, OVR, TORR, RFRM, RFTC, RADT, RAD, RSB, RCM, RDRP, ADNC, ADC, SBNC, SBC, CPNC, CPC, LAND, LOR, LXOR, SHFL, SHFC, ZFLG, BFL, ERR);
function IRSLV_to_Inst (Opcode : IRSLV; LFLAG, BFLAG : STD_LOGIC) return INSTDSPLY is variable OpcodeInt : INSTVAL; begin if (Opcode(IRWdth-1) = '0') then