From c3cd7b1058e90b0e0f7b07edebadc0b32309bd79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Sat, 15 Apr 2023 08:29:38 +0200 Subject: [PATCH] corrected typo in BitShift9R --- 03_Sequential_Logic/BitShift9R.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03_Sequential_Logic/BitShift9R.v b/03_Sequential_Logic/BitShift9R.v index a3f71c7..c8bda6b 100644 --- a/03_Sequential_Logic/BitShift9R.v +++ b/03_Sequential_Logic/BitShift9R.v @@ -1,7 +1,7 @@ /** -* 10 bit Shiftregister (shifts to right) +* 9 bit Shiftregister (shifts to right) * if (load == 1) out[t+1] = in[t] -* else if (shift == 1) out[t+1] = out[t]>>1 | (inMSB<<9) +* else if (shift == 1) out[t+1] = out[t]>>1 | (inMSB<<8) * (shift one position to right and insert inMSB as most significant bit) */