From 4ee21f23b6c5b574de80a0b4b6a3c11a470f2483 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Mon, 25 Sep 2023 19:13:06 -0700 Subject: [PATCH] Up the sim time --- hw/efinix_fpga/simulation/Makefile | 2 +- hw/efinix_fpga/simulation/src/sim_top.sv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/efinix_fpga/simulation/Makefile b/hw/efinix_fpga/simulation/Makefile index 8fc9a76..a726e24 100644 --- a/hw/efinix_fpga/simulation/Makefile +++ b/hw/efinix_fpga/simulation/Makefile @@ -6,7 +6,7 @@ INC=$(shell find include/ -type f) TEST_PROGRAM_NAME=simple_mem_test -TEST_PROGRAM=$(REPO_TOP)/sw/test_code/$(TEST_PROGRAM_NAME)/$(TEST_PROGRAM_NAME).hex +TEST_PROGRAM?=$(REPO_TOP)/sw/test_code/$(TEST_PROGRAM_NAME)/$(TEST_PROGRAM_NAME).hex #TODO implement something like sources.list diff --git a/hw/efinix_fpga/simulation/src/sim_top.sv b/hw/efinix_fpga/simulation/src/sim_top.sv index da53126..80e611e 100644 --- a/hw/efinix_fpga/simulation/src/sim_top.sv +++ b/hw/efinix_fpga/simulation/src/sim_top.sv @@ -49,7 +49,7 @@ initial begin button_reset <= '0; repeat(10) @(r_clk_2); button_reset <= '1; - repeat(2000) @(r_clk_2); + repeat(8000) @(r_clk_2); $finish(); end