The PC Guide Discussion Forums  
Google
Web The PC Guide
Studying for the A+, Network+ or Security+ exams? Get over 2,600 pages of FREE study guides at CertiGuide.com!
Join the PC homebuilding revolution! Read the all-new, FREE 200-page online guide: How to Build Your Own PC!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.

Go Back   The PC Guide Discussion Forums > General Discussion > Certification, Technical Careers and Study Programs
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread
  #1  
Old 06-17-2004, 03:38 PM
iced iced is offline
Novitiate Geek
 
Join Date: Jun 2004
Posts: 4
Need help with memory address lines etc.

A basic microprocessor system uses 15 address lines (A 15, AO) and various
Control signals to access memory locations and I/O ports. A control signal IO/M Select I/O chips when at logic 1 (5V) and memory chips when at logic 0 (0V).

The i/0 interface chips and memory chips normally have more than one chip select Inputs.
The actual memory locations or ports inside the chips are accessed by the
Address Lines:
One address line can select up to two memory locations
Two address lines can select up to four memory locations
Three address lines can select up to eight memories
Ten address lines can select up to 1024 memory locations.
In computer jargon 1024 is referred to as 1 K.
How many address lines are necessary to address 4K of memory?
Since 4K = 4 * 1024 = 4096. And since 2 = 4096, then 12 Lines are needed to
Address 4096 memory locations (A11 to AO).
Similarity 16 address lines (A15 to AO) would be required to access 64K of memory,
Since 64K •-= 65536...

8K of memory is implemented using two 4K memory chips.
To address 4K of memory, 12 address lines would be required and these are Connected directly to both chips. To address 8K of memory an additional address Line is required which is used to select between the two 4K chips by means of a Decoder.


When A12 = 0, RAM 0 is selected when A12 = 1 RAM 1 is selected.
The IO/M line must be low before the memory location selected by the address lines will be accessed.

If the IO/M line is high, then one of the four ports in the IO chip will be selected Depending on the value contained on the AO and A1 lines.

The address range for RAM 0 is- -
0000 0000 0000 0000
0000 1111 1111 1111
That is in Hexadecimal OOOOH to OFFFH
the address range for RAM 1 is: -
0001 OOOO OOOO OOOO to
0001 1111 1111 1111
That is in Hexadecimal 1000H to IFFFH

Now answer the following questions on the implementation of memory in a computer system:

(a; How many address lines are necessary to access 64K of memory?



(b) How many address lines are necessary to access 4K of memory and which Address lines are normally used for this purpose?




(C) How many 4k .memory chips are required to implement 64k of memory?



(d) How many chip select signals will be required from the decoder in (c} above?



(e) What address lines would be used at the inputs to the decoder?






(f) Describe under what conditions the ports will be selected.




If you can help me with the answers for A to F it will be appreciated, i think the answer to A is sixteen and i think the answer to B is twelve (A11 to A0) i also have a diagram which came with it. Thankyou for spending the time to look at my problem it is greatly appreciated hope you can help.
Reply With Quote
  #2  
Old 10-11-2004, 02:43 PM
nashsaint nashsaint is offline
Novitiate Geek
 
Join Date: Oct 2004
Posts: 5
Answers but (d)

Am having the same problem with you... Somehow I managed to answer most of it but i find myself stuck in question (d). Am posting my answers below and hope you'll post the answer to (d).. Thanks...

(a) 16 address lines (A15 - A0)
(b) 12 address lines (A11 - A0)
(c) 16 of 4k memor chips
(d) ?????????????help!
(e) A12
(f) If the IO/M is high then one of the four parts in the I/O chip will then be selected. However, depending on the value in A0 and A1 lines.

many thanks...
Reply With Quote
  #3  
Old 11-06-2004, 10:54 AM
boulton1970 boulton1970 is offline
New Member - Welcome!
 
Join Date: Nov 2004
Posts: 1
Smile Answer to question (d)

16 memory chips and 8 chip slect signals
Reply With Quote
  #4  
Old 01-02-2006, 07:24 PM
palmereagle palmereagle is offline
New Member - Welcome!
 
Join Date: Jan 2005
Posts: 1
Lightbulb

Quote:
Originally Posted by nashsaint
Am having the same problem with you... Somehow I managed to answer most of it but i find myself stuck in question (d). Am posting my answers below and hope you'll post the answer to (d).. Thanks...

(a) 16 address lines (A15 - A0)
(b) 12 address lines (A11 - A0)
(c) 16 of 4k memor chips
(d) ?????????????help!
(e) A12
(f) If the IO/M is high then one of the four parts in the I/O chip will then be selected. However, depending on the value in A0 and A1 lines.

many thanks...
I`M DOING THE SAME COURSE AS YOU AND IT SEEMS A LOT OF PEOPLE, SO I WAS WONDERING IF YOU WOULD HELP ME AND ELABORATE ON THE ANSWER YOU GAVE TO QUESTION (F) ANY ASSISTANCE YOU CAN GIVE WOULD BE MOST WELCOME. THANK YOU!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:52 PM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.