From: Bernhard Urban Date: Sun, 11 Apr 2010 03:47:08 +0000 (+0200) Subject: alu/sync: warum hat sich da keiner der beiden tools aufgeregt? wird das nicht sonst... X-Git-Tag: review_abgabe~16 X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=503ef4a16a5aafc239ad82e978065cef5341efd7;hp=a302dda905ac28ab6ac54649be070880002388b1;p=hwmod.git alu/sync: warum hat sich da keiner der beiden tools aufgeregt? wird das nicht sonst ein latch? --- diff --git a/src/alu.vhd b/src/alu.vhd index eae6116..3c70d36 100644 --- a/src/alu.vhd +++ b/src/alu.vhd @@ -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;