URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 485 |
Rev 491 |
Line 738... |
Line 738... |
begin
|
begin
|
for(j=0;j<32;j=j+1)
|
for(j=0;j<32;j=j+1)
|
begin
|
begin
|
get_gpr(j,current_gprs[j]);
|
get_gpr(j,current_gprs[j]);
|
end
|
end
|
current_sr = `OR1200_TOP.`CPU_cpu.or1200_sprs.sr ;
|
current_sr = `OR1200_TOP.`CPU_cpu.`CPU_sprs.sr ;
|
current_esr = `OR1200_TOP.`CPU_cpu.or1200_sprs.epcr ;
|
current_esr = `OR1200_TOP.`CPU_cpu.`CPU_sprs.epcr ;
|
current_epcr = `OR1200_TOP.`CPU_cpu.or1200_sprs.epcr ;
|
current_epcr = `OR1200_TOP.`CPU_cpu.`CPU_sprs.epcr ;
|
current_eear = `OR1200_TOP.`CPU_cpu.or1200_sprs.eear ;
|
current_eear = `OR1200_TOP.`CPU_cpu.`CPU_sprs.eear ;
|
end
|
end
|
endtask
|
endtask
|
|
|
task update_previous_gprs;
|
task update_previous_gprs;
|
integer j;
|
integer j;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.