Last change
on this file since 42 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:
572 bytes
|
Line | |
---|
1 | # ifdef VHDL_TESTBENCH |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/include/Signal.h" |
---|
10 | |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | |
---|
15 | void Signal::get_name_vhdl (list<string> *& list_signal) |
---|
16 | { |
---|
17 | if ((_presence_port == PORT_VHDL_YES_TESTBENCH_YES) or |
---|
18 | (_presence_port == PORT_VHDL_YES_TESTBENCH_NO ) or |
---|
19 | (_presence_port == CLOCK_VHDL_YES) or |
---|
20 | (_presence_port == RESET_VHDL_YES)) |
---|
21 | list_signal->push_back(_name); |
---|
22 | }; |
---|
23 | |
---|
24 | }; // end namespace behavioural |
---|
25 | }; // end namespace morpheo |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.