Ignore:
Timestamp:
Dec 16, 2008, 5:24:26 PM (16 years ago)
Author:
rosiere
Message:

1) Update Prediction Table - New architecture (systemC) done (and tested) -> need change interface in top level
2) Change documentation on VHDL generation
3) Change VHDL constant (case std_logic and std_logic_vector)

File:
1 edited

Legend:

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

    r81 r95  
    2727      std::list<Interface_fifo *>         * list_interface = (_entity)->get_interfaces_list()->get_interface_list();
    2828      std::list<Interface_fifo *>::iterator j              = list_interface->begin();
     29      bool print_comment = false;
    2930      if (not list_interface->empty())
    3031        {
    31           vhdl->set_body ("------------------------------------------------------");
    32           vhdl->set_body ("-- Output's Buffer");
    33           vhdl->set_body ("------------------------------------------------------");
    34          
    3532          while (j != list_interface->end())
    3633            {
     
    4845                           (signal->get_connect_from_signal () != NULL) )
    4946                        {
     47                          if (not print_comment)
     48                            {
     49                              vhdl->set_body ("------------------------------------------------------");
     50                              vhdl->set_body ("-- Output's Buffer");
     51                              vhdl->set_body ("------------------------------------------------------");
     52                             
     53                              print_comment = true;
     54                            }
     55
    5056                          // Create name
    5157                          std::string signal_name = "signal_"+toString(cpt++);
     
    6773              ++j;
    6874            }
    69           vhdl->set_body ("");
    70           vhdl->set_body ("------------------------------------------------------");
    71           vhdl->set_body ("");
     75
     76          if (print_comment)
     77            {
     78              vhdl->set_body ("");
     79              vhdl->set_body ("------------------------------------------------------");
     80              vhdl->set_body ("");
     81            }
    7282        }
    7383    }
Note: See TracChangeset for help on using the changeset viewer.