Merge branch 'master' of https://github.gatech.edu/casl/Vortex
This commit is contained in:
5
Makefile
5
Makefile
@@ -2,11 +2,12 @@
|
|||||||
all:
|
all:
|
||||||
$(MAKE) -C hw
|
$(MAKE) -C hw
|
||||||
$(MAKE) -C driver
|
$(MAKE) -C driver
|
||||||
$(MAKE) -C runtime
|
|
||||||
$(MAKE) -C simX
|
$(MAKE) -C simX
|
||||||
|
$(MAKE) -C runtime
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C hw clean
|
$(MAKE) -C hw clean
|
||||||
$(MAKE) -C driver clean
|
$(MAKE) -C driver clean
|
||||||
|
$(MAKE) -C simX clean
|
||||||
$(MAKE) -C runtime clean
|
$(MAKE) -C runtime clean
|
||||||
$(MAKE) -C simX clean
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
TESTS := $(wildcard *.hex)
|
TESTS := $(wildcard *.hex)
|
||||||
#VTESTS := $(wildcard *-v-*.hex)
|
VTESTS := $(wildcard *-v-*.hex)
|
||||||
#TESTS := $(filter-out $(VTESTS) rv32ud-p-fclass.hex, $(TESTS))
|
TESTS := $(filter-out $(VTESTS) rv32si-p-scall.hex rv32si-p-sbreak.hex rv32mi-p-breakpoint.hex rv32ud-p-fclass.hex rv32ua-p-amomax_w.hex rv32ua-p-amoxor_w.hex rv32ud-p-ldst.hex rv32ua-p-amoor_w.hex rv32mi-p-ma_addr.hex rv32ud-p-fdiv.hex rv32ud-p-fcmp.hex rv32mi-p-mcsr.hex rv32ua-p-amoswap_w.hex rv32mi-p-ma_fetch.hex rv32mi-p-csr.hex rv32ua-p-amoadd_w.hex rv32si-p-dirty.hex rv32ud-p-fcvt.hex rv32ui-p-fence_i.hex rv32si-p-csr.hex rv32mi-p-shamt.hex rv32ua-p-amomin_w.hex rv32ua-p-lrsc.hex rv32ud-p-fmadd.hex rv32ud-p-fadd.hex rv32si-p-wfi.hex rv32ua-p-amomaxu_w.hex rv32si-p-ma_fetch.hex rv32ud-p-fmin.hex rv32mi-p-illegal.hex rv32uc-p-rvc.hex rv32mi-p-sbreak.hex rv32ua-p-amominu_w.hex rv32ua-p-amoand_w.hex, $(TESTS))
|
||||||
|
|
||||||
run:
|
run:
|
||||||
cd ../../../hw/simulate/obj_dir && ./VVortex -f $(foreach test,$(TESTS),../../../benchmarks/riscv_tests/isa/$(test))
|
cd ../../../hw/simulate/obj_dir && ./VVortex -f $(foreach test,$(TESTS),../../../benchmarks/riscv_tests/isa/$(test))
|
||||||
|
|||||||
3
ci/test_driver.sh
Executable file
3
ci/test_driver.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd ../driver/tests && make run -f Makefile
|
||||||
3
ci/test_opencl.sh
Executable file
3
ci/test_opencl.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd ../benchmarks/opencl && make run -f Makefile
|
||||||
3
ci/test_riscv_isa.sh
Executable file
3
ci/test_riscv_isa.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd ../benchmarks/riscv_tests/isa && make run -f Makefile
|
||||||
3
ci/test_runtime.sh
Executable file
3
ci/test_runtime.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd ../runtime/tests && make run -f Makefile
|
||||||
@@ -1,14 +1,18 @@
|
|||||||
all:
|
all:
|
||||||
$(MAKE) -C basic
|
$(MAKE) -C basic
|
||||||
$(MAKE) -C demo
|
$(MAKE) -C demo
|
||||||
|
$(MAKE) -C dogfood
|
||||||
|
|
||||||
run:
|
run:
|
||||||
$(MAKE) -C basic run-rtlsim
|
$(MAKE) -C basic run-rtlsim
|
||||||
$(MAKE) -C basic run-simx
|
#$(MAKE) -C basic run-simx
|
||||||
$(MAKE) -C demo run-rtlsim
|
$(MAKE) -C demo run-rtlsim
|
||||||
$(MAKE) -C demo run-simx
|
$(MAKE) -C demo run-simx
|
||||||
|
$(MAKE) -C dogfood run-rtlsim
|
||||||
|
$(MAKE) -C dogfood run-simz
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C basic clean
|
$(MAKE) -C basic clean
|
||||||
$(MAKE) -C demo clean
|
$(MAKE) -C demo clean
|
||||||
|
$(MAKE) -C dogfood clean
|
||||||
|
|
||||||
|
|||||||
@@ -166,18 +166,6 @@ int main(int argc, char **argv) {
|
|||||||
if (!passed)
|
if (!passed)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// char* test = argv[2];
|
|
||||||
|
|
||||||
// std::cerr << test << std::endl;
|
|
||||||
|
|
||||||
// RAM ram;
|
|
||||||
// Simulator simulator;
|
|
||||||
// simulator.attach_ram(&ram);
|
|
||||||
// simulator.load_ihex(test);
|
|
||||||
// simulator.run();
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user