- A Logic Circuit Simulation Library in C++





lcs Namespace Reference


Detailed Description

All classes in libLCS are defined under the lcs namespace.


Classes

class  And
class  Bus
class  ChangeMonitor
class  Clock
class  DataPtr
class  DFlipFlop
class  Exception
class  FullAdder
class  InputBus
class  Iterator
class  JKFlipFlop
class  Line
class  ListIterator
class  List
class  ListNode
class  ListNodePtr
class  Module
class  MultipleClockException
class  Nand
class  Nor
class  Not
class  NullClockException
class  Or
class  OutOfRangeException
class  Queue
class  ShortCircuitException
class  Simulation
class  SystemTimer
class  Tester
class  TickListener
class  Xor

Enumerations

enum  LineState { LOW = 0, HIGH = 1, UNKNOWN = 2, HIGH_IMPEDENCE = 3 }
enum  LineEvent { LINE_STATE_CHANGE = 1024, LINE_POS_EDGE = 1025, LINE_NEG_EDGE = 1026 }
enum  PulseEdge { POS_EDGE = 2048, NEG_EDGE = 2049 }


Enumeration Type Documentation

enum lcs::LineState

An enumerated set of data types which denote the state of a data line. A line can have four possible states: LOW, HIGH, UNKNOWN, HIGH_IMPEDENCE. Each of these states denote a single bit value.Click on each state to know more about them.

Enumerator:
LOW  A state which denotes a logic level of 0. It is displayed on the screen as the character '0'.
HIGH  A state which denotes a logic level of 1. It is displayed on the screen as the character '1'.
UNKNOWN  A state which denotes an unknown logic level. It is displayed on the screen as the character 'x'.
HIGH_IMPEDENCE  A state which denotes a high imepedence line. It is displayed on the screen as the character 'z'.

enum lcs::LineEvent

An enumeration to define possible of lines events. A line event occurs when the state of a line changes. A line event can occur in three different ways: 1. When the line state changes, 2. When the state of the line is changing from lcs::LOW to lcs::HIGH, and 3. When the state of the line is changing from lcs::HIGH to lcs::LOW.

Enumerator:
LINE_STATE_CHANGE  The value which denotes a line state change event.
LINE_POS_EDGE  The value which denotes positive edge event, or the event of the line state changing from lcs::LOW to lcs::HIGH event.
LINE_NEG_EDGE  The value which denotes negetive edge event, or the event of the line state changing from lcs::HIGH to lcs::LOW event.

enum lcs::PulseEdge

An enumeration to define the two possible edge types of pulse signals.

Enumerator:
POS_EDGE  The value which denotes a positive edge of a pulse signal.
NEG_EDGE  The value which denotes a negetive edge of a pulse signal.


Copyright © 2006, 2007 Siva Chandra