source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_allocation.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 652 bytes
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
10
11namespace morpheo                    {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
15  void @COMPONENT::allocation (void)
16  {
17    string rename;
18
19    log_printf(FUNC,@COMPONENT,"allocation","Begin");
20
21    in_CLOCK  = new SC_CLOCK           ("in_CLOCK");
22    in_NRESET = new SC_IN (Tcontrol_t) ("in_NRESET");
23
24    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
25
26    log_printf(FUNC,@COMPONENT,"allocation","End");
27  };
28
29@NAMESPACE_END
30}; // end namespace behavioural
31}; // end namespace morpheo             
32#endif
Note: See TracBrowser for help on using the repository browser.