URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 270 |
Rev 295 |
Line 533... |
Line 533... |
unsigned long start, length;
|
unsigned long start, length;
|
char type[100];
|
char type[100];
|
int nparam;
|
int nparam;
|
int rd, wd, ce;
|
int rd, wd, ce;
|
printf ("Reading memory table from '%s':\n", local ? filename : ctmp);
|
printf ("Reading memory table from '%s':\n", local ? filename : ctmp);
|
while ((nparam = fscanf (f, "%08x %08x %s %i %i\n", &start, &length, &type, &ce, &rd, &wd)) >= 3 && nparam <= 6) {
|
while ((nparam = fscanf (f, "%08x %08x %s %i %i %i\n", &start, &length, &type, &ce, &rd, &wd)) >= 3 && nparam <= 6) {
|
if (nparam < 4)
|
if (nparam < 4)
|
ce = gce + 1;
|
ce = gce + 1;
|
if (nparam < 5)
|
if (nparam < 5)
|
rd = 1;
|
rd = 1;
|
if (nparam < 6)
|
if (nparam < 6)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.