Ignore:
Timestamp:
Aug 17, 2007, 6:00:56 PM (17 years ago)
Author:
rosiere
Message:

Changement dans le répertoire "New_Component" afin que les composants nouvellement crées peuvent compiler

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_allocation.cpp

    r42 r50  
    2222
    2323    Entity * entity = _component->set_entity (_name       
     24                                              ,"@COMPONENT"
    2425#ifdef POSITION
    25                                               ,"@COMPONENT"
    2626                                              ,COMBINATORY
    2727#endif
     
    4040                                                         );
    4141
    42      in_CLOCK        = interface->set_signal_clk              ("clock" ,1, PORT_VHDL_YES_TESTBENCH_NO);
    43      in_NRESET       = interface->set_signal_in  <Tcontrol_t> ("nreset",1);
    44 
     42     in_CLOCK        = interface->set_signal_clk              ("clock" ,1, CLOCK_VHDL_YES);
     43     in_NRESET       = interface->set_signal_in  <Tcontrol_t> ("nreset",1, RESET_VHDL_YES);
    4544
    4645    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
     
    5049#endif
    5150
    52     Log_printf(FUNC,@COMPONENT,"allocation","End");
     51    log_printf(FUNC,@COMPONENT,"allocation","End");
    5352  };
    5453
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl.cpp

    r42 r50  
    1818    log_printf(FUNC,@COMPONENT,"vhdl","Begin");
    1919
    20     Vhdl vhdl (_name);
     20    Vhdl * vhdl = new Vhdl (_name);
    2121
    2222    _interfaces->set_port(vhdl);
     
    2626    vhdl_body        (vhdl);
    2727
    28     vhdl.generate_file();
     28    vhdl->generate_file();
    2929
    3030    delete vhdl;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_body.cpp

    r2 r50  
    1313@NAMESPACE_BEGIN
    1414
    15   void @COMPONENT::vhdl_body (Vhdl & vhdl)
     15  void @COMPONENT::vhdl_body (Vhdl * & vhdl)
    1616  {
    1717    log_printf(FUNC,@COMPONENT,"vhdl_body","Begin");
    18     vhdl.set_body ("");
     18    vhdl->set_body ("");
    1919    log_printf(FUNC,@COMPONENT,"vhdl_body","End");
    2020  };
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_declaration.cpp

    r2 r50  
    1313@NAMESPACE_BEGIN
    1414
    15   void @COMPONENT::vhdl_declaration (Vhdl & vhdl)
     15  void @COMPONENT::vhdl_declaration (Vhdl * & vhdl)
    1616  {
    1717    log_printf(FUNC,@COMPONENT,"vhdl_declaration","Begin");
Note: See TracChangeset for help on using the changeset viewer.