examples/import/README:
-----------------------

This directory contains an example for simple library
management with SpecC. More specifically, the use of
the 'import' statement is demonstrated.

In the example, a set of adder components, specified in
the Adder subdirectory, is constructed from a library of gates,
defined in the Gate subdirectory. All files are hierarchically
composed together by use of the SpecC 'import' construct.
The file hierarchy is the same as the structural hierarchy
represented by the instantiations of child behaviors inside
parent behaviors.

For execution, the set of adders is validated for correct
functionality in a simple test bench.

The example can be compiled and run as follows:

=> make clean
=> make
=> make test

For more information, please consult the SpecC source codes
and the Makefile.

Have fun!

Rainer Doemer, 05/18/01.
