Altera_Forum
Honored Contributor
11 years agocustom instruction not working in 13.1.3
I have a simple combinatorial custom instruction that works fine under quartos 9.1.
However (qsys in) quartos 13.1.3 doesn't generate the right logic. I've not tried quartos 14.x because I'm using a cyclone III dev board - not supported in 14.x. The instruction is encoded with 'readrb = 0' and uses the 'b' operand as a sub-opcode (ignoring the 'datab' value itself). (Amongst other operations it does 16bit and 32bit byte reverse.) The RTL viewer shows that the 'b' output from the 'cpu_custom_instruction_master_comb_slave_translater<n>' isn't connected to the custom instruction itself. So the instruction logic itself is fed a constant 0 for 'b'. While I don't need this to work right now (I'm writing some more custom instructions), we'd rather be able to use the same custom instructions as previously.