Line | |
---|
1 | #ifdef VHDL_TESTBENCH |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | @NAMESPACE_BEGIN |
---|
14 | |
---|
15 | void @COMPONENT::vhdl_testbench_transition () |
---|
16 | { |
---|
17 | log_printf(FUNC,@COMPONENT,"vhdl_testbench_transition","Begin"); |
---|
18 | |
---|
19 | // Evaluation before read the ouput signal |
---|
20 | sc_start(0); |
---|
21 | |
---|
22 | // In order with file @COMPONENT_vhdl_testbench_port.cpp |
---|
23 | // Warning : if a output depend of a subcomponent, take directly the port of subcomponent |
---|
24 | // (because we have no control on the ordonnancer's policy) |
---|
25 | |
---|
26 | _vhdl_testbench->add_input (PORT_READ( in_NRESET)); |
---|
27 | |
---|
28 | // add_test : |
---|
29 | // - True : the cycle must be compare with the output of systemC |
---|
30 | // - False : no test |
---|
31 | _vhdl_testbench->add_test(true); |
---|
32 | |
---|
33 | _vhdl_testbench->new_cycle (); // always at the end |
---|
34 | |
---|
35 | log_printf(FUNC,@COMPONENT,"vhdl_testbench_transition","End"); |
---|
36 | }; |
---|
37 | |
---|
38 | @NAMESPACE_END |
---|
39 | }; // end namespace behavioural |
---|
40 | }; // end namespace morpheo |
---|
41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.