source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_vhdl_testbench_transition.cpp @ 42

Last change on this file since 42 was 42, checked in by rosiere, 17 years ago

Modification des classes d'encapsulation des interfaces :

  • gère les signaux à écrire dans le vhdl
  • les traces pour le testbench
  • la génération des vhdl structurelles

-> test sur la Pattern History Table

File size: 893 bytes
Line 
1#ifdef VHDL_TESTBENCH
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace stage_1_ifetch {
14namespace predictor {
15namespace meta_predictor {
16namespace two_level_branch_predictor {
17
18
19  void Two_Level_Branch_Predictor::vhdl_testbench_transition ()
20  {
21    log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl_testbench_transition","Begin");
22
23    sc_start(0);
24
25    _interfaces->testbench();
26
27    log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl_testbench_transition","End");
28  };
29
30}; // end namespace two_level_branch_predictor
31}; // end namespace meta_predictor
32}; // end namespace predictor
33}; // end namespace stage_1_ifetch
34
35}; // end namespace behavioural
36}; // end namespace morpheo             
37#endif
Note: See TracBrowser for help on using the repository browser.