User Guides for the core project

Core Parser

See CoreParser_standalone or CoreToXml application for an example of Core parser usage

Core Parser stand alone application

CoreParser_Standalone input_cdl_file

where:

         input_cdl_file is a file that contains the core program

Core to XML translation application

CoreToXml [ -flat ] input_cdl_file

where:

        -falt                    an optional flag that instructs the program to flat the core program before the creation of XML file. Currently this option is inactive.

        input_cdl_file    is a file that contains the core program

The result XML program will be in the file input_cdl_file.xml

Tree 2.0 utility

In order to create the Tree one should perform the following operations:

  1. Include "moduletree.h" file in the file where the tree will be created.
  2. Tree is created by the following lines :

Flat 2.0 utility

Flattening the entire core program

In order to flat the entire core program write:

extern CoreProgram* CoreDataStructure;

CoreProgram* FlattenedProgram = FlatCoreProgram(CoreDataStructure,"InputCDLFileName","XMLCDLFileName","FlattenedCDLFileName");

Flattenins sub-set of a core program

In order to flat sub-set of a core program (part of the tree) write:

  1. Create Tree by writing:
  2. FlatSubTree contains module:

Core data structure to XML

See CoreToXml application as an example for this library usage.