URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 897 |
Rev 907 |
Line 82... |
Line 82... |
{
|
{
|
int i;
|
int i;
|
int d = 0;
|
int d = 0;
|
for (i = 0; i < f->nmsched; i++)
|
for (i = 0; i < f->nmsched; i++)
|
if (REF_BB (f->msched[i]) == b) {
|
if (REF_BB (f->msched[i]) == b) {
|
if (f->mtype[i] & MT_WRITE) {
|
if (f->mtype[i] & MT_STORE) {
|
if (!(f->mtype[i] & MT_BURST) || f->mtype[i] & MT_BURSTE) d += runtime.cuc.mdelay[2];
|
if (!(f->mtype[i] & MT_BURST) || f->mtype[i] & MT_BURSTE) d += runtime.cuc.mdelay[2];
|
else d += runtime.cuc.mdelay[3];
|
else d += runtime.cuc.mdelay[3];
|
} else {
|
} else if (f->mtype[i] & MT_LOAD) {
|
if (!(f->mtype[i] & MT_BURST) || f->mtype[i] & MT_BURSTE) d += runtime.cuc.mdelay[0];
|
if (!(f->mtype[i] & MT_BURST) || f->mtype[i] & MT_BURSTE) d += runtime.cuc.mdelay[0];
|
else d += runtime.cuc.mdelay[1];
|
else d += runtime.cuc.mdelay[1];
|
}
|
}
|
}
|
}
|
//printf ("md%i=%i\n", b, d);
|
//printf ("md%i=%i\n", b, d);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.