Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Reference Manual cbold_logo_gif

<<< Previous CBOLD Reference Home Next >>>

 

4.1. TPart

TPart is the base class for all electronic components in a design, e.g., integrated circuits, resistors, etc. Classes derived from TPart and instances of such classes are referred to as parts. Typically, part class definitions are automatically generated from part files by the pt_to_h Support Tool. Thus the user is rarely concerned with the internal workings of the TPart class.

4.2. TModule

TModule is the fundamental building block of CBOLD designs. Classes derived from TModule and instances of such classes are referred to as modules. A module is similar to a single page of a multi–page schematic. It can have as members both parts and modules as well as bundles. Internal connections and connections to global nets are made in TModule::Connect(). Connections to the outside world (higher levels of the design's module hierarchy) are made through member ports and/or bundles.

The most fundamental CBOLD design activity is creating descendants of TModule, declaring their member ports, modules, parts, and bundles, and coding internal connections in TModule::Connect().

 

<<< Previous CBOLD Reference Home Next >>>

Legal Copyright © 2007 by Coolquest, Inc. Contact