Public Member Functions | Public Attributes | Private Member Functions

risc::Design Class Reference

#include <design.h>

List of all members.

Public Member Functions

 Design (int argc, char *argv[])
 default constructor
 ~Design ()
void initialize_defintions ()
void initialize_declarations ()
void initialize_top_modules ()
void print_all_class_definitions ()
void print_all_primitive_channel_definitions ()
void print_all_hierarchical_channel_definitions ()
void print_all_events ()
void print_all_threads ()
void print_all_cthreads ()
void print_all_methods ()
void print_all_functions ()
void print_design ()
Modulefind_module_definition (SgClassDefinition *cd)

Public Attributes

ModuleVector module_definitions_
ModuleInstanceVector top_modules_
PrimitiveChannelVector primitive_channel_
HierarchicalChannelVector hierarchical_channel_
EventVector events_
VariableVector variables_
ThreadVector threads_
CThreadVector cthreads_
MethodVector methods_
FunctionVector functions_
SgProject * project_
SgFunctionDeclaration * main_
SgClassDefinition * sc_module_
 Pointer to the sc_module definition in the rose ast tree.
SgClassDefinition * sc_port_
SgClassDefinition * sc_port_base_
SgClassDefinition * sc_in_
SgClassDefinition * sc_out_
SgClassDefinition * sc_inout_
SgClassDefinition * sc_event_
SgClassDefinition * sc_channel_
SgClassDefinition * sc_prim_channel_
SgFunctionDeclaration * sc_main_
 Pointer to the sc_main function declaration.

Private Member Functions

 Design (const Design &d)
 Disabled copy constructor.

Detailed Description

This class represents the internal representation. The IR offers different interfaces to start search in IR.

Constructor & Destructor Documentation

risc::Design::Design ( int  argc,
char *  argv[] 
) [explicit]

default constructor

argc expects argc from main function
argv expects argv from main function
risc::Design::~Design (  ) 
risc::Design::Design ( const Design d  )  [private]

Disabled copy constructor.

Member Function Documentation

risc::Module * risc::Design::find_module_definition ( SgClassDefinition *  cd  ) 
void risc::Design::initialize_declarations (  ) 
void risc::Design::initialize_defintions (  ) 
void risc::Design::initialize_top_modules (  ) 
void risc::Design::print_all_class_definitions (  ) 
void risc::Design::print_all_cthreads (  ) 
void risc::Design::print_all_events (  ) 
void risc::Design::print_all_functions (  ) 
void risc::Design::print_all_hierarchical_channel_definitions (  ) 
void risc::Design::print_all_methods (  ) 
void risc::Design::print_all_primitive_channel_definitions (  ) 
void risc::Design::print_all_threads (  ) 
void risc::Design::print_design (  ) 

Member Data Documentation

SgFunctionDeclaration* risc::Design::main_
SgClassDefinition* risc::Design::sc_channel_
SgClassDefinition* risc::Design::sc_event_
SgClassDefinition* risc::Design::sc_in_
SgClassDefinition* risc::Design::sc_inout_
SgFunctionDeclaration* risc::Design::sc_main_

Pointer to the sc_main function declaration.

SgClassDefinition* risc::Design::sc_module_

Pointer to the sc_module definition in the rose ast tree.

SgClassDefinition* risc::Design::sc_out_
SgClassDefinition* risc::Design::sc_port_
SgClassDefinition* risc::Design::sc_port_base_
SgClassDefinition* risc::Design::sc_prim_channel_

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs