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.

Need n bit decoder for the construction of the sram

Status
Not open for further replies.

Basu_Gouda

Member level 1
Joined
Nov 15, 2010
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Bangalore
Activity points
1,520
Hi

I am designing a SOC for 32K * 8 bit sram with two level decoder hence i need to know whether we have anything for the n bit decoder or need to design the smaller decoder and combining them to get a bigger decoder. kindly help me out. thanks in advance
 

The decoder should be based on the SRAM interface(s). Since we can't guess which SRAM IP you are using, no one can produce a decoder for you. Either way, it looks like you have an address with N bits, which you wish to split into two ranges, lower range going to SRAM A and higher range going to SRAM B. If this is what you want, this is trivial.
 

yes you are pretty much correct i am doing the same, the thing i need to know is i have got 512 addresses to decode using 9 bits for each sub modules, so do i have to go for a 9 bit decoding logic fully or can i do it in general for n bits.

thanks in advance
 

Hi,

If I understand correctly..
32k needs 15 address lines, 512 needs 9 adress lines
So you have 64 blocks of 512 bytes of RAM.
You need to decode 15- 9 = 6 lines... giving 64 "select" lines...one for each block.

Klaus
 

Klaus

Thank you for your response, you have seen it correctly my question is that i have to write the code for the entire decoding logic or can we design using n bit design in general.

Thanks in advance

- - - Updated - - -

Klaus

Thank you for your response, you have seen it correctly my question is that i have to write the code for the entire decoding logic or can we design using n bit design in general.

Thanks in advance
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top