Changeset 106 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Context_State/src/Parameters.cpp
- Timestamp:
- Feb 9, 2009, 11:55:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Context_State/src/Parameters.cpp
r98 r106 22 22 uint32_t nb_decod_unit, 23 23 uint32_t nb_inst_branch_complete, 24 uint32_t * size_depth,24 uint32_t * nb_inst_branch_speculated, 25 25 uint32_t size_general_data, 26 26 uint32_t * size_nb_inst_decod, … … 34 34 _nb_decod_unit = nb_decod_unit ; 35 35 _nb_inst_branch_complete = nb_inst_branch_complete ; 36 _ array_size_depth = size_depth;36 _nb_inst_branch_speculated = nb_inst_branch_speculated ; 37 37 // _size_general_data = size_general_data ; 38 38 // _size_nb_inst_decod = size_nb_inst_decod ; … … 45 45 { 46 46 _size_context_id = log2(_nb_context); 47 _size_depth = log2(max<uint32_t>( size_depth,_nb_context));47 _size_depth = log2(max<uint32_t>(nb_inst_branch_speculated,_nb_context)); 48 48 _size_general_data = size_general_data; 49 49 _size_instruction_address = size_general_data-2;
Note: See TracChangeset
for help on using the changeset viewer.