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

#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"
#include "Behavioural/include/Vhdl.h"

namespace morpheo                    {
namespace behavioural {
namespace stage_1_ifetch {
namespace predictor {
namespace meta_predictor {
namespace two_level_branch_predictor {
namespace branch_history_table {


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

    vhdl.set_library_work (_name + "_Pack");
    vhdl.set_library_work (_name + "_RegisterFile_Pack");
    vhdl.set_library_work (_name + "_Shifter_Pack");

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

    vhdl.generate_file();
  };

}; // end namespace branch_history_table
}; // end namespace two_level_branch_predictor
}; // end namespace meta_predictor
}; // end namespace predictor
}; // end namespace stage_1_ifetch

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