Last change
on this file since 115 was
108,
checked in by rosiere, 16 years ago
|
1) decod_queue : add reg_LAST_SLOT.
2) Commit : insert on event -> to pop decod_queue. Head test : add information (speculative or not)
3) Context State / UPT : Branch miss and Load miss in same cycle.
4) Free List : Bank is on LSB not MSB.
5) Platforms : move data
|
-
Property svn:keywords set to
Id
|
File size:
1009 bytes
|
Rev | Line | |
---|
[108] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id: Front_end_Glue_genMealy_nb_inst.cpp 108 2009-02-12 11:55:06Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/include/Front_end_Glue.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_front_end { |
---|
| 15 | namespace front_end { |
---|
| 16 | namespace front_end_glue { |
---|
| 17 | |
---|
| 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "Front_end_Glue::genMealy_nb_inst" |
---|
| 20 | void Front_end_Glue::genMealy_nb_inst (void) |
---|
| 21 | { |
---|
| 22 | log_begin(Front_end_Glue,FUNCTION); |
---|
| 23 | |
---|
| 24 | for (uint32_t i=0; i<_param->_nb_context; ++i) |
---|
| 25 | { |
---|
| 26 | Tcounter_t nb_inst = PORT_READ(in_NB_INST_DECOD_UNIT_DECOD_ALL [i]); |
---|
| 27 | |
---|
| 28 | PORT_WRITE(out_NB_INST_DECOD_ALL [i], nb_inst); |
---|
| 29 | PORT_WRITE(out_NB_INST_CONTEXT_STATE_DECOD_ALL [i], nb_inst); |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | log_end(Front_end_Glue,FUNCTION); |
---|
| 33 | }; |
---|
| 34 | |
---|
| 35 | }; // end namespace front_end_glue |
---|
| 36 | }; // end namespace front_end |
---|
| 37 | }; // end namespace multi_front_end |
---|
| 38 | }; // end namespace core |
---|
| 39 | |
---|
| 40 | }; // end namespace behavioural |
---|
| 41 | }; // end namespace morpheo |
---|
| 42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.