Ignore:
Timestamp:
Jan 15, 2009, 6:19:08 PM (15 years ago)
Author:
rosiere
Message:

1) Add soc test
2) fix bug (Pc management, Decod and execute, Update prediction ...)

File:
1 edited

Legend:

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

    r100 r101  
    1414
    1515  I Use reserved SPR :
    16   [0][19] - SPR_CID
     16  [0][21] - SPR_CID : Context Id     
     17  [0][22] - SPR_TID : Thread  Id     
     18  [0][23] - SPR_TSR : Thread  Status Register (Priority)
    1719*/
    1820
     
    216218#  define OPERATION_SPECIAL_L_MACRC                0x12       // 001_0010 l.macrc
    217219#  define OPERATION_SPECIAL_L_MSB                  0x14       // 001_0100 l.msb
    218 define OPERATION_SPECIAL_L_MSYNC                0x21       // 010_0001 l.msync
    219 define OPERATION_SPECIAL_L_PSYNC                0x22       // 010_0010 l.psync
    220 define OPERATION_SPECIAL_L_CSYNC                0x24       // 010_0100 l.csync
     220//#define OPERATION_SPECIAL_L_MSYNC                0x21       // 010_0001 l.msync
     221//#define OPERATION_SPECIAL_L_PSYNC                0x22       // 010_0010 l.psync
     222//#define OPERATION_SPECIAL_L_CSYNC                0x24       // 010_0100 l.csync
    221223#  define OPERATION_SPECIAL_L_SYS                  0x41       // 100_0001 l.sys 
    222224#  define OPERATION_SPECIAL_L_TRAP                 0x42       // 100_0010 l.trap
     
    542544#  define SPR_SR                                   17         // Supervision register
    543545#  define SPR_PPC                                  18         // PC mapped to SPR space (previous PC)
    544 #  define SPR_CID                                  19         // Context Id
    545546#  define SPR_FPCSR                                20         // FP Control Status register
     547#  define SPR_CID                                  21         // Context Id
     548#  define SPR_TID                                  22         // Thread  Id
     549#  define SPR_TSR                                  23         // Thread  Priority
    546550#  define SPR_EPCR                                 32         // Exception PC register
    547551#  define SPR_EEAR                                 48         // Exception EA register
Note: See TracChangeset for help on using the changeset viewer.