From e4b773c17b2367bc27c3e10fcafe0e00e62de2ff Mon Sep 17 00:00:00 2001 From: Olof Kindgren Date: Mon, 18 Jan 2021 22:47:28 +0100 Subject: [PATCH] Syntax fixes --- rtl/serv_ctrl.v | 1 - rtl/serv_state.v | 2 +- rtl/serv_top.v | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rtl/serv_ctrl.v b/rtl/serv_ctrl.v index 5a5554e..a50ece1 100644 --- a/rtl/serv_ctrl.v +++ b/rtl/serv_ctrl.v @@ -11,7 +11,6 @@ module serv_ctrl input wire i_cnt12to31, input wire i_cnt0, input wire i_cnt2, - input wire i_cnt_done, //Control input wire i_jump, input wire i_jal_or_jalr, diff --git a/rtl/serv_state.v b/rtl/serv_state.v index 2de206e..6287d8f 100644 --- a/rtl/serv_state.v +++ b/rtl/serv_state.v @@ -48,6 +48,7 @@ module serv_state wire cnt4; reg stage_two_req; + reg init_done; reg [4:2] o_cnt; reg [3:0] o_cnt_r; @@ -112,7 +113,6 @@ module serv_state assign o_ibus_cyc = ibus_cyc & !i_rst; assign o_init = two_stage_op & !o_pending_irq & !init_done; - reg init_done; always @(posedge i_clk) begin //ibus_cyc changes on three conditions. diff --git a/rtl/serv_top.v b/rtl/serv_top.v index a95a8bd..a8f4306 100644 --- a/rtl/serv_top.v +++ b/rtl/serv_top.v @@ -311,7 +311,6 @@ module serv_top .i_cnt12to31 (cnt12to31), .i_cnt0 (cnt0), .i_cnt2 (cnt2), - .i_cnt_done (cnt_done), //Control .i_jump (jump), .i_jal_or_jalr (jal_or_jalr),