Last change
on this file since 68 was
42,
checked in by rosiere, 17 years ago
|
Modification des classes d'encapsulation des interfaces :
- gère les signaux à écrire dans le vhdl
- les traces pour le testbench
- la génération des vhdl structurelles
-> test sur la Pattern History Table
|
File size:
573 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef SYSTEMC |
---|
| 2 | #if (defined(STATISTICS) || defined (VHDL_TESTBENCH)) |
---|
| 3 | /* |
---|
| 4 | * $Id$ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include "Behavioural/Generic/Shifter/include/Shifter.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace generic { |
---|
| 15 | namespace shifter { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | void Shifter::transition (void) |
---|
| 19 | { |
---|
| 20 | #ifdef STATISTICS |
---|
| 21 | _stat->add(); |
---|
| 22 | #endif |
---|
| 23 | |
---|
| 24 | #ifdef VHDL_TESTBENCH |
---|
[42] | 25 | vhdl_testbench_transition (); |
---|
[2] | 26 | #endif |
---|
| 27 | }; |
---|
| 28 | |
---|
| 29 | }; // end namespace shifter |
---|
| 30 | }; // end namespace generic |
---|
| 31 | }; // end namespace behavioural |
---|
| 32 | }; // end namespace morpheo |
---|
| 33 | #endif |
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.