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:
564 bytes
|
Rev | Line | |
---|
[31] | 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::find_interface (string name) |
---|
[31] | 14 | { |
---|
| 15 | if (_list_interface->empty()== false) |
---|
| 16 | { |
---|
[40] | 17 | list<Interface_fifo*>::iterator i = _list_interface->begin(); |
---|
[31] | 18 | |
---|
| 19 | while (i != _list_interface->end()) |
---|
| 20 | { |
---|
[38] | 21 | if ((*i)->_name == name) |
---|
| 22 | return (*i); |
---|
[31] | 23 | ++i; |
---|
| 24 | } |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | return NULL; |
---|
| 28 | }; |
---|
| 29 | |
---|
| 30 | }; // end namespace behavioural |
---|
| 31 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.