SlideShare a Scribd company logo
1 of 11
1
E&CE 371 - Homework 2 due 11:59 pm, Tues 7/1/14
Please scan your homework solutions and email to grader
([email protected])
with a copy to me ([email protected]).
1. For the each of the statements below, circle the memory
types, from the
list provided, for which the statement is true.
(a) Information in this memory is not lost if the power to the
chip is removed.
RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH
EEPROM
(b) After an initial set of values has been stored in this memory,
it cannot ever
be changed.
RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH
EEPROM
(c) This non-volatile memory can be erased and reprogrammed,
but the entire
contents of the memory must be erased to do this.
RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH
EEPROM
(d) A small section (one byte or possibly a small number of
bytes) of this non-
volatile memory can be erased and reprogrammed, without
having to erase the
entire chip.
RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH
EEPROM
2. How many 1M by 1-bit memory chips would be needed to
implement a
memory system of size 4M by 8 bits?
2
3. (a) A memory system for computer with a 20-bit address bus
is to be
designed so that either one byte or two consecutive bytes
(starting on an even
address) can be accessed on one bus cycle. This memory is to
consist of the
following memory chip pairs:
Memory chip pair Size of chip pair (sum of both members of
pair)
RAM 0 and RAM 1 128K
RAM 2 and RAM 3 128K
RAM 4 and RAM 5 64K
RAM 6 and RAM 7 64K
RAM 8 and RAM 9 128K
RAM 10 and RAM 11 32K
Set up the Address Table that could be used to perform the
Address Table
Method of address decoding for this memory system. DO NOT
DETERMINE THE
CRITICAL ADDRESS LINES FOR THIS PART OF THE
PROBLEM.
Starting A19 A18 A17 A16 A15 A14
A13
Address (in K) ____ ____ ____ ____ ____
____ ____
RAM 0 ____
RAM 1
--------------
RAM 2 ____
RAM 3
--------------
RAM 4 ____
RAM 5
--------------
RAM 6 ____
RAM 7
-------------
RAM 8 ____
RAM 9
-------------
RAM 10 ____
RAM 11
3
(b) For another memory system design problem using the
Address Table Method, the following
Address Table has been set up as shown below. Perform the
next step of design by
placing an asterisk, *, by each "critical address line."
Starting A19 A18 A17 A16 A15 A14
A13
Address (in K) ____ ____ ____ ____ ____
____ ____
RAM 0 ___0___ 0 0 0
RAM 1
----------
RAM 2 __128K__ 0 0 1
RAM 3
----------
RAM 4 __256K__ 0 1
RAM 5
----------
RAM 6 __512K__ 1 0 0 0
RAM 7
---------
RAM 8 __576K__ 1 0 0 1
RAM 9
---------
RAM 10 __640K__ 1 0 1
RAM 11
4
(c) Below is sketched a diagram for one of the chip pairs, RAM
4 and RAM 5, in
the system of part b. Based on your answer to part b, show
how to
interface these memory chips to the Address Bus, Data Bus, and
Control Bus of
the computer. Assume that the Control Bus includes the
following signals:
MEMR*
MEMW*
LSTRB* (same usage as on 256B microcontroller)
Assume that RAM 4 stores the even-addressed bytes and RAM 5
stores the
odd-addressed bytes over the assigned address range.
RAM 4
A0-A16
CS1
CS2
D0-D7
RD WR
RAM 5
A0-A16
CS1
CS2
D0-D7
RD WR
5
4. A memory system for a computer with a 20-bit address bus is
to consist of a total of 608K 8-
bit locations. (Assume that only bytes--not words-- can be
accessed on each read or write.) The
number of bytes contained in each chip is shown below in the
left-most column. Complete the
address table below and determine the minimum set of critical
address lines for interfacing the
chips in this memory system. (Consistent with this approach,
assume that no future expansion of
the memory system is expected.)
Starting A19 A18 A17 A16 A15 A14
Chip Addr ____ ____ ____ ____ ____ ____
Size
64K ROM 0 ________
64K ROM 1 ________
128K ROM 2 ________
256K RAM 0 ________
64K RAM 1 ________
32K RAM 2 ________
(b) If at a later time, an additional 32K RAM is added, starting
at location 608K, which, if any,
of the memory chips involved in the original design would
respond when software is trying to
access a location assigned to the new RAM.
6
5. (a) A pair of 32K x 8-bit EPROM memory chips are used
together to
implement part of the memory system for a computer with an
18-bit external
Address Bus. The computer has the capability of accessing
either byte or word
operands in memory. Given that the Address Table approach
indicates that the
only "critical address line" for interfacing this pair of chips is
A17 = 1, what
overall address range does this pair of chips cover?
(b) Below is shown a block diagram of the pair of EPROM
memory chips
discussed in part a. Based on the information in part a, show
how to interface
these chips to the buses of the computer. (Show what each of
the external
connections in the figure below should be connected to.) Note
that OE stands
for "output enable." The bar over the “OE” indicates that it is a
low-active
signal. Assume that the control bus includes the following
signals:
LSTRB* (same usage as on 256B microcontroller), MEMR*,
and MEMW*
OE CS1 CS2
chip 1
A0-A14 D0-D7
OE CS1 CS2
chip 2
A0-A14 D0-D7
7
(c) From the information in part a, what can we say about the
overall size of the
external memory system being interfaced?
8
6. Consider two different implementations of a memory system
consisting of
dynamic RAM memory chips. In both cases, the total memory
size is 1024K by
8 bits (1M by 8 bits). The time it takes to perform a read,
write, or refresh
operation on the chips in both systems is the same. (Call this
time T1.) The
max time allowed for a complete refresh of both types of chips
is also the same.
(Call this time T2.)
Implementation A is implemented using 256Kx1 bit memory
chips
Implementation B is implemented using 1M x 1 bit memory
chips
If 2% of the available bus time is required for performing
refresh of the memory
chips in System B, what would be the corresponding percentage
required for
refreshing the memory chips in System A? Make clear how you
arrive at your
answer.

