From 72c492a0a9dc6fc5a1f0d384d680a9200449c678 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 7 Apr 2021 12:50:34 +0100 Subject: [PATCH] correct iverilog script errors --- ls180/pre_pnr/run_iverilog_wb_ls180.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ls180/pre_pnr/run_iverilog_wb_ls180.sh b/ls180/pre_pnr/run_iverilog_wb_ls180.sh index 15ec6fe..db24552 100755 --- a/ls180/pre_pnr/run_iverilog_wb_ls180.sh +++ b/ls180/pre_pnr/run_iverilog_wb_ls180.sh @@ -1,6 +1,10 @@ #!/bin/sh +# create dummy memory files +yes 0 | head -128 > mem_1.init +yes 0 | head -32 > mem_1.init touch mem.init mem_1.init mem_2.init mem_3.init mem_4.init + # Only run test in reset state as running CPU takes too much time to simulate make \ SIM=icarus \ @@ -8,8 +12,8 @@ make \ COCOTB_RESULTS_FILE=results_iverilog_ls180_wb.xml \ COCOTB_HDL_TIMEUNIT=100ps \ TESTCASE="wishbone_basic" \ - SIM_BUILD=sim_build_iverilog_ls180 \ - SIM_ARGS=--wave=test.ghw + MODULE="testwb" \ + SIM_BUILD=sim_build_iverilog_wb_ls180 -- 2.30.2