source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_vhdl.cpp @ 100

Last change on this file since 100 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[4]1#ifdef VHDL
2/*
3 * $Id: Meta_Predictor_Glue_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
[48]9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/include/Meta_Predictor_Glue.h"
[4]10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo {
13namespace behavioural {
[48]14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace prediction_unit {
18namespace direction {
19
[4]20namespace meta_predictor {
21namespace meta_predictor_glue {
22
23
24  void Meta_Predictor_Glue::vhdl (void)
25  {
26    log_printf(FUNC,Meta_Predictor_Glue,"vhdl","Begin");
27
[44]28    Vhdl * vhdl = new Vhdl (_name);
[4]29
[44]30    _interfaces->set_port     (vhdl);
31    _component ->vhdl_instance(vhdl);
32
[4]33    vhdl_declaration (vhdl);
34    vhdl_body        (vhdl);
35
[44]36    vhdl->generate_file();
37
38    delete vhdl;
39
[4]40    log_printf(FUNC,Meta_Predictor_Glue,"vhdl","End");
41  };
42
43}; // end namespace meta_predictor_glue
44}; // end namespace meta_predictor
[48]45
46}; // end namespace core
47}; // end namespace multi_front_end
48}; // end namespace front_end
49}; // end namespace prediction_unit
50}; // end namespace direction
51
[4]52}; // end namespace behavioural
53}; // end namespace morpheo             
54#endif
Note: See TracBrowser for help on using the repository browser.