make sim will now fail if test hits fail state
This commit is contained in:
3
Makefile
3
Makefile
@@ -47,9 +47,10 @@ $(BUILD_DIR)/%.elf: test/%.ld $(OBJ) | $(BUILD_DIR)
|
||||
riscv64-linux-gnu-objcopy --target=verilog $< $@
|
||||
|
||||
$(BUILD_DIR)/core_tb.vcd: $(BUILD_DIR)/tb.out $(BUILD_DIR)/test.hex
|
||||
cd $(BUILD_DIR) && ./tb.out
|
||||
cd $(BUILD_DIR) && ./tb.out | tee sim_log.txt
|
||||
|
||||
sim: $(BUILD_DIR)/core_tb.vcd
|
||||
@grep -q "SUCCESS" $(BUILD_DIR)/sim_log.txt
|
||||
|
||||
## General
|
||||
$(BUILD_DIR):
|
||||
|
Reference in New Issue
Block a user