Processor/Instructions: Fixed a bug where if IN executed after a microcoded instruction the cpu would go into undefined behavior
This commit is contained in:
parent
f07e0e7c1f
commit
f1dc9d8a59
@ -945,6 +945,7 @@ always @( posedge clock ) begin
|
|||||||
ERROR<=0;
|
ERROR<=0;
|
||||||
ALU_OP<=`ALU_OP_ADD;
|
ALU_OP<=`ALU_OP_ADD;
|
||||||
next_state=`EXEC_MEMIO_READ_SETADDR;
|
next_state=`EXEC_MEMIO_READ_SETADDR;
|
||||||
|
seq_addr_entry<=`UCODE_NO_INSTRUCTION;
|
||||||
end
|
end
|
||||||
default:begin
|
default:begin
|
||||||
`invalid_instruction
|
`invalid_instruction
|
||||||
|
Loading…
Reference in New Issue
Block a user