Changeset 23 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic
- Timestamp:
- May 21, 2007, 12:01:51 PM (18 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic
- Files:
-
- 119 added
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/Makefile
r2 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../.. 10 DIR_COMPONENT = . 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 #-----[ Library ]------------------------------------------ … … 19 20 @$(MAKE) all_component 20 21 21 include $(DIR_MORPHEO)/Behavioural/Makefile. defs22 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 22 23 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 23 24 include $(DIR_MORPHEO)/Behavioural/Makefile.Component 25 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/SelfTest/Makefile
r2 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../.. 10 DIR_COMPONENT = .. 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 LIBRARY = $(Counter_LIBRARY) … … 24 25 25 26 include ../Makefile.deps 26 include $(DIR_MORPHEO)/Behavioural/Makefile. defs27 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 27 28 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 28 29 include $(DIR_MORPHEO)/Behavioural/Makefile.Selftest -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Group/Makefile
r2 r23 18 18 @$(MAKE) all_component 19 19 20 include $(DIR_MORPHEO)/Behavioural/Makefile. defs20 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 21 21 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 22 22 include $(DIR_MORPHEO)/Behavioural/Makefile.Component -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile
r15 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../.. 10 DIR_COMPONENT = . 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 #-----[ Library ]------------------------------------------ … … 19 20 @$(MAKE) all_component 20 21 21 include $(DIR_MORPHEO)/Behavioural/Makefile. defs22 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 22 23 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 23 24 include $(DIR_MORPHEO)/Behavioural/Makefile.Component -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/SelfTest/Makefile
r15 r23 24 24 25 25 include ../Makefile.deps 26 include $(DIR_MORPHEO)/Behavioural/Makefile. defs26 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 27 27 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 28 28 include $(DIR_MORPHEO)/Behavioural/Makefile.Selftest -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/SelfTest/configuration.cfg
r15 r23 1 1 RegisterFile_Monolithic 2 18 *2 # nb_port_read2 2 8 *2 # nb_port_read 3 3 1 4 *2 # nb_port_write 4 64256 *2 # nb_word4 32 256 *2 # nb_word 5 5 32 32 *2 # size_word -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/SelfTest/mkf.info
r6 r23 1 1 2 # RegisterFile_ 343 target_dep all RegisterFile_ 34.ngc4 target_dep RegisterFile_ 34.ngc RegisterFile_34.prj5 target_dep RegisterFile_ 34.prj RegisterFile_34_Pack.vhdl RegisterFile_34.vhdl2 # RegisterFile_Monolithic_0 3 target_dep all RegisterFile_Monolithic_0.ngc 4 target_dep RegisterFile_Monolithic_0.ngc RegisterFile_Monolithic_0.prj 5 target_dep RegisterFile_Monolithic_0.prj RegisterFile_Monolithic_0_Pack.vhdl RegisterFile_Monolithic_0.vhdl 6 6 7 # RegisterFile_ 358 target_dep all RegisterFile_ 35.ngc9 target_dep RegisterFile_ 35.ngc RegisterFile_35.prj10 target_dep RegisterFile_ 35.prj RegisterFile_35_Pack.vhdl RegisterFile_35.vhdl7 # RegisterFile_Monolithic_10 8 target_dep all RegisterFile_Monolithic_10.ngc 9 target_dep RegisterFile_Monolithic_10.ngc RegisterFile_Monolithic_10.prj 10 target_dep RegisterFile_Monolithic_10.prj RegisterFile_Monolithic_10_Pack.vhdl RegisterFile_Monolithic_10.vhdl 11 11 12 # RegisterFile_Monolithic_11 13 target_dep all RegisterFile_Monolithic_11.ngc 14 target_dep RegisterFile_Monolithic_11.ngc RegisterFile_Monolithic_11.prj 15 target_dep RegisterFile_Monolithic_11.prj RegisterFile_Monolithic_11_Pack.vhdl RegisterFile_Monolithic_11.vhdl 16 17 # RegisterFile_Monolithic_12 18 target_dep all RegisterFile_Monolithic_12.ngc 19 target_dep RegisterFile_Monolithic_12.ngc RegisterFile_Monolithic_12.prj 20 target_dep RegisterFile_Monolithic_12.prj RegisterFile_Monolithic_12_Pack.vhdl RegisterFile_Monolithic_12.vhdl 21 22 # RegisterFile_Monolithic_13 23 target_dep all RegisterFile_Monolithic_13.ngc 24 target_dep RegisterFile_Monolithic_13.ngc RegisterFile_Monolithic_13.prj 25 target_dep RegisterFile_Monolithic_13.prj RegisterFile_Monolithic_13_Pack.vhdl RegisterFile_Monolithic_13.vhdl 26 27 # RegisterFile_Monolithic_14 28 target_dep all RegisterFile_Monolithic_14.ngc 29 target_dep RegisterFile_Monolithic_14.ngc RegisterFile_Monolithic_14.prj 30 target_dep RegisterFile_Monolithic_14.prj RegisterFile_Monolithic_14_Pack.vhdl RegisterFile_Monolithic_14.vhdl 31 32 # RegisterFile_Monolithic_15 33 target_dep all RegisterFile_Monolithic_15.ngc 34 target_dep RegisterFile_Monolithic_15.ngc RegisterFile_Monolithic_15.prj 35 target_dep RegisterFile_Monolithic_15.prj RegisterFile_Monolithic_15_Pack.vhdl RegisterFile_Monolithic_15.vhdl 36 37 # RegisterFile_Monolithic_16 38 target_dep all RegisterFile_Monolithic_16.ngc 39 target_dep RegisterFile_Monolithic_16.ngc RegisterFile_Monolithic_16.prj 40 target_dep RegisterFile_Monolithic_16.prj RegisterFile_Monolithic_16_Pack.vhdl RegisterFile_Monolithic_16.vhdl 41 42 # RegisterFile_Monolithic_17 43 target_dep all RegisterFile_Monolithic_17.ngc 44 target_dep RegisterFile_Monolithic_17.ngc RegisterFile_Monolithic_17.prj 45 target_dep RegisterFile_Monolithic_17.prj RegisterFile_Monolithic_17_Pack.vhdl RegisterFile_Monolithic_17.vhdl 46 47 # RegisterFile_Monolithic_18 48 target_dep all RegisterFile_Monolithic_18.ngc 49 target_dep RegisterFile_Monolithic_18.ngc RegisterFile_Monolithic_18.prj 50 target_dep RegisterFile_Monolithic_18.prj RegisterFile_Monolithic_18_Pack.vhdl RegisterFile_Monolithic_18.vhdl 51 52 # RegisterFile_Monolithic_19 53 target_dep all RegisterFile_Monolithic_19.ngc 54 target_dep RegisterFile_Monolithic_19.ngc RegisterFile_Monolithic_19.prj 55 target_dep RegisterFile_Monolithic_19.prj RegisterFile_Monolithic_19_Pack.vhdl RegisterFile_Monolithic_19.vhdl 56 57 # RegisterFile_Monolithic_1 58 target_dep all RegisterFile_Monolithic_1.ngc 59 target_dep RegisterFile_Monolithic_1.ngc RegisterFile_Monolithic_1.prj 60 target_dep RegisterFile_Monolithic_1.prj RegisterFile_Monolithic_10_Pack.vhdl RegisterFile_Monolithic_10.vhdl RegisterFile_Monolithic_11_Pack.vhdl RegisterFile_Monolithic_11.vhdl RegisterFile_Monolithic_12_Pack.vhdl RegisterFile_Monolithic_12.vhdl RegisterFile_Monolithic_13_Pack.vhdl RegisterFile_Monolithic_13.vhdl RegisterFile_Monolithic_14_Pack.vhdl RegisterFile_Monolithic_14.vhdl RegisterFile_Monolithic_15_Pack.vhdl RegisterFile_Monolithic_15.vhdl RegisterFile_Monolithic_16_Pack.vhdl RegisterFile_Monolithic_16.vhdl RegisterFile_Monolithic_17_Pack.vhdl RegisterFile_Monolithic_17.vhdl RegisterFile_Monolithic_18_Pack.vhdl RegisterFile_Monolithic_18.vhdl RegisterFile_Monolithic_19_Pack.vhdl RegisterFile_Monolithic_19.vhdl RegisterFile_Monolithic_1_Pack.vhdl RegisterFile_Monolithic_1.vhdl 61 62 # RegisterFile_Monolithic_20 63 target_dep all RegisterFile_Monolithic_20.ngc 64 target_dep RegisterFile_Monolithic_20.ngc RegisterFile_Monolithic_20.prj 65 target_dep RegisterFile_Monolithic_20.prj RegisterFile_Monolithic_20_Pack.vhdl RegisterFile_Monolithic_20.vhdl 66 67 # RegisterFile_Monolithic_21 68 target_dep all RegisterFile_Monolithic_21.ngc 69 target_dep RegisterFile_Monolithic_21.ngc RegisterFile_Monolithic_21.prj 70 target_dep RegisterFile_Monolithic_21.prj RegisterFile_Monolithic_21_Pack.vhdl RegisterFile_Monolithic_21.vhdl 71 72 # RegisterFile_Monolithic_22 73 target_dep all RegisterFile_Monolithic_22.ngc 74 target_dep RegisterFile_Monolithic_22.ngc RegisterFile_Monolithic_22.prj 75 target_dep RegisterFile_Monolithic_22.prj RegisterFile_Monolithic_22_Pack.vhdl RegisterFile_Monolithic_22.vhdl 76 77 # RegisterFile_Monolithic_23 78 target_dep all RegisterFile_Monolithic_23.ngc 79 target_dep RegisterFile_Monolithic_23.ngc RegisterFile_Monolithic_23.prj 80 target_dep RegisterFile_Monolithic_23.prj RegisterFile_Monolithic_23_Pack.vhdl RegisterFile_Monolithic_23.vhdl 81 82 # RegisterFile_Monolithic_24 83 target_dep all RegisterFile_Monolithic_24.ngc 84 target_dep RegisterFile_Monolithic_24.ngc RegisterFile_Monolithic_24.prj 85 target_dep RegisterFile_Monolithic_24.prj RegisterFile_Monolithic_24_Pack.vhdl RegisterFile_Monolithic_24.vhdl 86 87 # RegisterFile_Monolithic_25 88 target_dep all RegisterFile_Monolithic_25.ngc 89 target_dep RegisterFile_Monolithic_25.ngc RegisterFile_Monolithic_25.prj 90 target_dep RegisterFile_Monolithic_25.prj RegisterFile_Monolithic_25_Pack.vhdl RegisterFile_Monolithic_25.vhdl 91 92 # RegisterFile_Monolithic_26 93 target_dep all RegisterFile_Monolithic_26.ngc 94 target_dep RegisterFile_Monolithic_26.ngc RegisterFile_Monolithic_26.prj 95 target_dep RegisterFile_Monolithic_26.prj RegisterFile_Monolithic_26_Pack.vhdl RegisterFile_Monolithic_26.vhdl 96 97 # RegisterFile_Monolithic_27 98 target_dep all RegisterFile_Monolithic_27.ngc 99 target_dep RegisterFile_Monolithic_27.ngc RegisterFile_Monolithic_27.prj 100 target_dep RegisterFile_Monolithic_27.prj RegisterFile_Monolithic_27_Pack.vhdl RegisterFile_Monolithic_27.vhdl 101 102 # RegisterFile_Monolithic_28 103 target_dep all RegisterFile_Monolithic_28.ngc 104 target_dep RegisterFile_Monolithic_28.ngc RegisterFile_Monolithic_28.prj 105 target_dep RegisterFile_Monolithic_28.prj RegisterFile_Monolithic_28_Pack.vhdl RegisterFile_Monolithic_28.vhdl 106 107 # RegisterFile_Monolithic_29 108 target_dep all RegisterFile_Monolithic_29.ngc 109 target_dep RegisterFile_Monolithic_29.ngc RegisterFile_Monolithic_29.prj 110 target_dep RegisterFile_Monolithic_29.prj RegisterFile_Monolithic_29_Pack.vhdl RegisterFile_Monolithic_29.vhdl 111 112 # RegisterFile_Monolithic_2 113 target_dep all RegisterFile_Monolithic_2.ngc 114 target_dep RegisterFile_Monolithic_2.ngc RegisterFile_Monolithic_2.prj 115 target_dep RegisterFile_Monolithic_2.prj RegisterFile_Monolithic_20_Pack.vhdl RegisterFile_Monolithic_20.vhdl RegisterFile_Monolithic_21_Pack.vhdl RegisterFile_Monolithic_21.vhdl RegisterFile_Monolithic_22_Pack.vhdl RegisterFile_Monolithic_22.vhdl RegisterFile_Monolithic_23_Pack.vhdl RegisterFile_Monolithic_23.vhdl RegisterFile_Monolithic_24_Pack.vhdl RegisterFile_Monolithic_24.vhdl RegisterFile_Monolithic_25_Pack.vhdl RegisterFile_Monolithic_25.vhdl RegisterFile_Monolithic_26_Pack.vhdl RegisterFile_Monolithic_26.vhdl RegisterFile_Monolithic_27_Pack.vhdl RegisterFile_Monolithic_27.vhdl RegisterFile_Monolithic_28_Pack.vhdl RegisterFile_Monolithic_28.vhdl RegisterFile_Monolithic_29_Pack.vhdl RegisterFile_Monolithic_29.vhdl RegisterFile_Monolithic_2_Pack.vhdl RegisterFile_Monolithic_2.vhdl 116 117 # RegisterFile_Monolithic_30 118 target_dep all RegisterFile_Monolithic_30.ngc 119 target_dep RegisterFile_Monolithic_30.ngc RegisterFile_Monolithic_30.prj 120 target_dep RegisterFile_Monolithic_30.prj RegisterFile_Monolithic_30_Pack.vhdl RegisterFile_Monolithic_30.vhdl 121 122 # RegisterFile_Monolithic_31 123 target_dep all RegisterFile_Monolithic_31.ngc 124 target_dep RegisterFile_Monolithic_31.ngc RegisterFile_Monolithic_31.prj 125 target_dep RegisterFile_Monolithic_31.prj RegisterFile_Monolithic_31_Pack.vhdl RegisterFile_Monolithic_31.vhdl 126 127 # RegisterFile_Monolithic_32 128 target_dep all RegisterFile_Monolithic_32.ngc 129 target_dep RegisterFile_Monolithic_32.ngc RegisterFile_Monolithic_32.prj 130 target_dep RegisterFile_Monolithic_32.prj RegisterFile_Monolithic_32_Pack.vhdl RegisterFile_Monolithic_32.vhdl 131 132 # RegisterFile_Monolithic_33 133 target_dep all RegisterFile_Monolithic_33.ngc 134 target_dep RegisterFile_Monolithic_33.ngc RegisterFile_Monolithic_33.prj 135 target_dep RegisterFile_Monolithic_33.prj RegisterFile_Monolithic_33_Pack.vhdl RegisterFile_Monolithic_33.vhdl 136 137 # RegisterFile_Monolithic_34 138 target_dep all RegisterFile_Monolithic_34.ngc 139 target_dep RegisterFile_Monolithic_34.ngc RegisterFile_Monolithic_34.prj 140 target_dep RegisterFile_Monolithic_34.prj RegisterFile_Monolithic_34_Pack.vhdl RegisterFile_Monolithic_34.vhdl 141 142 # RegisterFile_Monolithic_35 143 target_dep all RegisterFile_Monolithic_35.ngc 144 target_dep RegisterFile_Monolithic_35.ngc RegisterFile_Monolithic_35.prj 145 target_dep RegisterFile_Monolithic_35.prj RegisterFile_Monolithic_35_Pack.vhdl RegisterFile_Monolithic_35.vhdl 146 147 # RegisterFile_Monolithic_3 148 target_dep all RegisterFile_Monolithic_3.ngc 149 target_dep RegisterFile_Monolithic_3.ngc RegisterFile_Monolithic_3.prj 150 target_dep RegisterFile_Monolithic_3.prj RegisterFile_Monolithic_30_Pack.vhdl RegisterFile_Monolithic_30.vhdl RegisterFile_Monolithic_31_Pack.vhdl RegisterFile_Monolithic_31.vhdl RegisterFile_Monolithic_32_Pack.vhdl RegisterFile_Monolithic_32.vhdl RegisterFile_Monolithic_33_Pack.vhdl RegisterFile_Monolithic_33.vhdl RegisterFile_Monolithic_34_Pack.vhdl RegisterFile_Monolithic_34.vhdl RegisterFile_Monolithic_35_Pack.vhdl RegisterFile_Monolithic_35.vhdl RegisterFile_Monolithic_3_Pack.vhdl RegisterFile_Monolithic_3.vhdl 151 152 # RegisterFile_Monolithic_4 153 target_dep all RegisterFile_Monolithic_4.ngc 154 target_dep RegisterFile_Monolithic_4.ngc RegisterFile_Monolithic_4.prj 155 target_dep RegisterFile_Monolithic_4.prj RegisterFile_Monolithic_4_Pack.vhdl RegisterFile_Monolithic_4.vhdl 156 157 # RegisterFile_Monolithic_5 158 target_dep all RegisterFile_Monolithic_5.ngc 159 target_dep RegisterFile_Monolithic_5.ngc RegisterFile_Monolithic_5.prj 160 target_dep RegisterFile_Monolithic_5.prj RegisterFile_Monolithic_5_Pack.vhdl RegisterFile_Monolithic_5.vhdl 161 162 # RegisterFile_Monolithic_6 163 target_dep all RegisterFile_Monolithic_6.ngc 164 target_dep RegisterFile_Monolithic_6.ngc RegisterFile_Monolithic_6.prj 165 target_dep RegisterFile_Monolithic_6.prj RegisterFile_Monolithic_6_Pack.vhdl RegisterFile_Monolithic_6.vhdl 166 167 # RegisterFile_Monolithic_7 168 target_dep all RegisterFile_Monolithic_7.ngc 169 target_dep RegisterFile_Monolithic_7.ngc RegisterFile_Monolithic_7.prj 170 target_dep RegisterFile_Monolithic_7.prj RegisterFile_Monolithic_7_Pack.vhdl RegisterFile_Monolithic_7.vhdl 171 172 # RegisterFile_Monolithic_8 173 target_dep all RegisterFile_Monolithic_8.ngc 174 target_dep RegisterFile_Monolithic_8.ngc RegisterFile_Monolithic_8.prj 175 target_dep RegisterFile_Monolithic_8.prj RegisterFile_Monolithic_8_Pack.vhdl RegisterFile_Monolithic_8.vhdl 176 177 # RegisterFile_Monolithic_9 178 target_dep all RegisterFile_Monolithic_9.ngc 179 target_dep RegisterFile_Monolithic_9.ngc RegisterFile_Monolithic_9.prj 180 target_dep RegisterFile_Monolithic_9.prj RegisterFile_Monolithic_9_Pack.vhdl RegisterFile_Monolithic_9.vhdl 181 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/Makefile
r15 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../.. 10 DIR_COMPONENT = . 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 #-----[ Library ]------------------------------------------ … … 19 20 @$(MAKE) all_component 20 21 21 include $(DIR_MORPHEO)/Behavioural/Makefile. defs22 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 22 23 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 23 24 include $(DIR_MORPHEO)/Behavioural/Makefile.Component -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/Makefile
r15 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../.. 10 DIR_COMPONENT = . 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 #-----[ Library ]------------------------------------------ … … 19 20 @$(MAKE) all_component 20 21 21 include $(DIR_MORPHEO)/Behavioural/Makefile. defs22 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 22 23 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 23 24 include $(DIR_MORPHEO)/Behavioural/Makefile.Component -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/SelfTest/Makefile
r15 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../../../.. 10 DIR_COMPONENT = .. 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 LIBRARY = $(RegisterFile_Multi_Banked_Glue_LIBRARY) … … 23 24 library_clean : RegisterFile_Multi_Banked_Glue_library_clean 24 25 25 include ../Makefile.deps26 include $(DIR_MORPHEO)/Behavioural/Makefile. defs26 include $(DIR_COMPONENT)/Makefile.deps 27 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 27 28 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 28 29 include $(DIR_MORPHEO)/Behavioural/Makefile.Selftest -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/SelfTest/configuration.cfg
r15 r23 1 1 RegisterFile_Multi_Banked_Glue 2 4 4*2 # nb_port_read2 11 11 *2 # nb_port_read 3 3 4 4 *2 # nb_port_write 4 4 8 8 +1 # size_address 5 5 32 32 *2 # size_word 6 2 2*2 # nb_bank7 2 2*2 # nb_port_read_by_bank6 4 4 *2 # nb_bank 7 3 3 *2 # nb_port_read_by_bank 8 8 2 2 *2 # nb_port_write_by_bank 9 0 1+1 # crossbar9 0 0 +1 # crossbar -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/SelfTest/src/test.cpp
r15 r23 9 9 #define NB_ITERATION 16 10 10 11 #define TEXT(str) do {cout << "<" << name << "> : " << str << endl;} while (0) 11 12 #define LABEL(str) do {cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} " << str << endl; _RegisterFile_Multi_Banked_Glue->vhdl_testbench_label(str);} while (0) 12 13 … … 18 19 morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::Parameters _param) 19 20 { 20 cout << "<" << name << "> : Simulation SystemC" << endl;21 TEXT("Simulation SystemC"); 21 22 22 23 RegisterFile_Multi_Banked_Glue * _RegisterFile_Multi_Banked_Glue = new RegisterFile_Multi_Banked_Glue (name.c_str(), … … 192 193 ********************************************************/ 193 194 194 cout << "<" << name << "> Instanciation of _RegisterFile_Multi_Banked_Glue" << endl;195 TEXT("Instanciation of _RegisterFile_Multi_Banked_Glue"); 195 196 196 197 (*(_RegisterFile_Multi_Banked_Glue->in_CLOCK)) (*(CLOCK)); … … 247 248 248 249 249 cout << "<" << name << "> Start Simulation ............" << endl;250 TEXT("Start Simulation ............"); 250 251 251 252 /******************************************************** … … 265 266 266 267 uint32_t read_in_num_bank [_param._nb_port_read]; // Number of bank 267 //Tcontrol_t read_in_valid [_param._nb_port_read]; 268 Tcontrol_t read_is_busy [_param._nb_port_read]; 269 bool read_out_find [_param._nb_bank][_param._nb_port_read_by_bank]; 270 uint32_t read_out_port [_param._nb_bank][_param._nb_port_read_by_bank]; 271 268 272 Tcontrol_t read_in_ack [_param._nb_port_read]; // to test 269 273 Tdata_t read_in_data [_param._nb_port_read]; // to test 270 274 Tcontrol_t read_out_val [_param._nb_bank][_param._nb_port_read_by_bank]; 271 Tcontrol_t read_out_ack [_param._nb_bank][_param._nb_port_read_by_bank];272 275 Taddress_t read_out_address [_param._nb_bank][_param._nb_port_read_by_bank]; 273 Tcontrol_t read_is_busy [_param._nb_port_read]; 274 Tcontrol_t read_select_val [_param._nb_bank][_param._nb_port_read ]; 275 Tcontrol_t read_select_ack [_param._nb_bank][_param._nb_port_read ]; 276 Tcontrol_t read_select_val [_param._nb_bank][_param._nb_port_read_by_bank][_param._nb_port_read]; 276 277 277 278 LABEL("Loop of Test"); … … 281 282 LABEL("Iteration "+toString(iteration)); 282 283 283 LABEL("Test read_in");284 //LABEL("Test read_in"); 284 285 285 286 // Write in interface "read_in" … … 287 288 { 288 289 read_in_num_bank [i] = rand() % _param._nb_bank; 289 Tcontrol_t read_in_val id= (rand() % 2) != 0;290 Tcontrol_t read_in_val = (rand() % 2) != 0; 290 291 291 292 Taddress_t address = (read_in_num_bank[i] << _param._shift_address) | (gen_mask<Taddress_t>(_param._size_address-_param._shift_address) & i); 292 293 293 read_is_busy [i] = (read_in_valid == 0); 294 read_in_ack [i] = 0; 295 read_in_data [i] = 0; 296 READ_IN_VAL [i]->write(read_in_valid); 297 READ_IN_ADDRESS [i]->write(address); 298 299 for (uint32_t j=0; j<_param._nb_bank; j++) 300 read_select_ack [j][i] = 0; 294 read_is_busy [i] = (read_in_val == 0); // invalid = busy 295 read_in_ack [i] = 0; // init 296 read_in_data [i] = 0; // init 297 READ_IN_VAL [i]->write(read_in_val); // write signal 298 READ_IN_ADDRESS [i]->write(address); // write signal 301 299 } 302 300 303 for (uint32_t i=0; i<_param._nb_bank; i++)304 for (uint32_t j=0; j<_param._nb_port_read_by_bank; j++)305 {306 read_out_ack [i][j] = (rand() % 2) != 0;307 READ_OUT_ACK [i][j]->write(read_out_ack [i][j]);308 READ_OUT_DATA [i][j]->write((j<<1)|1); // (j<<1)|1 afin de n'avoir jamais 0309 }310 311 301 // compute the good read_select 312 302 for (uint32_t i=0; i<_param._nb_bank; i++) 313 303 for (uint32_t j=0; j<_param._nb_port_read_by_bank; j++) 314 304 { 305 Tcontrol_t read_out_ack = (rand() % 2) != 0; 306 READ_OUT_ACK [i][j]->write(read_out_ack); 307 READ_OUT_DATA [i][j]->write((j<<1)|1); // (j<<1)|1 afin de n'avoir jamais 0 308 309 read_out_find [i][j] = false; 310 read_out_port [i][j] = 0; 311 312 read_out_val [i][j] = 0; 313 read_out_address [i][j] = 0; 314 315 315 bool find = false; // have find a port_in to link with this port_out 316 316 for (uint32_t k=0; k<_param._nb_port_select_by_bank_read_port[j]; k++) 317 317 { 318 319 318 uint32_t num_port; // number of port 320 319 … … 323 322 num_port = k; 324 323 else 325 num_port = _param._link_port_read [i];326 327 read_select_val [i][ num_port] = read_out_ack [i][j] && not read_is_busy [num_port];328 329 if ((read_out_ack [i][j] == 0) || find) 330 read_select_ack [i][num_port] = 0; // read_out is busy or alreadyfind331 else324 num_port = k*_param._nb_port_read_by_bank+j; 325 326 read_select_val [i][j][k] = read_out_ack and not read_is_busy [num_port] and (read_in_num_bank[num_port] == i); // select val if port is not busy and out accept a data 327 Tcontrol_t read_select_ack = 0; 328 329 // test a previous find 330 if (not ((read_out_ack == 0) || find)) 332 331 { 333 332 // find a busy port? 334 find = not read_is_busy [num_port];335 read_is_busy [num_port]|= find;336 read_select_ack [i][num_port] = find;333 find = read_select_val; 334 read_is_busy [num_port]|= find; // port became busy if find 335 read_select_ack = find; // ack if find 337 336 338 337 if (find) 339 338 { 339 read_out_find [i][j] = true; 340 read_out_port [i][j] = num_port; 341 342 // know the good output 340 343 read_in_ack [num_port] = 1; 341 344 read_in_data [num_port] = ((j<<1)|1); 342 345 read_out_val [i][j] = 1; 343 read_out_address [i][j] = ( read_in_num_bank[i] << _param._shift_address) | (gen_mask<Taddress_t>(_param._size_address-_param._shift_address) & i);346 read_out_address [i][j] = (i << _param._shift_address) | (gen_mask<Taddress_t>(_param._size_address-_param._shift_address) & num_port); 344 347 } 345 348 } 346 349 347 READ_SELECT_ACK [i][j][k]->write(read_select_ack [i][num_port]);350 READ_SELECT_ACK [i][j][k]->write(read_select_ack); 348 351 } 349 352 } … … 352 355 sc_start(1); 353 356 354 // // lot of test 355 // public : SC_OUT(Tcontrol_t) ** out_READ_IN_ACK ; 356 // public : SC_OUT(Tdata_t ) ** out_READ_IN_DATA ; 357 358 // public : SC_OUT(Tcontrol_t) **** out_READ_SELECT_VAL ; 359 360 // public : SC_OUT(Tcontrol_t) *** out_READ_OUT_VAL ; 361 // public : SC_OUT(Taddress_t) *** out_READ_OUT_ADDRESS ; 357 // test output 358 359 TEXT ("===== Test Output ====="); 360 for (uint32_t i=0; i<_param._nb_port_read; i++) 361 { 362 TEXT ("Read_in [" << i << "] : " 363 << READ_IN_VAL [i]->read() << "," 364 << read_in_ack [i] << " - " 365 << "Reg[" << READ_IN_ADDRESS [i]->read() << "] -> " 366 << read_in_data [i] << " " 367 << "{bank : " << read_in_num_bank[i] << "}" 368 ); 369 370 TEST (Tcontrol_t, read_in_ack [i], READ_IN_ACK [i]->read()); 371 if (READ_IN_VAL [i]->read() and READ_IN_ACK [i]->read()) 372 TEST (Tdata_t , read_in_data [i], READ_IN_DATA [i]->read()); 373 } 374 375 cout << endl; 376 for (uint32_t i=0; i<_param._nb_bank; i++) 377 for (uint32_t j=0; j<_param._nb_port_read_by_bank; j++) 378 { 379 TEXT ("Read_out [" << i << "][" << j << "] : " 380 << read_out_val [i][j] << "," 381 << READ_OUT_ACK [i][j]->read() << " - " 382 << "Reg[" << read_out_address [i][j] << "] -> " 383 << READ_OUT_DATA [i][j]->read() << " - " 384 << "[" << read_out_find [i][j]<< " , " 385 << read_out_port [i][j] << "]" 386 ); 387 388 TEST (Tcontrol_t, read_out_val [i][j], READ_OUT_VAL [i][j]->read()); 389 if (READ_OUT_VAL [i][j]->read() and READ_OUT_ACK [i][j]->read()) 390 TEST (Taddress_t, read_out_address [i][j], READ_OUT_ADDRESS [i][j]->read()); 391 392 for (uint32_t k=0; k<_param._nb_port_select_by_bank_read_port[j]; k++) 393 { 394 uint32_t num_port; // number of port 395 396 // compute the good number of port 397 if (_param._crossbar == FULL_CROSSBAR) 398 num_port = k; 399 else 400 num_port = k*_param._nb_port_read_by_bank+j; 401 402 TEXT (" * Read_select [" << i << "][" << j << "][" << k << "] : " 403 << read_select_val [i][j][k] << "," 404 << READ_SELECT_ACK [i][j][k]->read() << " - " 405 << "link with read_in[" << num_port << "]" 406 ); 407 408 TEST (Tcontrol_t, read_select_val [i][j][k], READ_SELECT_VAL [i][j][k]->read()); 409 } 410 411 412 413 } 362 414 363 415 } 416 417 sc_start(0); 364 418 365 419 /******************************************************** … … 367 421 ********************************************************/ 368 422 369 cout << "<" << name << "> ............ Stop Simulation" << endl;423 TEXT("............ Stop Simulation"); 370 424 371 425 delete CLOCK; 372 426 427 TEXT("delete read_in"); 373 428 for (uint32_t i=0; i<_param._nb_port_read; i++) 374 429 { 430 // TEXT("1, i " << i); 375 431 delete READ_IN_VAL [i]; 432 // TEXT("2"); 376 433 delete READ_IN_ACK [i]; 434 // TEXT("3"); 377 435 delete READ_IN_ADDRESS [i]; 436 // TEXT("4"); 378 437 delete READ_IN_DATA [i]; 438 // TEXT("5"); 379 439 } 380 440 … … 384 444 delete READ_IN_DATA ; 385 445 446 TEXT("delete read_select"); 386 447 for (uint32_t i=0; i<_param._nb_bank; i++) 387 448 { … … 402 463 delete READ_SELECT_ACK; 403 464 465 TEXT("delete read_out"); 404 466 for (uint32_t i=0; i<_param._nb_bank; i++) 405 467 { … … 423 485 delete READ_OUT_DATA ; 424 486 487 TEXT("delete write_in"); 425 488 for (uint32_t i=0; i<_param._nb_port_write; i++) 426 489 { … … 436 499 delete WRITE_IN_DATA ; 437 500 501 TEXT("delete write_select"); 438 502 for (uint32_t i=0; i<_param._nb_bank; i++) 439 503 { … … 454 518 delete WRITE_SELECT_ACK; 455 519 520 TEXT("delete write_out"); 456 521 for (uint32_t i=0; i<_param._nb_bank; i++) 457 522 { … … 477 542 #endif 478 543 544 479 545 delete _RegisterFile_Multi_Banked_Glue; 480 546 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/include/Parameters.h
r15 r23 63 63 public : const uint32_t _shift_address ; 64 64 65 public : uint32_t * _link_port_read ;66 public : uint32_t * _link_port_ write;67 68 public : uint32_t * _ nb_port_select_by_bank_read_port;69 public : uint32_t * _ nb_port_select_by_bank_write_port;65 // A lot of table to the partial crossbar 66 public : uint32_t * _link_port_read_in_to_out ; 67 public : uint32_t * _link_port_read_in_to_select ; 68 public : uint32_t * _link_port_write_in_to_out ; 69 public : uint32_t * _link_port_write_in_to_select; 70 70 71 71 //-----[ methods ]----------------------------------------------------------- … … 82 82 public : ~Parameters () ; 83 83 84 public : string msg_error (void);84 public : string msg_error (void); 85 85 86 86 public : string print (uint32_t depth); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/include/RegisterFile_Multi_Banked_Glue.h
r15 r23 119 119 120 120 #ifdef SYSTEMC 121 // function pointer 122 public : uint32_t (morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::*link_port_read_in_to_out ) (uint32_t, uint32_t); 123 public : uint32_t (morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::*link_port_read_in_to_select ) (uint32_t, uint32_t); 124 public : uint32_t (morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::*link_port_write_in_to_out ) (uint32_t, uint32_t); 125 public : uint32_t (morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::*link_port_write_in_to_select) (uint32_t, uint32_t); 126 127 public : uint32_t full_crossbar_link_port_read_in_to_out (uint32_t num_port, uint32_t num_bank); 128 public : uint32_t full_crossbar_link_port_read_in_to_select (uint32_t num_port, uint32_t num_bank); 129 public : uint32_t full_crossbar_link_port_write_in_to_out (uint32_t num_port, uint32_t num_bank); 130 public : uint32_t full_crossbar_link_port_write_in_to_select (uint32_t num_port, uint32_t num_bank); 131 public : uint32_t partial_crossbar_link_port_read_in_to_out (uint32_t num_port, uint32_t num_bank); 132 public : uint32_t partial_crossbar_link_port_read_in_to_select (uint32_t num_port, uint32_t num_bank); 133 public : uint32_t partial_crossbar_link_port_write_in_to_out (uint32_t num_port, uint32_t num_bank); 134 public : uint32_t partial_crossbar_link_port_write_in_to_select (uint32_t num_port, uint32_t num_bank); 135 121 136 private : void allocation (void); 122 137 private : void deallocation (void); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/src/Parameters.cpp
r15 r23 31 31 _nb_port_write_by_bank (nb_port_write_by_bank), 32 32 _crossbar (crossbar ), 33 _shift_address ( static_cast<uint32_t>(ceil(log2(_nb_bank))))33 _shift_address (_size_address-static_cast<uint32_t>(ceil(log2(_nb_bank)))) 34 34 { 35 35 log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"Parameters","Begin"); … … 39 39 // All port_src is connected with one port_dest on each bank 40 40 41 _link_port_read = new uint32_t [_nb_port_read ]; 42 for (uint32_t i=0; i<_nb_port_read ; i++) 43 _link_port_read [i] = i%_nb_port_read_by_bank; 41 _link_port_read_in_to_out = new uint32_t [_nb_port_read ]; 42 _link_port_read_in_to_select = new uint32_t [_nb_port_read ]; 43 _link_port_write_in_to_out = new uint32_t [_nb_port_write]; 44 _link_port_write_in_to_select = new uint32_t [_nb_port_write]; 45 uint32_t _nb_port_select_by_bank_read_port [_nb_port_read_by_bank ]; 46 uint32_t _nb_port_select_by_bank_write_port [_nb_port_write_by_bank]; 47 48 // init 49 for (uint32_t i=0; i<_nb_port_read_by_bank ;i++) 50 _nb_port_select_by_bank_read_port [i] = 0; 51 52 for (uint32_t i=0; i<_nb_port_read ;i++) 53 { 54 uint32_t x = i%_nb_port_read_by_bank; 55 _link_port_read_in_to_out [i] = x; 56 _link_port_read_in_to_select [i] = _nb_port_select_by_bank_read_port [x]; 57 _nb_port_select_by_bank_read_port [x] ++; 58 } 44 59 45 _link_port_write = new uint32_t [_nb_port_write]; 46 for (uint32_t i=0; i<_nb_port_write; i++) 47 _link_port_write [i] = i%_nb_port_write_by_bank; 60 // init 61 for (uint32_t i=0; i<_nb_port_write_by_bank ;i++) 62 _nb_port_select_by_bank_write_port [i] = 0; 63 64 for (uint32_t i=0; i<_nb_port_write ;i++) 65 { 66 uint32_t x = i%_nb_port_write_by_bank; 67 _link_port_write_in_to_out [i] = x; 68 _link_port_write_in_to_select [i] = _nb_port_select_by_bank_write_port [x]; 69 _nb_port_select_by_bank_write_port [x] ++; 70 } 48 71 } 49 72 // else : don't allocate 50 73 51 _nb_port_select_by_bank_read_port = new uint32_t [_nb_port_read_by_bank ];52 53 if (_crossbar == FULL_CROSSBAR)54 // All port_src is connected with all port_dest on each bank55 for (uint32_t i=0; i<_nb_port_read_by_bank ;i++)56 _nb_port_select_by_bank_read_port [i] = _nb_port_read;57 else58 // All port_src is connected with one port_dest on each bank59 {60 for (uint32_t i=0; i<_nb_port_read_by_bank ;i++)61 _nb_port_select_by_bank_read_port [i] = 0;62 63 for (uint32_t i=0; i<_nb_port_read ;i++)64 _nb_port_select_by_bank_read_port [_link_port_read [i]] ++;65 }66 67 _nb_port_select_by_bank_write_port = new uint32_t [_nb_port_write_by_bank];68 69 if (_crossbar == FULL_CROSSBAR)70 // All port_src is connected with all port_dest on each bank71 for (uint32_t i=0; i<_nb_port_write_by_bank ;i++)72 _nb_port_select_by_bank_write_port [i] = _nb_port_write;73 else74 // All port_src is connected with one port_dest on each bank75 {76 for (uint32_t i=0; i<_nb_port_write_by_bank ;i++)77 _nb_port_select_by_bank_write_port [i] = 0;78 79 for (uint32_t i=0; i<_nb_port_write ;i++)80 _nb_port_select_by_bank_write_port [_link_port_write[i]] ++;81 }82 83 74 test(); 84 75 log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"Parameters","End"); … … 97 88 { 98 89 log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"Parameters (copy)","Begin"); 99 100 _nb_port_select_by_bank_read_port = new uint32_t [_nb_port_read_by_bank ];101 for (uint32_t i=0; i<_nb_port_read_by_bank; i++)102 _nb_port_select_by_bank_read_port [i] = param._nb_port_select_by_bank_read_port [i];103 104 _nb_port_select_by_bank_write_port = new uint32_t [_nb_port_write_by_bank ];105 for (uint32_t i=0; i<_nb_port_write_by_bank; i++)106 _nb_port_select_by_bank_write_port[i] = param._nb_port_select_by_bank_write_port [i];107 108 90 test(); 109 91 log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"Parameters (copy)","End"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/src/RegisterFile_Multi_Banked_Glue.cpp
r15 r23 33 33 log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"RegisterFile_Multi_Banked_Glue","Begin"); 34 34 35 #ifdef SYSTEMC 36 // write function pointer 37 if (_crossbar == PARTIAL_CROSSBAR) 38 { 39 link_port_read_in_to_out = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::partial_crossbar_link_port_read_in_to_out ; 40 link_port_read_in_to_select = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::partial_crossbar_link_port_read_in_to_select ; 41 link_port_write_in_to_out = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::partial_crossbar_link_port_write_in_to_out ; 42 link_port_write_in_to_select = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue::partial_crossbar_link_port_write_in_to_select; 43 } 44 else 45 { 46 link_port_read_in_to_out = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue:: full_crossbar_link_port_read_in_to_out ; 47 link_port_read_in_to_select = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue:: full_crossbar_link_port_read_in_to_select ; 48 link_port_write_in_to_out = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue:: full_crossbar_link_port_write_in_to_out ; 49 link_port_write_in_to_select = &morpheo::behavioural::generic::registerfile::registerfile_multi_banked::registerfile_multi_banked_glue::RegisterFile_Multi_Banked_Glue:: full_crossbar_link_port_write_in_to_select; 50 } 51 #endif 52 35 53 #ifdef STATISTICS 36 54 log_printf(INFO,RegisterFile_Multi_Banked_Glue,"RegisterFile_Multi_Banked_Glue","Allocation of statistics"); … … 66 84 67 85 allocation (); 68 86 69 87 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 70 88 log_printf(INFO,RegisterFile_Multi_Banked_Glue,"RegisterFile_Multi_Banked_Glue","Method - transition"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/src/RegisterFile_Multi_Banked_Glue_genMealy_read_in.cpp
r15 r23 9 9 #include "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/include/RegisterFile_Multi_Banked_Glue.h" 10 10 11 namespace morpheo 11 namespace morpheo { 12 12 namespace behavioural { 13 13 namespace generic { … … 16 16 namespace registerfile_multi_banked_glue { 17 17 18 19 18 void RegisterFile_Multi_Banked_Glue::genMealy_read_in (void) 20 19 { 21 20 log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"genMealy_read_in","Begin"); 22 21 23 for (uint32_t l=0; l<_param._nb_port_read; l++)22 for (uint32_t i=0; i<_param._nb_port_read; i++) 24 23 { 25 uint32_t num_bank = PORT_READ(in_READ_IN_ADDRESS [l])>>_param._shift_address;24 log_printf(ALL,RegisterFile_Multi_Banked_Glue,"genMealy_read_in","read_in [%d]",i); 26 25 26 uint32_t num_bank = PORT_READ(in_READ_IN_ADDRESS [i])>>_param._shift_address; 27 uint32_t num_port_out = *link_port_read_in_to_out (i,num_bank); 28 uint32_t num_port_select = *link_port_read_in_to_select (i,num_bank); 29 30 if (_param._crossbar == FULL_CROSSBAR) 31 { 32 // scearch in all possible destination the good 33 // if not found : num_port = 0 34 for (num_port = _param._nb_port_read_by_bank-1; num_port > 0; num_port --) 35 { 36 log_printf(ALL,RegisterFile_Multi_Banked_Glue,"genMealy_read_in","test read_out_port %d",num_port); 37 38 for (uint32_t j=0; j<_param._nb_port_select_by_bank_read_port [num_port]; j++) 39 { 40 log_printf(ALL,RegisterFile_Multi_Banked_Glue,"genMealy_read_in","test read_out_select %d",j); 41 if (PORT_READ(in_READ_SELECT_ACK [num_bank][num_port][j])==1) 42 goto end_FULL_CROSSBAR; 43 } 44 } 45 } 46 47 end_FULL_CROSSBAR : 48 49 log_printf(TRACE,RegisterFile_Multi_Banked_Glue,"genMealy_read_in","read_in [%d] address : %.8x - num_bank %d, num_port %d",i,static_cast<uint32_t>(PORT_READ(in_READ_IN_ADDRESS [i])),num_bank,num_port); 50 51 PORT_WRITE(out_READ_IN_ACK [i],PORT_READ(in_READ_SELECT_ACK [num_bank][num_port])); 52 PORT_WRITE(out_READ_IN_DATA [i],PORT_READ(in_READ_OUT_DATA [num_bank][num_port])); 27 53 // (*(out_READ_IN_ACK [l])) (*(in_READ_IN_ADDRESS [i][j])); 28 54 // (*(out_READ_IN_DATA [l])) (*(in_READ_IN_ADDRESS [i][j])); 29 30 // for (uint32_t i=0; i<_param._nb_bank; i++)31 // for (uint32_t j=0; j<_param._nb_port_read_by_bank; j++)32 // {33 // (*(out_READ_IN_ACK [l])) (*(in_READ_OUT_ACK [i][j]));34 // (*(out_READ_IN_DATA [l])) (*(in_READ_OUT_DATA [i][j]));35 // for (uint32_t k=0; k<_param._nb_port_select_by_bank_read_port[j]; k++)36 // {37 // (*(out_READ_IN_ACK [l])) (*(in_READ_SELECT_ACK [i][j][k]));38 // (*(out_READ_IN_DATA [l])) (*(in_READ_SELECT_ACK [i][j][k]));39 // }40 // }41 55 } 42 56 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/SelfTest/Makefile
r15 r23 24 24 25 25 include ../Makefile.deps 26 include $(DIR_MORPHEO)/Behavioural/Makefile. defs26 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 27 27 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 28 28 include $(DIR_MORPHEO)/Behavioural/Makefile.Selftest -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile
r15 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../.. 10 DIR_COMPONENT = . 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 #-----[ Library ]------------------------------------------ … … 19 20 @$(MAKE) all_component 20 21 21 include $(DIR_MORPHEO)/Behavioural/Makefile. defs22 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 22 23 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 23 24 include $(DIR_MORPHEO)/Behavioural/Makefile.Component -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/SelfTest/Makefile
r15 r23 24 24 25 25 include ../Makefile.deps 26 include $(DIR_MORPHEO)/Behavioural/Makefile. defs26 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 27 27 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 28 28 include $(DIR_MORPHEO)/Behavioural/Makefile.Selftest -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/Makefile
r2 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../.. 10 DIR_COMPONENT = . 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 #-----[ Library ]------------------------------------------ … … 19 20 @$(MAKE) all_component 20 21 21 include $(DIR_MORPHEO)/Behavioural/Makefile. defs22 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 22 23 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 23 24 include $(DIR_MORPHEO)/Behavioural/Makefile.Component -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/SelfTest/Makefile
r2 r23 24 24 25 25 include ../Makefile.deps 26 include $(DIR_MORPHEO)/Behavioural/Makefile. defs26 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 27 27 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 28 28 include $(DIR_MORPHEO)/Behavioural/Makefile.Selftest -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile
r15 r23 8 8 9 9 #-----[ Directory ]---------------------------------------- 10 DIR_MORPHEO = ../../../.. 10 DIR_COMPONENT = . 11 include $(DIR_COMPONENT)/Makefile.defs 11 12 12 13 #-----[ Library ]------------------------------------------ … … 18 19 @$(MAKE) all_component 19 20 20 include $(DIR_MORPHEO)/Behavioural/Makefile. defs21 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 21 22 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 22 23 include $(DIR_MORPHEO)/Behavioural/Makefile.Component -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/SelfTest/Makefile
r15 r23 24 24 25 25 include ../Makefile.deps 26 include $(DIR_MORPHEO)/Behavioural/Makefile. defs26 include $(DIR_MORPHEO)/Behavioural/Makefile.flags 27 27 include $(DIR_MORPHEO)/Behavioural/Makefile.Common 28 28 include $(DIR_MORPHEO)/Behavioural/Makefile.Selftest
Note: See TracChangeset
for help on using the changeset viewer.