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:
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…
x
Reference in New Issue
Block a user