next up previous
Next: Case Study Up: Class Library Previous: DataPort, IntPort and BoolPort

Other Modeling Library classes

There are a few other general purpose utility classes provided in the library. Four of these are simple and common processes. There are three basic gates provided - GateAndN, GateOrN and GateNot. As the names suggest, these provide ProcessElements which perform simple logical `and', `or' and `not' operations. For `and' and `or', provision is allowed for an indefinite number of inputs. ShiftRegInt provides a shift register for integer values. The final class is HexFormat, which is a very simple output formatter for values in padded hexadecimal, with the length of padding being set by the user.



M.P.J.Landon 2003-05-15