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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc2/] [or1ksim/] [peripheral/] [mc.h] - Diff between revs 239 and 261

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

Rev 239 Rev 261
Line 16... Line 16...
         You should have received a copy of the GNU General Public License
         You should have received a copy of the GNU General Public License
         along with this program; if not, write to the Free Software
         along with this program; if not, write to the Free Software
         Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
         Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
*/
 
 
 No newline at end of file
 No newline at end of file
 
/* Prototypes */
 
void mc_reset();
 
inline void mc_clock();
 
 
 
#define N_CE        (8)
 
 
 
#define MC_CSR      (0x00)
 
#define MC_POC      (0x04)
 
#define MC_BA_MASK  (0x08)
 
#define MC_CSC(i)   (0x10 + (i) * 4)
 
#define MC_TMS(i)   (0x14 + (i) * 4)
 
 
 
#define MC_ADDR_SPACE (MC_CSC(N_CE))
 
 
 
 
 
struct mc {
 
  unsigned long csr;
 
  unsigned long poc;
 
  unsigned long ba_mask;
 
  unsigned long csc[N_CE];
 
  unsigned long tms[N_CE];
 
};
 
 
 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.