Ignore:
Timestamp:
Mar 27, 2008, 11:04:49 AM (16 years ago)
Author:
rosiere
Message:

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Types.h

    r43 r78  
    1616
    1717// Definition of type
    18 #if ( defined(SC_CLOCK) || defined(SC_INTERNAL) || defined(SC_SIGNAL) || defined(SC_REGISTER) || defined(SC_IN) || defined(SC_OUT) )
     18//#if ( defined(SC_CLOCK) || defined(SC_INTERNAL) || defined(SC_SIGNAL) || defined(SC_REGISTER) || defined(SC_IN) || defined(SC_OUT) )
     19#if ( defined(SC_CLOCK) || defined(SC_IN) || defined(SC_OUT) )
    1920#  error "A type is already defined"
    2021#endif
     
    2324#  error "Action is already defined"
    2425#endif
    25 #if ( defined(INTERNAL_READ) || defined(INTERNAL_WRITE) )
    26 #  error "Action is already defined"
    27 #endif
    28 #if ( defined(SIGNAL_READ)   || defined(SIGNAL_WRITE) )
    29 #  error "Action is already defined"
    30 #endif
    31 #if ( defined(REGISTER_READ) || defined(REGISTER_WRITE) )
    32 #  error "Action is already defined"
    33 #endif
     26// #if ( defined(INTERNAL_READ) || defined(INTERNAL_WRITE) )
     27// #  error "Action is already defined"
     28// #endif
     29// #if ( defined(SIGNAL_READ)   || defined(SIGNAL_WRITE) )
     30// #  error "Action is already defined"
     31// #endif
     32// #if ( defined(REGISTER_READ) || defined(REGISTER_WRITE) )
     33// #  error "Action is already defined"
     34// #endif
    3435
    3536#define SC_CLOCK                 sc_in_clk       
    36 #define SC_INTERNAL(type)        type
    37 #define SC_REGISTER(type)        sc_signal<type >
    38 #define SC_SIGNAL(type)          sc_signal<type >
     37// #define SC_INTERNAL(type)        type
     38// #define SC_REGISTER(type)        sc_signal<type >
     39// #define SC_SIGNAL(type)          sc_signal<type >
    3940#define SC_IN(type)              sc_in    <type >
    4041#define SC_OUT(type)             sc_out   <type >
     
    4243#define PORT_READ(sig)           sig->read()
    4344#define PORT_WRITE(sig,val)      sig->write(val)
    44 #define INTERNAL_READ(sig)       (*sig)
    45 #define INTERNAL_WRITE(sig,val)  (*sig) = val
    46 #define SIGNAL_READ(sig)         sig->read()
    47 #define SIGNAL_WRITE(sig,val)    sig->write(val)
    48 #define REGISTER_READ(sig)       sig->read()
    49 #define REGISTER_WRITE(sig,val)  sig->write(val)
     45// #define INTERNAL_READ(sig)       (*sig)
     46// #define INTERNAL_WRITE(sig,val)  (*sig) = val
     47// #define SIGNAL_READ(sig)         sig->read()
     48// #define SIGNAL_WRITE(sig,val)    sig->write(val)
     49// #define REGISTER_READ(sig)       sig->read()
     50// #define REGISTER_WRITE(sig,val)  sig->write(val)
    5051
    5152#endif 
Note: See TracChangeset for help on using the changeset viewer.