1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-13 15:18:09 +00:00

Add sim only divw

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
This commit is contained in:
Anton Blanchard 2019-08-28 14:07:29 +10:00 committed by Anton Blanchard
parent 95b9f19882
commit 73daacbcd4

View File

@ -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";