source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_port_map.cpp @ 38

Last change on this file since 38 was 38, checked in by rosiere, 17 years ago

Interface et vhdl_testbench : l'appel aux fonction add_input et add_ouput est maintenant réalisé par la classe Interface (et autre).

2 remarques :

  • tester avec des sous composants (en particulier les sorties d'un est directement relié au sortie d'un autre)
  • Signal_testbench.cpp -> l'optimisé (par exemple pointeur de fonction afin d'éviter le test et le switch)
File size: 539 bytes
Line 
1#ifdef POSITION
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/include/Interface.h"
10
11
12namespace morpheo              {
13namespace behavioural          {
14
15  void Interface::port_map (void * entity,
16                            void * interface)
17  {
18    log_printf(FUNC,Behavioural,"port_map","Begin");
19    _is_map        = true     ;
20    _entity_map    = entity   ;
21    _interface_map = interface;
22    log_printf(FUNC,Behavioural,"port_map","End");
23  };
24
25}; // end namespace behavioural         
26}; // end namespace morpheo             
27#endif
Note: See TracBrowser for help on using the repository browser.