Last change
on this file since 134 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:
714 bytes
|
Rev | Line | |
---|
[42] | 1 | /* |
---|
| 2 | * $Id: Signal_presence_testbench.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Signal.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
[43] | 14 | #undef FUNCTION |
---|
[113] | 15 | #define FUNCTION "Signal::presence_testbench" |
---|
| 16 | bool Signal::presence_testbench (void) |
---|
[42] | 17 | { |
---|
[43] | 18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 19 | |
---|
| 20 | bool _return = ((_presence_port == PORT_VHDL_YES_TESTBENCH_YES) or |
---|
| 21 | (_presence_port == PORT_VHDL_NO_TESTBENCH_YES ) or |
---|
| 22 | (_presence_port == CLOCK_VHDL_YES ) or |
---|
| 23 | (_presence_port == RESET_VHDL_YES ) ); |
---|
| 24 | |
---|
| 25 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 26 | |
---|
| 27 | return _return; |
---|
[42] | 28 | }; |
---|
| 29 | |
---|
| 30 | }; // end namespace behavioural |
---|
| 31 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.