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

<<< Previous CBOLD Reference Home Next >>>

 

3. Source Files

3.1. CBOLD Files

File Name Description
cb_base.h
cb_base.cpp
Core CBOLD classes.
cb_shorthand.h
cb_shorthand.cpp
Shorthand operators such as << and ^.
cb_prop.h
cb_prop.cpp
Property classes.
cb_imp_spec.h
cb_imp_spec.cpp
Code specific to particular implementations (i.e., compilers), e.g., any code that depends on behavior not defined in the C++ standard.
cb_user_pref.h
User preferences. Only in rare cases should the user need to modify this file.
cb_views.h
cb_views.cpp
Symbolic netlist generator.
cb_dummy_device.h
Dummy device file generator for Allegro® layout tools.
cb_netlist_al3p.h
cb_netlist_al3p.cpp
Netlist generator compatible with Allegro® third party format.
cb_netlist_pp.h
cb_netlist_pp.cpp
Netlist generator compatible with PADS® layout tools.
cb_xconstraints.h
cb_xconstraints.cpp
Pin location (LOC) constraint file generator compatible with Xilinx® development tools.
cb_char_bucket.h
Utilities for CBOLD internal use.

3.2. User C++ Files

Each design requires only one user-coded .cpp file. This is the file that contains the main() function for the design. The file is usually named after the design. For example, crb.cpp for the CRB example design.

A large design will typically have several user-coded .h files. These contain the definitions of user types such as modules and bundles.

In addition, there is one .h file for each .pt file. These .h files contain definitions of part classes and are typically located in a library directory and generated by the pt_to_h Support Tool.

3.3. User Part Files

Part (.pt) files are described in detail in the pt_to_h Support Tool documentation. They are text files that describe parts.

3.4. User Designator Text Files

Designator text files are described in detail in the Reference Designators section. They are text files that list the symbolic path of some or all parts in a design along with each part's reference designator. Their use is optional. A typical application for designator text files is overriding automatic reference designator assignments. E.g., the CRB example design uses crb_old_designators.txt to manually specify reference designators that match slot numbers and standard backplane nomenclature (J5/J6).

 

<<< Previous CBOLD Reference Home Next >>>

Legal Copyright © 2007 by Coolquest, Inc. Contact