Ignore:
Timestamp:
Jan 30, 2008, 5:24:14 PM (16 years ago)
Author:
rosiere
Message:

New component : Read_unit (instance between a write queue and a optionnal execute_queue)

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/Makefile.deps

    r71 r74  
    1414endif
    1515
     16#-----[ Directory ]----------------------------------------
     17
     18@COMPONENT_DIR                  =       $(DIR_MORPHEO)/Behavioural/@DIRECTORY
     19
    1620#-----[ Library ]------------------------------------------
    1721@COMPONENT_LIBRARY              =       -l@COMPONENT    \
    1822                                        $(Behavioural_LIBRARY) 
    1923
    20 @COMPONENT_DIR_LIBRARY          =       -L$(DIR_MORPHEO)/Behavioural/@DIRECTORY/lib     \
     24@COMPONENT_DIR_LIBRARY          =       -L$(@COMPONENT_DIR)/lib \
    2125                                        $(Behavioural_DIR_LIBRARY)
    2226
     
    2731#-----[ Rules ]--------------------------------------------
    2832
    29 .NOTPARALLEL                    : @COMPONENT_library @COMPONENT_library_clean
     33#.NOTPARALLEL                   : @COMPONENT_library @COMPONENT_library_clean
    3034
    3135@COMPONENT_library              : $(@COMPONENT_DEPENDENCIES)
    3236                                @\
    33                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/@DIRECTORY --makefile=Makefile;
     37                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile;
    3438
    3539@COMPONENT_library_clean        : $(@COMPONENT_CLEAN)
    3640                                @\
    37                                 $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/@DIRECTORY --makefile=Makefile clean;
     41                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile clean;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h

    r71 r74  
    4545
    4646#ifdef STATISTICS
    47   private   : Stat                           * _stat;
     47  public    : Stat                           * _stat;
    4848#endif
    4949
     
    8484  public  :          ~@COMPONENT             (void);
    8585                                               
    86   private : void     allocation                (void);
    87   private : void     deallocation              (void);
     86  private : void        allocation                (
     87#ifdef STATISTICS
     88                                                   morpheo::behavioural::Parameters_Statistics * param_statistics
     89#else
     90                                                   void
     91#endif
     92                                                   );
     93  private : void        deallocation              (void);
    8894                                               
    8995#ifdef SYSTEMC                                 
    90 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    91   public  : void     transition                (void);
    92 //#endif
     96  public  : void        transition                (void);
     97//public  : void        genMoore                  (void);
    9398#endif                                         
    9499#ifdef STATISTICS
    95100  public  : void        statistics_declaration    (morpheo::behavioural::Parameters_Statistics * param_statistics);
    96   public  : std::string statistics_print          (uint32_t depth);
    97101#endif
    98102                                               
    99103#if VHDL                                       
    100   public  : void     vhdl                      (void);
    101   private : void     vhdl_declaration          (Vhdl * & vhdl);
    102   private : void     vhdl_body                 (Vhdl * & vhdl);
     104  public  : void        vhdl                      (void);
     105  private : void        vhdl_declaration          (Vhdl * & vhdl);
     106  private : void        vhdl_body                 (Vhdl * & vhdl);
    103107#endif                                         
    104108                                               
    105109#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    106   private : void     end_cycle                 (void);
     110  private : void        end_cycle                 (void);
    107111#endif
    108112  };
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component.cpp

    r71 r74  
    3434
    3535    log_printf(INFO,@COMPONENT,FUNCTION,"Allocation");
    36     allocation ();
     36
     37    allocation (
     38#ifdef STATISTICS
     39                param_statistics
     40#endif
     41                );
    3742
    3843#ifdef STATISTICS
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_allocation.cpp

    r73 r74  
    1616#undef  FUNCTION
    1717#define FUNCTION "@COMPONENT::allocation"
    18   void @COMPONENT::allocation (void)
     18  void @COMPONENT::allocation (
     19#ifdef STATISTICS
     20                               morpheo::behavioural::Parameters_Statistics * param_statistics
     21#else
     22                               void
     23#endif
     24                               )
    1925  {
    2026    string rename;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp

    r73 r74  
    11#ifdef SYSTEMC
    2 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    32/*
    43 * $Id$
     
    3130}; // end namespace morpheo             
    3231#endif
    33 //#endif
Note: See TracChangeset for help on using the changeset viewer.