A Note on Using Modules

The section on building modules detailed information on building one's own custom modules. As presented there, building functional modules requires the use of both lcs::InputBus and lcs::Bus classes. However, to connect a module (functional or block-level) in a circuit, one only needs to use objects of type lcs::Bus to make connections. This is because the class lcs::Bus is derived from the class lcs::InputBus. The notion of an input bus and output bus are relevant (and very much neccessary) only internal to a functional module. External to a module, one needs to use only the lcs::Bus class objects to interconnect modules. All the examples presented in this user guide, and in the set of examples, use only busses of type lcs::Bus to connect up modules in the main() function.
Generated on Sat Oct 14 11:23:40 2006 for libLCS by  doxygen 1.4.7