Ignore:
Timestamp:
Dec 4, 2007, 2:31:54 PM (17 years ago)
Author:
rosiere
Message:

Modification en profondeur de Component-port_map.
Compilation ok pour Register_unit ... a tester (systemC et vhdl)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Constants.h

    r59 r62  
    131131#define EXCEPTION_MEMORY_BUS_ERROR               0x4  // Access at a invalid physical address
    132132#define EXCEPTION_MEMORY_MISS_SPECULATION        0x5  // Load miss speculation
     133
     134  //==================================================[ dcache_type ]=====
     135#  define DCACHE_LOAD                    0x0      // 0000
     136#  define DCACHE_LOCK                    0x1      // 0001
     137#  define DCACHE_INVALIDATE              0x2      // 0010
     138#  define DCACHE_PREFETCH                0x3      // 0011
     139//#define DCACHE_                        0x4      // 0100
     140//#define DCACHE_                        0x5      // 0101
     141#  define DCACHE_FLUSH                   0x6      // 0110
     142#  define DCACHE_SYNCHRONIZATION         0x7      // 0111
     143
     144#  define DCACHE_STORE_8                 0x8      // 1000
     145#  define DCACHE_STORE_16                0x9      // 1001
     146#  define DCACHE_STORE_32                0xa      // 1010
     147#  define DCACHE_STORE_64                0xb      // 1011
     148//#define DCACHE_                        0xc      // 1100
     149//#define DCACHE_                        0xd      // 1101
     150//#define DCACHE_                        0xe      // 1110
     151//#define DCACHE_                        0xf      // 1111
     152
     153
     154// just take the 4 less significative bits.
     155#define operation_to_dcache_type(x) (x&0xf)
    133156
    134157  /*
Note: See TracChangeset for help on using the changeset viewer.