Last change
on this file since 40 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:
817 bytes
|
Rev | Line | |
---|
[2] | 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 | |
---|
[40] | 22 | _interfaces->testbench(_vhdl_testbench); |
---|
[2] | 23 | |
---|
| 24 | // add_test : |
---|
| 25 | // - True : the cycle must be compare with the output of systemC |
---|
| 26 | // - False : no test |
---|
| 27 | _vhdl_testbench->add_test(true); |
---|
| 28 | |
---|
| 29 | _vhdl_testbench->new_cycle (); // always at the end |
---|
| 30 | |
---|
| 31 | log_printf(FUNC,@COMPONENT,"vhdl_testbench_transition","End"); |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | @NAMESPACE_END |
---|
| 35 | }; // end namespace behavioural |
---|
| 36 | }; // end namespace morpheo |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.