OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 741 to Rev 742
    Reverse comparison

Rev 741 → Rev 742

/trunk/or1ksim/peripheral/mc.c
26,7 → 26,7
 
Limitations:
- memory refresh is not simulated
*/
*/
 
#include "mc.h"
#include "abstract.h"
173,3 → 173,17
inline void mc_clock()
{
}
 
void mc_status()
{
int i;
 
printf( "\nMemory Controller at 0x%08X:\n", config.mc.baseaddr );
printf( "POC: 0x%08X\n", mc.poc );
printf( "BAS: 0x%08X\n", mc.ba_mask );
printf( "CSR: 0x%08X\n", mc.csr );
 
for (i=0; i<N_CE; i++) {
printf( "CE %02d - CSC: 0x%08X TMS: 0x%08X\n", i, mc.csc[i], mc.tms[i]);
}
}
/trunk/or1ksim/peripheral/mc.h
23,6 → 23,7
#define __MC_H
 
void mc_reset();
void mc_status();
inline void mc_clock();
 
#define N_CE (8)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.