alu/sync: warum hat sich da keiner der beiden tools aufgeregt? wird das nicht sonst...
authorBernhard Urban <lewurm@gmail.com>
Sun, 11 Apr 2010 03:47:08 +0000 (05:47 +0200)
committerBernhard Urban <lewurm@gmail.com>
Sun, 11 Apr 2010 03:47:08 +0000 (05:47 +0200)
src/alu.vhd

index eae611655d3d63dad7f1d9ca963f755a5c0e4b9c..3c70d36e03da10ebda2b924af90803d9115a8a19 100644 (file)
@@ -36,6 +36,16 @@ begin
        begin
                if sys_res_n = '0' then
                        state <= SIDLE;
+                       op3_int <= (others => '0');
+                       calc_done_int <= '0';
+                       --div
+                       dividend_msb <= 0;
+                       laengediv <= 0;
+                       quo <= (others => '0');
+                       aktdiv <= (others => '0');
+                       op1_int <= (others => '0');
+                       op2_int <= (others => '0');
+                       sign <= '0';
                elsif rising_edge(sys_clk) then
                        state <= state_next;
                        op3_int <= op3_next;