From 0bf04111cea3c388eea1f8f3bd1e24099e14c00e Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 31 Oct 2021 12:25:06 -0700 Subject: Verilator warning fixes. --- hdl/core.sv | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/hdl/core.sv b/hdl/core.sv index c0e1a63..eceea78 100644 --- a/hdl/core.sv +++ b/hdl/core.sv @@ -9,11 +9,12 @@ module core , input bit switch_cont - , output bit [0:ADDR_BITS-1] led_pc - , output bit [0:ADDR_BITS-1] led_memaddr - , output bit [0:DATA_BITS-1] led_memdata - , output bit [0:DATA_BITS-1] led_acc - , output bit [0:DATA_BITS-1] led_mq + // verilator lint_off UNDRIVEN + , output bit [ADDR_BITS-1:0] led_pc + , output bit [ADDR_BITS-1:0] led_memaddr + , output bit [DATA_BITS-1:0] led_memdata + , output bit [DATA_BITS-1:0] led_acc + , output bit [DATA_BITS-1:0] led_mq , output bit led_and , output bit led_tad , output bit led_isz @@ -31,10 +32,11 @@ module core , output bit led_ion , output bit led_pause , output bit led_run - , output bit [0:4] led_step_counter - , output bit [0:2] led_df - , output bit [0:2] led_if + , output bit [4:0] led_step_counter + , output bit [2:0] led_df + , output bit [2:0] led_if , output bit led_link + // verilator lint_on UNDRIVEN ); bit run; -- cgit v1.2.3