Ignore:
Timestamp:
May 16, 2009, 4:42:39 PM (15 years ago)
Author:
rosiere
Message:

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/include/SPR.h

    r101 r117  
    545545  // [0][21] CID
    546546  //----------------------------------------------------------
    547   class CID : public GENERIC
    548   {
    549   public : CID (uint32_t num_front_end=0, uint32_t num_context=0,const Parameters * param=NULL) : GENERIC (num_front_end,num_context,param) {};
    550   };
    551 
    552   //----------------------------------------------------------
    553   // [0][22] TID
    554   //----------------------------------------------------------
    555   class TID : public GENERIC
    556   {
    557   public : TID (uint32_t num_front_end=0, uint32_t num_context=0,const Parameters * param=NULL) : GENERIC (num_front_end,num_context,param) {};
    558   };
    559 
    560   //----------------------------------------------------------
    561   // [0][23] TSR
     547  class CID : public morpheo::behavioural::SPR
     548  {
     549  private: const Tspr_t _cpu_id : 32; // cpu_id reset value
     550  public :       Tspr_t  cpu_id : 32;
     551
     552  public :        CID (uint32_t num_front_end=0, uint32_t num_context=0,const Parameters * param=NULL):
     553    _cpu_id ((param==NULL)?0:param->_translate_num_context_to_num_thread[num_front_end][num_context])
     554    {};
     555  public : void   reset (void  )
     556    {
     557      cpu_id = _cpu_id;
     558    };
     559  public : Tspr_t read  (void  )
     560    {
     561      return ((cpu_id << 0));
     562    };
     563  public : void   write (Tspr_t x)
     564    {
     565      cpu_id = x >> 0;
     566    };
     567  };
     568
     569  //----------------------------------------------------------
     570  // [0][22] TID - Thread Id
     571  //----------------------------------------------------------
     572  class TID : public morpheo::behavioural::SPR
     573  {
     574  public :       Tspr_t  thread_id : 32;
     575
     576  public :        TID (uint32_t num_front_end=0, uint32_t num_context=0,const Parameters * param=NULL)
     577    {};
     578  public : void   reset (void  )
     579    {
     580    };
     581  public : Tspr_t read  (void  )
     582    {
     583      return ((thread_id << 0));
     584    };
     585  public : void   write (Tspr_t x)
     586    {
     587      thread_id = x >> 0;
     588    };
     589  };
     590
     591  //----------------------------------------------------------
     592  // [0][23] TSR - Thread Status Register
    562593  //----------------------------------------------------------
    563594  class TSR : public GENERIC
Note: See TracChangeset for help on using the changeset viewer.