Ignore:
Timestamp:
Mar 6, 2007, 3:34:04 PM (17 years ago)
Author:
kane
Message:

1) Ajout d'un "printer" XML pour la configuration de paramètres

2) Fin du composant "Two_Level_Branch_Predictor"

validation * systemc

  • vhdl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/XML.h

    r2 r3  
    2323  class XML
    2424  {
    25     typedef enum {_none     ,
    26                   _balise   ,
    27                   _singleton,
    28                   _comment  } balise_t;
    29    
    3025    // -----[ fields ]----------------------------------------------------
    31   private  : const string     _filename        ;
     26  private  : const string     _name            ;
    3227  private  : string           _body            ;
    3328  private  : list<string>     _list_balise_name;
    34    
     29
    3530    // -----[ methods ]---------------------------------------------------
    36   public   :                  XML                 (string filename);
    37   public   :                  XML                 (string filename, string encoding);
     31  public   :                  XML                 (string name);
    3832  public   :                  ~XML                (void);
    3933       
     
    4741  public   : bool             attribut            (string name, string value);
    4842
     43  public   : void             generate_file       (void);
     44  public   : void             generate_file       (string encoding);
     45  public   : string           get_body            (void);
     46  public   : string           get_body            (uint32_t depth);
     47
    4948  public   : bool             comment             (string text);
    5049  public   : bool             text                (string text);
     
    5554                                                 
    5655  private  : void             header              (string encoding);
    57                                                  
    58   public   : void             generate_file       (void);
    59   public   : string           get_body            (void);
    6056  };
    6157}; // end namespace behavioural         
Note: See TracChangeset for help on using the changeset viewer.