Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Binary to BCD question

Status
Not open for further replies.

bobby19

Newbie level 4
Joined
Nov 22, 2006
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
This question has really got me stumped.

Consider a ROM eith 7 address(input) lines and 8 data (output) lines. How many bits fro the ROM need to be used to implement a binary to two-digit BCD converter?

The answer is 800bits.


All I can think of is the capcity of the ROM is 2^7 x 8 = 1024 bits, so I know the answer must be less than that. Other than that, I am clueless here. Any insight?

Thanks
 

A binary to two-digit BCD converter
Input = 7 bit,
Binary count = 00000000-1100011
Output Required = 4Bit + 4Bit (=8 bits for two digit)
Output count = 00,01,02,03,.....99
Bits need = 100*8 = 800 bits
Use ROM is 2^7 x 8 = 1024 bits,
Only implement in 800 bits and 240 bits is unusable (28 Address)
 

Makes sense! Thanks.

So for this question

Consider a ROM with 14 address lines and 16 data lines. How many bytes from the ROM need to
be used to implement a binary to four-digit BCD converter?

Would the answer be 10000 bytes?
 

9999 bytes (decimal 4 digits) needed, 14 address bits
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top