next up previous contents
Next: The Component Class Up: Hardware Description Using C++ Previous: Hardware Description Using C++

Classification of Circuit Components

When one thinks of circuit elements, a myriad of objects immediately comes to mind. These devices include wires, AND gates, transistors, input and output ports, RS-latches, HIGH and LOW signals and so on. For the purpose of this report, objects which are at the digital level and above will only be considered. Therefore, switch level devices such as transistors will not be considered.

One possible way to classify these numerous objects is to consider all the circuit entities at their highest level of abstraction and attempt to group objects which have similar properties under the same base class. From this, three very general classes are formed:

As alluded to above, linked list classes are required for components and signals. As will be shown in the next section, the need will also arise for a linked list class for I/O ports. Due to the current lack of parameterized types in the C++ language, some duplication of code is necessary to create the three linked list classes. Fortunately, the replication of code is relatively small.




next up previous contents
Next: The Component Class Up: Hardware Description Using C++ Previous: Hardware Description Using C++

Donald Craig
Sat Jul 13 16:02:11 NDT 1996