1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-05 04:35:00 +00:00

Merge pull request #370 from antonblanchard/divider-init

divider: Fix d_out.overflow U state issue
This commit is contained in:
Michael Neuling
2022-06-16 14:33:45 +10:00
committed by GitHub

View File

@@ -42,6 +42,8 @@ begin
quot <= (others => '0');
running <= '0';
count <= "0000000";
is_32bit <= '0';
overflow <= '0';
elsif d_in.valid = '1' then
if d_in.is_extended = '1' then
dend <= '0' & d_in.dividend & x"0000000000000000";