Last change
on this file since 140 was
113,
checked in by rosiere, 15 years ago
|
1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile
|
-
Property svn:keywords set to
Id
|
File size:
745 bytes
|
Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id: Counter_statistics_declaration.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Counter/include/Counter.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace counter { |
---|
15 | |
---|
16 | #undef FUNCTION |
---|
17 | #define FUNCTION "Counter::statistics_declaration" |
---|
18 | void Counter::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics) |
---|
19 | { |
---|
20 | log_printf(FUNC,Counter,FUNCTION,"Begin"); |
---|
21 | |
---|
22 | _stat = new Stat (static_cast<std::string>(_name), |
---|
23 | _param->_type, |
---|
24 | param_statistics); |
---|
25 | |
---|
26 | log_printf(FUNC,Counter,FUNCTION,"End"); |
---|
27 | }; |
---|
28 | |
---|
29 | }; // end namespace counter |
---|
30 | }; // end namespace generic |
---|
31 | |
---|
32 | }; // end namespace behavioural |
---|
33 | }; // end namespace morpheo |
---|
34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.