Changeset 55 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include
- Timestamp:
- Sep 24, 2007, 2:00:35 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h
r53 r55 23 23 public : const uint32_t _nb_port_read ; 24 24 public : const uint32_t _nb_port_write; 25 public : const uint32_t _nb_port_read_write; 25 26 public : const uint32_t _nb_word ; 26 27 public : const uint32_t _size_word ; … … 29 30 public : Parameters (uint32_t nb_port_read , 30 31 uint32_t nb_port_write, 32 uint32_t nb_port_read_write, 31 33 uint32_t nb_word , 32 34 uint32_t size_word ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h
r44 r55 36 36 namespace registerfile_monolithic { 37 37 38 typedef enum {RW_READ, RW_WRITE} rw_t; 39 38 40 class RegisterFile_Monolithic 39 41 #if SYSTEMC … … 43 45 // -----[ fields ]---------------------------------------------------- 44 46 // Parameters 45 protected : const string _name;47 protected : const string _name; 46 48 47 protected : const Parameters _param;49 protected : const Parameters * _param; 48 50 #ifdef STATISTICS 49 51 private : Statistics * _stat; … … 74 76 public : SC_IN (Tdata_t) ** in_WRITE_DATA ; 75 77 78 // ----- Interface Read_Write 79 public : SC_IN (Tcontrol_t) ** in_READ_WRITE_VAL ; 80 public : SC_OUT (Tcontrol_t) ** out_READ_WRITE_ACK ; 81 public : SC_IN (Tcontrol_t) ** in_READ_WRITE_RW ; 82 public : SC_IN (Taddress_t) ** in_READ_WRITE_ADDRESS; 83 public : SC_OUT (Tdata_t) ** out_READ_WRITE_RDATA ; 84 public : SC_IN (Tdata_t) ** in_READ_WRITE_WDATA ; 85 76 86 // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 87 private : SC_REGISTER (Tdata_t) ** reg_DATA ; … … 93 103 #endif 94 104 #ifdef STATISTICS 95 morpheo::behavioural::Parameters_Statistics param_statistics,105 morpheo::behavioural::Parameters_Statistics * param_statistics, 96 106 #endif 97 Parameters param ); 98 99 public : RegisterFile_Monolithic (Parameters param ); 107 Parameters * param ); 100 108 public : ~RegisterFile_Monolithic (void); 101 109 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h
r44 r55 27 27 { 28 28 // -----[ fields ]---------------------------------------------------- 29 private : const Parameters _parameters; 29 private : const Parameters * _parameters; 30 private : morpheo::behavioural::generic::group::Parameters * _param_port_read; 31 private : morpheo::behavioural::generic::group::Parameters * _param_port_write; 30 32 private : morpheo::behavioural::generic::group::Statistics * _stat_port_read; 31 33 private : morpheo::behavioural::generic::group::Statistics * _stat_port_write; … … 33 35 // -----[ methods ]--------------------------------------------------- 34 36 public : Statistics (string name , 35 morpheo::behavioural::Parameters_Statistics parameters_statistics,36 Parameters parameters37 morpheo::behavioural::Parameters_Statistics * parameters_statistics , 38 Parameters * parameters 37 39 ); 38 40 //public : Statistics (Statistics & stat);
Note: See TracChangeset
for help on using the changeset viewer.