source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_vhdl_signal.cpp @ 2

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

Import Morpheo

File size: 1.0 KB
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace stage_1_ifetch {
14namespace predictor {
15namespace meta_predictor {
16namespace two_level_branch_predictor {
17namespace pattern_history_table {
18
19
20  void Pattern_History_Table::vhdl_declaration (Vhdl & vhdl)
21  {
22    log_printf(FUNC,Pattern_History_Table,"vhdl_declaration","Begin");
23
24    for (uint32_t i=0; i<_param._nb_branch_complete; i++)
25      vhdl.set_signal  ("signal_BRANCH_COMPLETE_HISTORY_"+toString(i), _param._size_counter);
26
27    log_printf(FUNC,Pattern_History_Table,"vhdl_declaration","End");
28  };
29
30}; // end namespace pattern_history_table
31}; // end namespace two_level_branch_predictor
32}; // end namespace meta_predictor
33}; // end namespace predictor
34}; // end namespace stage_1_ifetch
35
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.