#ifdef VHDL
/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/RegisterFile/include/RegisterFile.h"
#include "Behavioural/include/Vhdl.h"
#include "Include/ToString.h"
namespace morpheo                    {
namespace behavioural                {
namespace generic                    {
namespace registerfile               {

  void RegisterFile::vhdl (void)
  {
    Vhdl vhdl (_name);

    vhdl.set_library_work (_name + "_Pack");

    vhdl_port   (vhdl);
    vhdl_type   (vhdl);
    vhdl_signal (vhdl);
    vhdl_body   (vhdl);

    vhdl.generate_file();
  };

}; // end namespace registerfile 
}; // end namespace generic
}; // end namespace behavioural          
}; // end namespace morpheo              
#endif
