CIS-77 Home http://www.c-jump.com/CIS77/CIS77syllabus.htm
All combinational logic circuits discussed so far did not store any information, functioning purely as decision elements.
However, other logic structures are able to capture and store the information.
How could we store 1 bit of information in a logical circuit?
|
|
Also, as long as S=1 and R=1, the state of the circuit will not change:
R-S latch stores the value 1, which is the value of output a=1.
|
|
New terminology:
To set a variable means setting it equal to 0 or 1.
To clear variable means setting it equal to 0.
|
|
|
|
One problem with the basic RS NAND latch is that the input levels must be sitting idle at logic 1.
It would be helpful, as well as more intuitive, if we could have normal inputs idle at logic 0, and go to logic 1 only to change the latch value.
See also:
|
|
Abbreviation WE stands for write enable.
If WE is not asserted, (set to 0), both inputs S and R are equal to 0, and the value of R-S latch remains unchanged.
|
|
|
|
Four-bit register contains 4 D-latches and stores values Q3, Q2, Q1, Q0.
Values D3, D2, D1, D0 can be written into the register when WE is asserted.
Common shorthand notation for a sequence of bits is Q[3:0].
The rightmost bit is written as bit[0].
For n bit-sized register the leftmost bit is written as bit[n-1].
A subunit of a register is called a field, written as Q[l:r], specifying (left:right) bit range.
In our course we always assume that bit numbering goes from right to left, starting with zero.
Computer memory is made up of a large number of locations.
Each memory location is uniquely identifiable.
Each location has an ability to store a value.
Unique identifier of memory location is referred to as address.
The number of bits stored at each location is characterized as addressability.
Total number of unique memory locations will be referred to as address space.
Just like data values, addresses internally are represented by binary numbers.
If address size is n bits, it has a potential to identify 2n unique memory locations.
|
|
|
|
|
|
|
|
|
|