More Related Content

Similar to 1 E&CE 371 - Homework 2 due 1159 pm, Tues 7114 .docx

Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chipsAnuj Modi
 
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDLIRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDLIRJET Journal
 
BMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docx
BMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docxBMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docx
BMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docxhartrobert670
 
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic Logic
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic LogicIRJET- Deisgn of Low Power 16x16 Sram with Adiabatic Logic
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic LogicIRJET Journal
 
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCETEC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCETSeshaVidhyaS
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in indiaEdhole.com
 
Low power sram design using block partitioning
Low power sram design using block partitioningLow power sram design using block partitioning
Low power sram design using block partitioningeSAT Publishing House
 
Low power sram design using block partitioning
Low power sram design using block partitioningLow power sram design using block partitioning
Low power sram design using block partitioningeSAT Journals
 
Performance analysis of 3D Finite Difference computational stencils on Seamic...
Performance analysis of 3D Finite Difference computational stencils on Seamic...Performance analysis of 3D Finite Difference computational stencils on Seamic...
Performance analysis of 3D Finite Difference computational stencils on Seamic...Joshua Mora
 
10T Dual-voltage Low Power SRAM Project Report
10T Dual-voltage Low Power SRAM Project Report10T Dual-voltage Low Power SRAM Project Report
10T Dual-voltage Low Power SRAM Project ReportJie Song
 
Advantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAMAdvantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAMIJSRED
 
Advantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAMAdvantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAMIJSRED
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...Editor IJCATR
 

Similar to 1 E&CE 371 - Homework 2 due 1159 pm, Tues 7114 .docx (20)

Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
 
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDLIRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
 
Ch3
Ch3Ch3
Ch3
 
Lecture 40
Lecture 40Lecture 40
Lecture 40
 
BMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docx
BMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docxBMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docx
BMI of Boys and GirlsMF2620292320153732282637222721163222302223211.docx
 
Memoryhierarchy
MemoryhierarchyMemoryhierarchy
Memoryhierarchy
 
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
 
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic Logic
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic LogicIRJET- Deisgn of Low Power 16x16 Sram with Adiabatic Logic
IRJET- Deisgn of Low Power 16x16 Sram with Adiabatic Logic
 
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCETEC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in india
 
UNIT 5 MEMORY.pdf
UNIT 5 MEMORY.pdfUNIT 5 MEMORY.pdf
UNIT 5 MEMORY.pdf
 
Low power sram design using block partitioning
Low power sram design using block partitioningLow power sram design using block partitioning
Low power sram design using block partitioning
 
Low power sram design using block partitioning
Low power sram design using block partitioningLow power sram design using block partitioning
Low power sram design using block partitioning
 
