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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [peripheral/] [mc.h] - Diff between revs 398 and 539

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

Rev 398 Rev 539
Line 33... Line 33...
#define MC_CSC(i)   (0x10 + (i) * 8)
#define MC_CSC(i)   (0x10 + (i) * 8)
#define MC_TMS(i)   (0x14 + (i) * 8)
#define MC_TMS(i)   (0x14 + (i) * 8)
 
 
#define MC_ADDR_SPACE (MC_CSC(N_CE))
#define MC_ADDR_SPACE (MC_CSC(N_CE))
 
 
 
/* POC register field definition */
 
#define MC_POC_EN_BW_OFFSET     0
 
#define MC_POC_EN_BW_WIDTH      2
 
#define MC_POC_EN_MEMTYPE_OFFSET        2
 
#define MC_POC_EN_MEMTYPE_WIDTH 2
 
 
/* CSC register field definition */
/* CSC register field definition */
#define MC_CSC_EN_OFFSET        0
#define MC_CSC_EN_OFFSET        0
#define MC_CSC_MEMTYPE_OFFSET   1
#define MC_CSC_MEMTYPE_OFFSET   1
#define MC_CSC_MEMTYPE_WIDTH    2
#define MC_CSC_MEMTYPE_WIDTH    2
#define MC_CSC_BW_OFFSET        4
#define MC_CSC_BW_OFFSET        4
Line 48... Line 54...
#define MC_CSC_KRO_OFFSET       10
#define MC_CSC_KRO_OFFSET       10
#define MC_CSC_PEN_OFFSET       11
#define MC_CSC_PEN_OFFSET       11
#define MC_CSC_SEL_OFFSET       16
#define MC_CSC_SEL_OFFSET       16
#define MC_CSC_SEL_WIDTH        8
#define MC_CSC_SEL_WIDTH        8
 
 
 
#define MC_CSC_MEMTYPE_SDRAM  0
 
#define MC_CSC_MEMTYPE_SSRAM  1
 
#define MC_CSC_MEMTYPE_ASYNC  2
 
#define MC_CSC_MEMTYPE_SYNC   3
 
 
#define MC_CSR_VALID            0xFF000703LU
#define MC_CSR_VALID            0xFF000703LU
#define MC_POC_VALID            0x000000FFLU
#define MC_POC_VALID            0x0000000FLU
#define MC_BA_MASK_VALID        0x000000FFLU
#define MC_BA_MASK_VALID        0x000000FFLU
#define MC_CSC_VALID            0x00FF0FFFLU
#define MC_CSC_VALID            0x00FF0FFFLU
#define MC_TMS_SDRAM_VALID      0x0FFF83FFLU
#define MC_TMS_SDRAM_VALID      0x0FFF83FFLU
#define MC_TMS_SSRAM_VALID      0x00000000LU
#define MC_TMS_SSRAM_VALID      0x00000000LU
#define MC_TMS_ASYNC_VALID      0x03FFFFFFLU
#define MC_TMS_ASYNC_VALID      0x03FFFFFFLU

powered by: WebSVN 2.1.0

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