ELEC1601 Week 6 2023
ELEC1601 Week 6 2023
Transistors RAMs/
Gates ROMs Actuators
ALUs
Flip-Flops/ Computer Sensors
Compilers
Registers Architecture Bus
Real-world
Ones and Zeros Words Instructions Programs
interactions
– Half precision
i
i 1
Which answer is correct?
2 25
1
2 25
i 1
– Memory operations:
– Read
– Write
N
Address Array
Data
wordline
bitline bitline
stored wordline
bit
1 1 1 1
n
2 -1
i word[i] = 0011
decoder
j word[j] = 1010
0 n-1
Address
bit lines (normally pulled to 1 through
resistor – selectively connected to 0
by word line controlled switches)
Data
N
Address Array
Data
– How many cells in a 2GB memory, where each cell is 1 Byte.
– 2^30 *2 = 2^31
N
Address Array
Data
– How many cells in a 2GB memory, where each cell is 2 Bytes.
– 2^30 *2 = 2^30
N
Address Array
Data
– How much data can a memory with 10 address bits, 1 byte
cells store?
– 2^10
The University of Sydney Page 52
Memory visualisation
N
Address Array
Data
– 10 bit address, 2-byte cells. How many cells are there in the
memory?
– Options
– Create a symbol to say end of array
• Typically used for strings (null character)
• Not great for integers (already have a 0)
– Store the size
• First put a number
– Do nothing…