Performance analysis of 3D Finite Difference computational stencils on Seamic...
Performance analysis of 3D Finite Difference computational stencils on Seamic...Performance analysis of 3D Finite Difference computational stencils on Seamic...
Performance analysis of 3D Finite Difference computational stencils on Seamic...
 
10T Dual-voltage Low Power SRAM Project Report
10T Dual-voltage Low Power SRAM Project Report10T Dual-voltage Low Power SRAM Project Report
10T Dual-voltage Low Power SRAM Project Report
 
Advantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAMAdvantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAM
 
Advantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAMAdvantages of 64 Bit 5T SRAM
Advantages of 64 Bit 5T SRAM
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
 

More from joyjonna282

In a 250-300 word response, critically examine your personal level o.docx
In a 250-300 word response, critically examine your personal level o.docxIn a 250-300 word response, critically examine your personal level o.docx
In a 250-300 word response, critically examine your personal level o.docxjoyjonna282
 
In a 10 –12 page paper, identify and analyze the benefits and challe.docx
In a 10 –12 page paper, identify and analyze the benefits and challe.docxIn a 10 –12 page paper, identify and analyze the benefits and challe.docx
In a 10 –12 page paper, identify and analyze the benefits and challe.docxjoyjonna282
 
In a 1-2 page Microsoft Word document, discuss the following case st.docx
In a 1-2 page Microsoft Word document, discuss the following case st.docxIn a 1-2 page Microsoft Word document, discuss the following case st.docx
In a 1-2 page Microsoft Word document, discuss the following case st.docxjoyjonna282
 
