source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_vhdl.cpp @ 67

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

Ajout d'un nouveau composant : fifo generic (un port lecture et un port ecriture).

File size: 771 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Queue/include/Queue.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace queue {
16
17
18#undef  FUNCTION
19#define FUNCTION "Queue::vhdl"
20  void Queue::vhdl (void)
21  {
22    log_printf(FUNC,Queue,FUNCTION,"Begin");
23
24    Vhdl * vhdl = new Vhdl (_name);
25
26    _interfaces->set_port(vhdl);
27    _component->vhdl_instance(vhdl);
28
29    vhdl_declaration (vhdl);
30    vhdl_body        (vhdl);
31
32    vhdl->generate_file();
33
34    delete vhdl;
35
36    log_printf(FUNC,Queue,FUNCTION,"End");
37  };
38
39}; // end namespace queue
40}; // end namespace generic
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
44#endif
Note: See TracBrowser for help on using the repository browser.