





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about digital logic design and memory encoding as presented in the georgia institute of technology, school of electrical and computer engineering, ece 2030 course, section c, homework 4. Topics such as binary, one-hot, and gray coded states, tradeoffs of different encoding methods, and memory organization for various memory sizes. Students are expected to complete exercises related to these concepts.
Typology: Assignments
1 / 9
This page cannot be seen from the preview
Don't miss anything!






b) One-hot states
P3 P2 P1 P0 X N3 N2 N1 N0 Z 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 1 0 1 __ N 3 = P 2 X
N 2 = P 1 X + P 2 X
**N 1 = P 0 X + P 3 X
N 0 = P 0 X + P 1 X + P 3 X**
Z = P 3 X
c) Gray Coded States
P1 P0 X N1 N0 Z 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 1 1 1 0 1 1 0 1 0 0 1 1 1 1 1 0 1 0 0 0 0 0 1 0 1 0 1 1
Tradeoffs โ One-hot encoding: Highest space requirements (4 Flip-Flops); Low propagation time. Gray code encoding: Low space requirements (2 Flip-Flops); Low propagation time. Binary encoding: Low space requirements (2 Flip-Flops), Highest propagation time.
b) 32Mwords, address into each word. Each word is 4 bytes => Need 32M rows of 32 bits each. Use 32/4 = 8 chips. Since 32M = 2^5 .2^20 = 2^25 use the first 25 pins address pins and ground the other 3. These address pins will again be shared across all chips because we want to address into same-index rows in all chips.
c) 16Mwords, address into each word. Each word is 8 bytes => Need 16M rows of 64 bits each. Use 64/4 = 16 chips. Since 16M = 2^4 .2^20 = 2^24 use the first 24 shared address pins and ground the other 4 shared address pins.
4. Student Exercise
.data .globl initials initials: label1: .asciiz "***********************************" label2: .asciiz "* " label3: .asciiz " Your Name " label4: .asciiz " ECE 2030 Assignment 1 " label5: .asciiz " Section X " label6: .asciiz " 04/2008 " label7: .space 7 label8: .byte 0,1,2,3,4,5,6,7, .align 2 label9: .word 0x4400, label10: .asciiz " *" label11: .asciiz "***********************************"
newline: .asciiz "\n"