In a 16–20 slide PowerPoint presentation (excluding title and refere.docx
In a 16–20 slide PowerPoint presentation (excluding title and refere.docxIn a 16–20 slide PowerPoint presentation (excluding title and refere.docx
In a 16–20 slide PowerPoint presentation (excluding title and refere.docxjoyjonna282
 
In a 1-2 page Microsoft Word document, using APA, discuss the follow.docx
In a 1-2 page Microsoft Word document, using APA, discuss the follow.docxIn a 1-2 page Microsoft Word document, using APA, discuss the follow.docx
In a 1-2 page Microsoft Word document, using APA, discuss the follow.docxjoyjonna282
 
In a 1-2 page paper, discuss how the government, the media, and the .docx
In a 1-2 page paper, discuss how the government, the media, and the .docxIn a 1-2 page paper, discuss how the government, the media, and the .docx
In a 1-2 page paper, discuss how the government, the media, and the .docxjoyjonna282
 
In 2010, plans were announced for the construction of an Islamic cul.docx
In 2010, plans were announced for the construction of an Islamic cul.docxIn 2010, plans were announced for the construction of an Islamic cul.docx
In 2010, plans were announced for the construction of an Islamic cul.docxjoyjonna282
 
In 2011, John Jones, a middle school social science teacher began .docx
In 2011, John Jones, a middle school social science teacher began .docxIn 2011, John Jones, a middle school social science teacher began .docx
In 2011, John Jones, a middle school social science teacher began .docxjoyjonna282
 
In 5-7 pages (double-spaced,) provide a narrative explaining the org.docx
In 5-7 pages (double-spaced,) provide a narrative explaining the org.docxIn 5-7 pages (double-spaced,) provide a narrative explaining the org.docx
In 5-7 pages (double-spaced,) provide a narrative explaining the org.docxjoyjonna282
 
In 2004 the Bush Administration enacted changes to the FLSA and the .docx
In 2004 the Bush Administration enacted changes to the FLSA and the .docxIn 2004 the Bush Administration enacted changes to the FLSA and the .docx
In 2004 the Bush Administration enacted changes to the FLSA and the .docxjoyjonna282
 
In 200-250 wordsGiven the rate of technological chang.docx
In 200-250 wordsGiven the rate of technological chang.docxIn 200-250 wordsGiven the rate of technological chang.docx
In 200-250 wordsGiven the rate of technological chang.docxjoyjonna282
 
in 200 words or more..1  do you use twitter if so , how often do.docx
in 200 words or more..1  do you use twitter if so , how often do.docxin 200 words or more..1  do you use twitter if so , how often do.docx
in 200 words or more..1  do you use twitter if so , how often do.docxjoyjonna282
 
In 200 words or more, answer the following questionsAfter reading .docx
In 200 words or more, answer the following questionsAfter reading .docxIn 200 words or more, answer the following questionsAfter reading .docx
In 200 words or more, answer the following questionsAfter reading .docxjoyjonna282
 
In 2005, serial killer Dennis Rader, also known as BTK, was arrested.docx
In 2005, serial killer Dennis Rader, also known as BTK, was arrested.docxIn 2005, serial killer Dennis Rader, also known as BTK, was arrested.docx
In 2005, serial killer Dennis Rader, also known as BTK, was arrested.docxjoyjonna282
 
In 2003, China sent a person into space. China became just the third.docx
In 2003, China sent a person into space. China became just the third.docxIn 2003, China sent a person into space. China became just the third.docx
In 2003, China sent a person into space. China became just the third.docxjoyjonna282
 
In 250 words briefly describe the adverse effects caused by exposure.docx
In 250 words briefly describe the adverse effects caused by exposure.docxIn 250 words briefly describe the adverse effects caused by exposure.docx
In 250 words briefly describe the adverse effects caused by exposure.docxjoyjonna282
 
In 2.5 pages, compare and contrast health care reform in two differe.docx
In 2.5 pages, compare and contrast health care reform in two differe.docxIn 2.5 pages, compare and contrast health care reform in two differe.docx
In 2.5 pages, compare and contrast health care reform in two differe.docxjoyjonna282
 
In 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docx
In 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docxIn 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docx
In 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docxjoyjonna282
 
In 200-300 words  - How is predation different from parasitism What.docx
In 200-300 words  - How is predation different from parasitism What.docxIn 200-300 words  - How is predation different from parasitism What.docx
In 200-300 words  - How is predation different from parasitism What.docxjoyjonna282
 
In 3 and half pages, including a title page and a reference page, di.docx
In 3 and half pages, including a title page and a reference page, di.docxIn 3 and half pages, including a title page and a reference page, di.docx
In 3 and half pages, including a title page and a reference page, di.docxjoyjonna282
 

More from joyjonna282 (20)

In a 250-300 word response, critically examine your personal level o.docx
In a 250-300 word response, critically examine your personal level o.docxIn a 250-300 word response, critically examine your personal level o.docx
In a 250-300 word response, critically examine your personal level o.docx
 
In a 10 –12 page paper, identify and analyze the benefits and challe.docx
In a 10 –12 page paper, identify and analyze the benefits and challe.docxIn a 10 –12 page paper, identify and analyze the benefits and challe.docx
In a 10 –12 page paper, identify and analyze the benefits and challe.docx
 
In a 1-2 page Microsoft Word document, discuss the following case st.docx
In a 1-2 page Microsoft Word document, discuss the following case st.docxIn a 1-2 page Microsoft Word document, discuss the following case st.docx
In a 1-2 page Microsoft Word document, discuss the following case st.docx
 
In a 16–20 slide PowerPoint presentation (excluding title and refere.docx
In a 16–20 slide PowerPoint presentation (excluding title and refere.docxIn a 16–20 slide PowerPoint presentation (excluding title and refere.docx
In a 16–20 slide PowerPoint presentation (excluding title and refere.docx
 
In a 1-2 page Microsoft Word document, using APA, discuss the follow.docx
In a 1-2 page Microsoft Word document, using APA, discuss the follow.docxIn a 1-2 page Microsoft Word document, using APA, discuss the follow.docx
In a 1-2 page Microsoft Word document, using APA, discuss the follow.docx
 
In a 1-2 page paper, discuss how the government, the media, and the .docx
In a 1-2 page paper, discuss how the government, the media, and the .docxIn a 1-2 page paper, discuss how the government, the media, and the .docx
In a 1-2 page paper, discuss how the government, the media, and the .docx
 
In 2010, plans were announced for the construction of an Islamic cul.docx
In 2010, plans were announced for the construction of an Islamic cul.docxIn 2010, plans were announced for the construction of an Islamic cul.docx
In 2010, plans were announced for the construction of an Islamic cul.docx
 
In 2011, John Jones, a middle school social science teacher began .docx
In 2011, John Jones, a middle school social science teacher began .docxIn 2011, John Jones, a middle school social science teacher began .docx
In 2011, John Jones, a middle school social science teacher began .docx
 
In 5-7 pages (double-spaced,) provide a narrative explaining the org.docx
In 5-7 pages (double-spaced,) provide a narrative explaining the org.docxIn 5-7 pages (double-spaced,) provide a narrative explaining the org.docx
In 5-7 pages (double-spaced,) provide a narrative explaining the org.docx
 
In 2004 the Bush Administration enacted changes to the FLSA and the .docx
In 2004 the Bush Administration enacted changes to the FLSA and the .docxIn 2004 the Bush Administration enacted changes to the FLSA and the .docx
In 2004 the Bush Administration enacted changes to the FLSA and the .docx
 
In 200-250 wordsGiven the rate of technological chang.docx
In 200-250 wordsGiven the rate of technological chang.docxIn 200-250 wordsGiven the rate of technological chang.docx
In 200-250 wordsGiven the rate of technological chang.docx
 
in 200 words or more..1  do you use twitter if so , how often do.docx
in 200 words or more..1  do you use twitter if so , how often do.docxin 200 words or more..1  do you use twitter if so , how often do.docx
in 200 words or more..1  do you use twitter if so , how often do.docx
 
In 200 words or more, answer the following questionsAfter reading .docx
In 200 words or more, answer the following questionsAfter reading .docxIn 200 words or more, answer the following questionsAfter reading .docx
In 200 words or more, answer the following questionsAfter reading .docx
 
In 2005, serial killer Dennis Rader, also known as BTK, was arrested.docx
In 2005, serial killer Dennis Rader, also known as BTK, was arrested.docxIn 2005, serial killer Dennis Rader, also known as BTK, was arrested.docx
In 2005, serial killer Dennis Rader, also known as BTK, was arrested.docx
 
In 2003, China sent a person into space. China became just the third.docx
In 2003, China sent a person into space. China became just the third.docxIn 2003, China sent a person into space. China became just the third.docx
In 2003, China sent a person into space. China became just the third.docx
 
In 250 words briefly describe the adverse effects caused by exposure.docx
In 250 words briefly describe the adverse effects caused by exposure.docxIn 250 words briefly describe the adverse effects caused by exposure.docx
In 250 words briefly describe the adverse effects caused by exposure.docx
 
In 2.5 pages, compare and contrast health care reform in two differe.docx
In 2.5 pages, compare and contrast health care reform in two differe.docxIn 2.5 pages, compare and contrast health care reform in two differe.docx
In 2.5 pages, compare and contrast health care reform in two differe.docx
 
In 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docx
In 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docxIn 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docx
In 2014 Virginia scientist Eric Betzig won a Nobel Prize for his res.docx
 
In 200-300 words  - How is predation different from parasitism What.docx
In 200-300 words  - How is predation different from parasitism What.docxIn 200-300 words  - How is predation different from parasitism What.docx
In 200-300 words  - How is predation different from parasitism What.docx
 
In 3 and half pages, including a title page and a reference page, di.docx
In 3 and half pages, including a title page and a reference page, di.docxIn 3 and half pages, including a title page and a reference page, di.docx
In 3 and half pages, including a title page and a reference page, di.docx
 

Recently uploaded

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 

1 E&CE 371 - Homework 2 due 1159 pm, Tues 7114 .docx

  • 1. 1 E&CE 371 - Homework 2 due 11:59 pm, Tues 7/1/14 Please scan your homework solutions and email to grader ([email protected]) with a copy to me ([email protected]). 1. For the each of the statements below, circle the memory types, from the list provided, for which the statement is true. (a) Information in this memory is not lost if the power to the chip is removed. RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH EEPROM (b) After an initial set of values has been stored in this memory, it cannot ever be changed. RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH EEPROM (c) This non-volatile memory can be erased and reprogrammed, but the entire contents of the memory must be erased to do this. RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH EEPROM
  • 2. (d) A small section (one byte or possibly a small number of bytes) of this non- volatile memory can be erased and reprogrammed, without having to erase the entire chip. RAM, ROM, PROM, EPROM, NON-FLASH EEPROM, FLASH EEPROM 2. How many 1M by 1-bit memory chips would be needed to implement a memory system of size 4M by 8 bits? 2 3. (a) A memory system for computer with a 20-bit address bus is to be designed so that either one byte or two consecutive bytes (starting on an even address) can be accessed on one bus cycle. This memory is to consist of the
  • 3. following memory chip pairs: Memory chip pair Size of chip pair (sum of both members of pair) RAM 0 and RAM 1 128K RAM 2 and RAM 3 128K RAM 4 and RAM 5 64K RAM 6 and RAM 7 64K RAM 8 and RAM 9 128K RAM 10 and RAM 11 32K Set up the Address Table that could be used to perform the Address Table Method of address decoding for this memory system. DO NOT DETERMINE THE CRITICAL ADDRESS LINES FOR THIS PART OF THE PROBLEM. Starting A19 A18 A17 A16 A15 A14 A13 Address (in K) ____ ____ ____ ____ ____ ____ ____ RAM 0 ____ RAM 1 -------------- RAM 2 ____ RAM 3 -------------- RAM 4 ____ RAM 5 -------------- RAM 6 ____ RAM 7 ------------- RAM 8 ____
  • 4. RAM 9 ------------- RAM 10 ____ RAM 11 3 (b) For another memory system design problem using the Address Table Method, the following Address Table has been set up as shown below. Perform the next step of design by placing an asterisk, *, by each "critical address line." Starting A19 A18 A17 A16 A15 A14 A13 Address (in K) ____ ____ ____ ____ ____ ____ ____ RAM 0 ___0___ 0 0 0 RAM 1 ---------- RAM 2 __128K__ 0 0 1 RAM 3 ---------- RAM 4 __256K__ 0 1 RAM 5 ----------
  • 5. RAM 6 __512K__ 1 0 0 0 RAM 7 --------- RAM 8 __576K__ 1 0 0 1 RAM 9 --------- RAM 10 __640K__ 1 0 1 RAM 11 4 (c) Below is sketched a diagram for one of the chip pairs, RAM 4 and RAM 5, in the system of part b. Based on your answer to part b, show
  • 6. how to interface these memory chips to the Address Bus, Data Bus, and Control Bus of the computer. Assume that the Control Bus includes the following signals: MEMR* MEMW* LSTRB* (same usage as on 256B microcontroller) Assume that RAM 4 stores the even-addressed bytes and RAM 5 stores the odd-addressed bytes over the assigned address range. RAM 4 A0-A16 CS1 CS2 D0-D7 RD WR RAM 5 A0-A16 CS1 CS2
  • 7. D0-D7 RD WR 5 4. A memory system for a computer with a 20-bit address bus is to consist of a total of 608K 8- bit locations. (Assume that only bytes--not words-- can be accessed on each read or write.) The number of bytes contained in each chip is shown below in the left-most column. Complete the address table below and determine the minimum set of critical address lines for interfacing the chips in this memory system. (Consistent with this approach, assume that no future expansion of the memory system is expected.) Starting A19 A18 A17 A16 A15 A14 Chip Addr ____ ____ ____ ____ ____ ____ Size 64K ROM 0 ________ 64K ROM 1 ________ 128K ROM 2 ________ 256K RAM 0 ________ 64K RAM 1 ________ 32K RAM 2 ________
  • 8. (b) If at a later time, an additional 32K RAM is added, starting at location 608K, which, if any, of the memory chips involved in the original design would respond when software is trying to access a location assigned to the new RAM. 6 5. (a) A pair of 32K x 8-bit EPROM memory chips are used together to implement part of the memory system for a computer with an 18-bit external Address Bus. The computer has the capability of accessing either byte or word operands in memory. Given that the Address Table approach indicates that the only "critical address line" for interfacing this pair of chips is A17 = 1, what overall address range does this pair of chips cover? (b) Below is shown a block diagram of the pair of EPROM memory chips
  • 9. discussed in part a. Based on the information in part a, show how to interface these chips to the buses of the computer. (Show what each of the external connections in the figure below should be connected to.) Note that OE stands for "output enable." The bar over the “OE” indicates that it is a low-active signal. Assume that the control bus includes the following signals: LSTRB* (same usage as on 256B microcontroller), MEMR*, and MEMW* OE CS1 CS2 chip 1 A0-A14 D0-D7 OE CS1 CS2 chip 2 A0-A14 D0-D7 7 (c) From the information in part a, what can we say about the overall size of the
  • 10. external memory system being interfaced? 8 6. Consider two different implementations of a memory system consisting of dynamic RAM memory chips. In both cases, the total memory size is 1024K by 8 bits (1M by 8 bits). The time it takes to perform a read, write, or refresh operation on the chips in both systems is the same. (Call this time T1.) The max time allowed for a complete refresh of both types of chips is also the same. (Call this time T2.) Implementation A is implemented using 256Kx1 bit memory chips Implementation B is implemented using 1M x 1 bit memory chips If 2% of the available bus time is required for performing
  • 11. refresh of the memory chips in System B, what would be the corresponding percentage required for refreshing the memory chips in System A? Make clear how you arrive at your answer.