Last change
on this file since 114 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:
656 bytes
|
Line | |
---|
1 | #ifdef VHDL_TESTBENCH |
---|
2 | /* |
---|
3 | * $Id: Interface_fifo_testbench_cycle.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/include/Interface_fifo.h" |
---|
10 | #include "Behavioural/include/Entity.h" |
---|
11 | #include "Common/include/Systemc.h" |
---|
12 | |
---|
13 | namespace morpheo { |
---|
14 | namespace behavioural { |
---|
15 | |
---|
16 | void Interface_fifo::testbench_cycle (void) |
---|
17 | { |
---|
18 | log_printf(FUNC,Behavioural,"testbench_cycle","Begin"); |
---|
19 | |
---|
20 | // note : if defined(VHDL_TESTBENCH) then defined(SYSTEMC) |
---|
21 | _list_cycle->push_back(static_cast<uint32_t>(simulation_cycle())); |
---|
22 | |
---|
23 | log_printf(FUNC,Behavioural,"testbench_cycle","End"); |
---|
24 | } |
---|
25 | |
---|
26 | }; // end namespace behavioural |
---|
27 | }; // end namespace morpheo |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.