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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_63/] [or1ksim/] [peripheral/] [mc.c] - Diff between revs 545 and 742

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 545 Rev 742
Line 172... Line 172...
 
 
inline void mc_clock()
inline void mc_clock()
{
{
}
}
 
 
 No newline at end of file
 No newline at end of file
 
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]);
 
    }
 
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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