From 211cd1d427c64f08e9ca7b74a3acca2c4ef0abbf Mon Sep 17 00:00:00 2001
From: Yann Herklotz <git@yannherklotz.com>
Date: Thu, 12 Aug 2021 11:58:40 +0200
Subject: Add fix to algorithm.tex

---
 algorithm.tex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'algorithm.tex')

diff --git a/algorithm.tex b/algorithm.tex
index e67ce5c..bca7a61 100644
--- a/algorithm.tex
+++ b/algorithm.tex
@@ -191,14 +191,14 @@ module main(reset, clk, finish, return_val);
     case (state)
       32'd11: reg_2 <= d_out;
       32'd8: reg_5 <= 32'd3;
-      32'd7: begin u_en <= ( ! u_en); wr_en <= 32'd1;
+      32'd7: begin u_en <= ( ~ u_en); wr_en <= 32'd1;
                    d_in <= reg_5; addr <= 32'd0; end
       32'd6: reg_4 <= 32'd6;
-      32'd5: begin u_en <= ( ! u_en); wr_en <= 32'd1;
+      32'd5: begin u_en <= ( ~ u_en); wr_en <= 32'd1;
                    d_in <= reg_4; addr <= 32'd1; end
       32'd4: reg_1 <= 32'd1;
       32'd3: reg_3 <= 32'd0;
-      32'd2: begin u_en <= ( ! u_en); wr_en <= 32'd0;
+      32'd2: begin u_en <= ( ~ u_en); wr_en <= 32'd0;
                    addr <= {{{reg_3 + 32'd0} + {reg_1 * 32'd4}} / 32'd4}; end
       32'd1: begin finish = 32'd1; return_val = reg_2; end
       default: ;
-- 
cgit 

