Last change
on this file since 56 was
40,
checked in by rosiere, 17 years ago
|
Interface et Signal, c'est deux classes enregistres la valeurs des signaux à chaque cycle ... étape préparatoire avan le changement de la classe Vhdl_Testbench
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Parameters.h" |
---|
9 | #include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Types.h" |
---|
10 | #include <sstream> |
---|
11 | using namespace std; |
---|
12 | |
---|
13 | namespace morpheo { |
---|
14 | namespace behavioural { |
---|
15 | namespace generic { |
---|
16 | namespace select { |
---|
17 | namespace select_priority_fixed { |
---|
18 | |
---|
19 | |
---|
20 | string Parameters::msg_error(void) |
---|
21 | { |
---|
22 | log_printf(FUNC,Select_Priority_Fixed,"msg_error","Begin"); |
---|
23 | |
---|
24 | string msg = ""; |
---|
25 | |
---|
26 | if ((_encoding_one_hot or _encoding_compact) == false) |
---|
27 | { |
---|
28 | msg += " - you must select a less one encoding\n"; |
---|
29 | msg += " * encoding_one_hot : " + toString(_encoding_one_hot) + "\n"; |
---|
30 | msg += " * encoding_compact : " + toString(_encoding_compact) + "\n"; |
---|
31 | } |
---|
32 | |
---|
33 | log_printf(FUNC,Select_Priority_Fixed,"msg_error","End"); |
---|
34 | |
---|
35 | return msg; |
---|
36 | }; |
---|
37 | |
---|
38 | }; // end namespace select_priority_fixed |
---|
39 | }; // end namespace select |
---|
40 | }; // end namespace generic |
---|
41 | }; // end namespace behavioural |
---|
42 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.