From b71173fa0ecd53f3bb9c1bd4ee6da533a555eaab Mon Sep 17 00:00:00 2001 From: cchr Date: Mon, 9 Sep 2024 11:09:41 +0200 Subject: [PATCH] Take review comments into account --- fpga-arch/bsv/SWD.bsv | 1 - fpga-arch/bsv/SWDInner.bsv | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fpga-arch/bsv/SWD.bsv b/fpga-arch/bsv/SWD.bsv index 4f63e4b..3063910 100644 --- a/fpga-arch/bsv/SWD.bsv +++ b/fpga-arch/bsv/SWD.bsv @@ -20,7 +20,6 @@ import SWDInner::*; import GetPut::*; import Vector::*; -import StmtFSM::*; import ClientServer::*; (* always_enabled *) diff --git a/fpga-arch/bsv/SWDInner.bsv b/fpga-arch/bsv/SWDInner.bsv index 7ac0d6d..650c701 100644 --- a/fpga-arch/bsv/SWDInner.bsv +++ b/fpga-arch/bsv/SWDInner.bsv @@ -20,7 +20,6 @@ package SWDInner; import Prescaler::*; -import StmtFSM::*; import GetPut::*; import Vector::*; import ClientServer::*; @@ -222,7 +221,7 @@ module mkSWDController (SWDController#(clk_divider)) end end - else if (prescaler.pre_rising && (cnt == 0)) begin + if (prescaler.pre_rising && (cnt == 0)) begin state <= IDLE; end endrule