add test for dup store beq
This commit is contained in:
@@ -575,7 +575,15 @@ module cpu_tb_top;
|
||||
asm_instr(.op(OP_SLL), .rd(19), .rs1(3), .rs2(7)),
|
||||
EBREAK_WORD
|
||||
};
|
||||
run_directed("duplicate_store_beq", prog);
|
||||
run_directed("duplicate_store_beq_full", prog);
|
||||
|
||||
prog = '{
|
||||
asm_instr(.op(OP_SW), .rs1(0), .rs2(0), .imm(1004)),
|
||||
asm_instr(.op(OP_BEQ), .rs1(0), .rs2(0), .imm(8)),
|
||||
asm_instr(.op(OP_ADDI), .rd(1), .rs1(0), .imm(1)),
|
||||
EBREAK_WORD
|
||||
};
|
||||
run_directed("duplicate_store_beq_test", prog);
|
||||
|
||||
// CHIP-LEVEL DIRECTED TESTS
|
||||
run_reset_while_running();
|
||||
|
||||
Reference in New Issue
Block a user