Last change
on this file since 41 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:
887 bytes
|
Rev | Line | |
---|
[29] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Interfaces.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
[40] | 13 | Interface_fifo * Interfaces::set_interface (string name , |
---|
[31] | 14 | direction_t direction , |
---|
| 15 | localisation_t localisation) |
---|
[29] | 16 | { |
---|
[40] | 17 | Interface_fifo * interface = new Interface_fifo (name, direction, localisation); |
---|
[31] | 18 | |
---|
[38] | 19 | _list_interface->push_back (interface); |
---|
[31] | 20 | |
---|
[38] | 21 | return interface; |
---|
[29] | 22 | }; |
---|
| 23 | |
---|
[40] | 24 | Interface_fifo * Interfaces::set_interface (string name , |
---|
[31] | 25 | direction_t direction , |
---|
| 26 | localisation_t localisation, |
---|
| 27 | string comment ) |
---|
| 28 | { |
---|
[40] | 29 | Interface_fifo * interface = set_interface(name, direction, localisation); |
---|
[31] | 30 | |
---|
| 31 | interface->set_comment (comment); |
---|
[29] | 32 | |
---|
[31] | 33 | return interface; |
---|
| 34 | }; |
---|
| 35 | |
---|
| 36 | |
---|
[29] | 37 | }; // end namespace behavioural |
---|
| 38 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.