Last change
on this file since 120 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
1.0 KB
|
Line | |
---|
1 | #ifdef SYSTEMC |
---|
2 | /* |
---|
3 | * $Id: Front_end_Glue_genMealy_decod.cpp 88 2008-12-10 18:31:39Z 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_decod" |
---|
20 | void Front_end_Glue::genMealy_decod (void) |
---|
21 | { |
---|
22 | log_begin(Front_end_Glue,FUNCTION); |
---|
23 | |
---|
24 | // Warning : this function is an sc_method if _have_port_context_id |
---|
25 | |
---|
26 | for (uint32_t i=0; i<_param->_nb_decod_unit; ++i) |
---|
27 | for (uint32_t j=0; j<_param->_nb_inst_decod[i]; ++j) |
---|
28 | PORT_WRITE(out_DECOD_CONTEXT_ID [i][j],_param->_translate_context_id_from_decod_unit[i][PORT_READ(in_DECOD_DECOD_UNIT_CONTEXT_ID [i][j])]); |
---|
29 | |
---|
30 | log_end(Front_end_Glue,FUNCTION); |
---|
31 | }; |
---|
32 | |
---|
33 | }; // end namespace front_end_glue |
---|
34 | }; // end namespace front_end |
---|
35 | }; // end namespace multi_front_end |
---|
36 | }; // end namespace core |
---|
37 | |
---|
38 | }; // end namespace behavioural |
---|
39 | }; // end namespace morpheo |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.