Add sim only divw

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
pull/9/head
Anton Blanchard 5 years ago committed by Anton Blanchard
parent 95b9f19882
commit 73daacbcd4

@ -336,7 +336,14 @@ begin
if SIM = true then
result := ppc_divwu(e.read_data1, e.read_data2);
result_en := 1;

else
terminate_out <= '1';
report "illegal";
end if;
when OP_DIVW =>
if SIM = true then
result := ppc_divw(e.read_data1, e.read_data2);
result_en := 1;
else
terminate_out <= '1';
report "illegal";

Loading…
Cancel
Save