URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1463 |
Rev 1469 |
Line 681... |
Line 681... |
if ( (addr >= ETH_BD_BASE) && (addr < ETH_BD_BASE + ETH_BD_SPACE) )
|
if ( (addr >= ETH_BD_BASE) && (addr < ETH_BD_BASE + ETH_BD_SPACE) )
|
return eth->regs.bd_ram[(addr - ETH_BD_BASE) / 4];
|
return eth->regs.bd_ram[(addr - ETH_BD_BASE) / 4];
|
|
|
PRINTF( "eth_read32( 0x%"PRIxADDR" ): Illegal address\n",
|
PRINTF( "eth_read32( 0x%"PRIxADDR" ): Illegal address\n",
|
addr + eth->baseaddr );
|
addr + eth->baseaddr );
|
runtime.sim.cont_run = 0;
|
|
return 0;
|
return 0;
|
}
|
}
|
/* ========================================================================= */
|
/* ========================================================================= */
|
|
|
|
|
Line 754... |
Line 753... |
return;
|
return;
|
}
|
}
|
|
|
PRINTF( "eth_write32( 0x%"PRIxADDR" ): Illegal address\n",
|
PRINTF( "eth_write32( 0x%"PRIxADDR" ): Illegal address\n",
|
addr + eth->baseaddr );
|
addr + eth->baseaddr );
|
runtime.sim.cont_run = 0;
|
|
return;
|
return;
|
}
|
}
|
/* ========================================================================= */
|
/* ========================================================================= */
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.