source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/src/RegisterFile_vhdl.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 735 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/include/RegisterFile.h"
10#include "Behavioural/include/Vhdl.h"
11#include "Include/ToString.h"
12namespace morpheo                    {
13namespace behavioural                {
14namespace generic                    {
15namespace registerfile               {
16
17  void RegisterFile::vhdl (void)
18  {
19    Vhdl vhdl (_name);
20
21    vhdl.set_library_work (_name + "_Pack");
22
23    vhdl_port   (vhdl);
24    vhdl_type   (vhdl);
25    vhdl_signal (vhdl);
26    vhdl_body   (vhdl);
27
28    vhdl.generate_file();
29  };
30
31}; // end namespace registerfile
32}; // end namespace generic
33}; // end namespace behavioural         
34}; // end namespace morpheo             
35#endif
Note: See TracBrowser for help on using the repository browser.