From 85d8401c3d79fd913d83e6975ec873649453b1f2 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 4 Sep 2016 12:27:38 +0200 Subject: [PATCH] Renamed testbench_slow_mem to testbench_nola (no look ahead) --- .gitignore | 2 ++ dhrystone/Makefile | 12 ++++++------ dhrystone/{testbench_slow_mem.v => testbench_nola.v} | 4 +++- 3 files changed, 11 insertions(+), 7 deletions(-) rename dhrystone/{testbench_slow_mem.v => testbench_nola.v} (94%) diff --git a/.gitignore b/.gitignore index 4713dd8..7337cd8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,8 @@ /dhrystone/dhry.map /dhrystone/testbench.vvp /dhrystone/testbench.vcd +/dhrystone/testbench_nola.vvp +/dhrystone/testbench_nola.vcd /dhrystone/timing.vvp /dhrystone/timing.txt /dhrystone/*.d diff --git a/dhrystone/Makefile b/dhrystone/Makefile index 88cbf4d..3b282f0 100644 --- a/dhrystone/Makefile +++ b/dhrystone/Makefile @@ -13,8 +13,8 @@ endif test: testbench.vvp dhry.hex vvp -N testbench.vvp -test_slow_mem: testbench_slow_mem.vvp dhry.hex - vvp -N testbench_slow_mem.vvp +test_nola: testbench_nola.vvp dhry.hex + vvp -N testbench_nola.vvp timing: timing.txt grep '^##' timing.txt | gawk 'x != "" {print x,$$3-y;} {x=$$2;y=$$3;}' | sort | uniq -c | \ @@ -27,9 +27,9 @@ testbench.vvp: testbench.v ../picorv32.v iverilog -o testbench.vvp testbench.v ../picorv32.v chmod -x testbench.vvp -testbench_slow_mem.vvp: testbench_slow_mem.v ../picorv32.v - iverilog -o testbench_slow_mem.vvp testbench_slow_mem.v ../picorv32.v - chmod -x testbench_slow_mem.vvp +testbench_nola.vvp: testbench_nola.v ../picorv32.v + iverilog -o testbench_nola.vvp testbench_nola.v ../picorv32.v + chmod -x testbench_nola.vvp timing.vvp: testbench.v ../picorv32.v iverilog -o timing.vvp -DTIMING testbench.v ../picorv32.v @@ -57,7 +57,7 @@ endif dhry_1.o dhry_2.o: CFLAGS += -Wno-implicit-int -Wno-implicit-function-declaration clean: - rm -rf *.o *.d dhry.elf dhry.map dhry.bin dhry.hex testbench.vvp testbench.vcd timing.vvp timing.txt testbench_slow_mem.vvp + rm -rf *.o *.d dhry.elf dhry.map dhry.bin dhry.hex testbench.vvp testbench.vcd timing.vvp timing.txt testbench_nola.vvp .PHONY: test clean diff --git a/dhrystone/testbench_slow_mem.v b/dhrystone/testbench_nola.v similarity index 94% rename from dhrystone/testbench_slow_mem.v rename to dhrystone/testbench_nola.v index 305cb81..b1a154c 100644 --- a/dhrystone/testbench_slow_mem.v +++ b/dhrystone/testbench_nola.v @@ -1,3 +1,5 @@ +// A version of the dhrystone test bench that isn't using the look-ahead interface + `timescale 1 ns / 1 ps module testbench; @@ -79,7 +81,7 @@ module testbench; end initial begin - $dumpfile("testbench_slow_mem.vcd"); + $dumpfile("testbench_nola.vcd"); $dumpvars(0, testbench); end