small change

This commit is contained in:
Nikolaj
2021-12-22 14:58:29 +01:00
parent 84a94f2900
commit a14881a1f1
2 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ int main(int argc, char* argv[]) {
// unimplemented control signals:
bool is_load = (is_mem_access && !pick_one(3,minor_op));
bool is_store = (is_mem_access && pick_one(3,minor_op));
bool is_conditional = (is_cflow || is_imm_cbranch) && !(is(0xE, minor_op) || is(0xF, minor_op));
bool is_conditional = ((is_cflow && !(is(0xE, minor_op) || is(0xF, minor_op))) || is_imm_cbranch);
// setting up operand fetch and register read and write for the datapath:
bool use_imm = is_imm_movq | is_imm_arithmetic | is_imm_cbranch;

BIN
A5/sim

Binary file not shown.