Author Topic: On the search for SRAM chips for the Z80.  (Read 15106 times)

0 Members and 1 Guest are viewing this topic.

Offline makerimagesTopic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: ee
On the search for SRAM chips for the Z80.
« on: October 21, 2013, 12:33:47 pm »
Hi, i have a vintage HM6116L-70 SRAM chip on my hands, the datasheet and pinouts of which I know, I have also tested the chip and it works. Now, I will be ordering a Z80 amongst other things within a few weeks time. Now, the Z80 has address lines A0-A15, the HM6116L-70 has address lines a0-a10, causing some space to get lost when I`d hook that up, What I would really like to do is have 2 SRAM chips with a0-a7 so I could have 2 memory banks(later on I would have to switch one for a EEPROM).

Could you guys suggest any SRAMS that are made currently and can be used with the Z80 in the abovementioned way ^, meaning the chips have the standard RD and WR pins and a CS(chip select) pin. Prefferably the chips could be cheap.

All the best,
Makerimages
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5126
  • Country: nl
Re: On the search for SRAM chips for the Z80.
« Reply #1 on: October 21, 2013, 12:50:23 pm »
What I would really like to do is have 2 SRAM chips with a0-a7 ...

You are not going to store a lot of data in 2 * 256 bytes...
Keyboard error: Press F1 to continue.
 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2905
  • Country: gb
Re: On the search for SRAM chips for the Z80.
« Reply #2 on: October 21, 2013, 12:51:12 pm »
Quote
What I would really like to do is have 2 SRAM chips with a0-a7

What you really need to do though is look up how Z80 addressing works.

I posted some circuit ideas not all that long ago for interfacing Z80's to various kinds of memory and there's loads of stuff on the 'net.
« Last Edit: October 21, 2013, 01:09:11 pm by grumpydoc »
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: On the search for SRAM chips for the Z80.
« Reply #3 on: October 21, 2013, 02:42:28 pm »
aiaiai. no clue how to make an address decoder.

if you get two of those 6116 you wrire them up in parallel. you use the top three address lines of the z80 to drive something like a 74138 and tie outout 0 of the 74138 to CE of ram 1 , output 1  of the 74138 to CE of ram 2 and so on.
that is how you make an address decode to split out across rams.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline makerimagesTopic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: ee
Re: On the search for SRAM chips for the Z80.
« Reply #4 on: October 21, 2013, 03:19:46 pm »
The thing is, the 6116 is not sold anymore(atleast here).

By the looks of it, id need 2 SRAMs with the same amount of address lines as the z80(a0-a15) and wire those both to the address pins, then I could use memreq of the Z80 nand'ed with, lets say a15 of the z80 to index the chip I want. Could I?
 

Offline homebrew

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: ch
Re: On the search for SRAM chips for the Z80.
« Reply #5 on: October 21, 2013, 03:30:26 pm »
Just use 62256 SRAMS (32Kx8 5V). They are available in DIP-Packages. And depending on your application one might well be enough ...
They should also be quite easy to obtain.
 

Offline netdudeuk

  • Frequent Contributor
  • **
  • Posts: 447
  • Country: gb
Re: On the search for SRAM chips for the Z80.
« Reply #6 on: October 21, 2013, 04:21:51 pm »
I've just bought one of these

http://www.ebay.com/itm/Alliance-Memory-Sram-1Mb-2-7V-5-5V-128Kx8-Pdip32-As6C1008-55Pcn-/121112507675?

For something simple, use as many lower order address lines as you need (for example, to get 32K) and fasten the others to ground.  Or you could implement bank switching, etc.

 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2905
  • Country: gb
Re: On the search for SRAM chips for the Z80.
« Reply #7 on: October 21, 2013, 07:37:10 pm »
Did you bother to look at https://www.eevblog.com/forum/beginners/z80-single-board-memory-bank-switching/. I posted several circuits for interfacing Z80 to RAM & EPROM including using a 74LS138 to generate chip select signals for 8k devices (as per free_electron's post) and larger devices such as 2 32k chips and a design for 64k RAM bank switched with 32k ROM

All pretty simple and exactly what you're looking for.

 

Offline JoeO

  • Frequent Contributor
  • **
  • Posts: 527
  • Country: us
  • I admit to being deplorable
Re: On the search for SRAM chips for the Z80.
« Reply #8 on: October 21, 2013, 08:44:24 pm »
The thing is, the 6116 is not sold anymore(atleast here).

By the looks of it, id need 2 SRAMs with the same amount of address lines as the z80(a0-a15) and wire those both to the address pins, then I could use memreq of the Z80 nand'ed with, lets say a15 of the z80 to index the chip I want. Could I?
Where is "here"?
The day Al Gore was born there were 7,000 polar bears on Earth.
Today, only 26,000 remain.
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: On the search for SRAM chips for the Z80.
« Reply #9 on: October 21, 2013, 08:47:34 pm »
I have a bunch of W24257AK-20 and HY658256S-20 .  These are pin compatible PDIP28 skinny , 32K x 8bits SRAM, 20ns

They have OE/ CS/ WE/ , bidirectional I/O pins, and address lines.

You should be able to interface to a Z80.

I'll mail one to you for $5.00 shipping included.

 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: On the search for SRAM chips for the Z80.
« Reply #10 on: October 21, 2013, 08:49:53 pm »
Where is "here"?

yes, where is here... I (perhaps wrongly) assumed USA, but sometimes , even mailing a small chip in a small bubble mailer internationally is prohibitively expensive, for the sender and the receiver  too.
 

Offline iceisfun

  • Regular Contributor
  • *
  • Posts: 140
  • Country: us
Re: On the search for SRAM chips for the Z80.
« Reply #11 on: October 21, 2013, 10:08:21 pm »
I have a bunch of W24257AK-20 and HY658256S-20 .  These are pin compatible PDIP28 skinny , 32K x 8bits SRAM, 20ns

They have OE/ CS/ WE/ , bidirectional I/O pins, and address lines.

You should be able to interface to a Z80.

I'll mail one to you for $5.00 shipping included.


I'm interested in one of these for a Z80 project
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: On the search for SRAM chips for the Z80.
« Reply #12 on: October 22, 2013, 03:02:56 am »
I have a bunch of W24257AK-20 and HY658256S-20 .  These are pin compatible PDIP28 skinny , 32K x 8bits SRAM, 20ns

They have OE/ CS/ WE/ , bidirectional I/O pins, and address lines.

You should be able to interface to a Z80.

I'll mail one to you for $5.00 shipping included.

I'm interested in one of these for a Z80 project

send me a PM.
Cheers!
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: On the search for SRAM chips for the Z80.
« Reply #13 on: October 22, 2013, 03:50:04 am »
Well, there's this 128k*8 chip: http://www.digikey.com/product-detail/en/AS6C1008-55PCN/1450-1017-ND/4234576

That's more than the z80 can address, but ... you don't need to use ALL of it, and ... About $2 !

(The same manufacturer does make 8k*8 and 32k*8 chips at even lower prices, but why bother?)
 

Offline netdudeuk

  • Frequent Contributor
  • **
  • Posts: 447
  • Country: gb
Re: On the search for SRAM chips for the Z80.
« Reply #14 on: October 22, 2013, 06:31:08 am »
Well, there's this 128k*8 chip: http://www.digikey.com/product-detail/en/AS6C1008-55PCN/1450-1017-ND/4234576

That's more than the z80 can address, but ... you don't need to use ALL of it, and ... About $2 !

(The same manufacturer does make 8k*8 and 32k*8 chips at even lower prices, but why bother?)

Yes, that's the one that I mentioned was in eBay. I was going to use the classic 8Kx8 SRAMs and then came across the biggie.  Not really any point in going for the old RAM for new designs.
 


Offline makerimagesTopic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: ee
Re: On the search for SRAM chips for the Z80.
« Reply #16 on: October 22, 2013, 03:41:38 pm »
Well, all of the above ideas used a demux chip, I was more thinking of hooking something like this up to the z80 and memories(HiCS and LoCS on C4  and C3 being the CS lines for program memory and RAM).

 

Offline makerimagesTopic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: ee
Re: On the search for SRAM chips for the Z80.
« Reply #17 on: October 23, 2013, 10:08:33 am »
Hmm, I looked up a 62256 datasheet, and it uses One pin for the WE and RD , if it is low, it is writing, if hihgh, then reading.. but the Z80 outputs separate, actibve low WR and RD... how would I go about those?
 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2905
  • Country: gb
Re: On the search for SRAM chips for the Z80.
« Reply #18 on: October 23, 2013, 10:38:25 am »
Quote
Hmm, I looked up a 62256 datasheet, and it uses One pin for the WE and RD , if it is low, it is writing, if hihgh, then reading.. but the Z80 outputs separate, actibve low WR and RD... how would I go about those?
Lemme see - oh yes, every single one of the diagrams I posted in the thread I referred you to showed you how to connect RD and WR.
 

Offline makerimagesTopic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: ee
Re: On the search for SRAM chips for the Z80.
« Reply #19 on: October 23, 2013, 10:51:25 am »
Quote
Hmm, I looked up a 62256 datasheet, and it uses One pin for the WE and RD , if it is low, it is writing, if hihgh, then reading.. but the Z80 outputs separate, actibve low WR and RD... how would I go about those?
Lemme see - oh yes, every single one of the diagrams I posted in the thread I referred you to showed you how to connect RD and WR.
Using a DEMUX I plan on using a 74LS00 NAND but, wait... I just connect OE of  the 62256 to RD of the z80 and th WE to WR?! Wow, thats easy.

I did have alook at that thread late yesterday night, on a 4.7 inch device.. So I might have missed a bit on those schematics, will have a thorough read sometime soon.
« Last Edit: October 23, 2013, 10:53:07 am by makerimages »
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: On the search for SRAM chips for the Z80.
« Reply #20 on: October 23, 2013, 05:41:19 pm »
What the hell kind of schematic is that 7400 box you have drawn, anyways???

I have been using the 7400 series since the early '70s   I think I know almost every pinout by  heart, but even I don't draw schematics like the boxes you have drawn.   You should have drawn 4 individual gates, so you can see the logic flow. ... even the box you have drawn has all the net names as if they were inputs... as if that box has 12 inputs, when I know a 7400 IC has 4 gates, 8 pins are inputs, 4 pins are outputs.

Sheesh.. why don't they teach schematics in school these days???

And while I am ranting, I wish people would stop using named nets like that, they are not for making invisible wires on your schematics.



 

Offline makerimagesTopic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: ee
Re: On the search for SRAM chips for the Z80.
« Reply #21 on: October 23, 2013, 08:04:59 pm »
Well, bare in mind that I am just getting started with Eagle and made that part myself for convenience. How would you do it?
 

Offline fluxcapacitor

  • Frequent Contributor
  • **
  • Posts: 345
  • Country: gb
Re: On the search for SRAM chips for the Z80.
« Reply #22 on: October 23, 2013, 10:15:04 pm »
Theres a Z80 kit on ebay,it includes 128K SRAM .

http://www.ebay.com/itm/Z80-Homebrew-Microcpmputer-Kit-with-Z80-CPU-ROM-RAM-V6366-Video-IC-SN76489-/121195367061?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item1c37ce8a95

I don't want to appear pedantic (not that that will stop me  ;) ) but that is a collection of parts that the seller deems "Ideal for designing a simple Z80 homebrew computer". It doesn't seem to include the actual design.

I like what this fellow has done. I have ambitions to build one similar myself.
http://searle.hostei.com/grant/z80/SimpleZ80.html

Yes i know its a collection of parts,it includes a Z80.The OP said he hasn`t bought one yet .
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: On the search for SRAM chips for the Z80.
« Reply #23 on: October 24, 2013, 01:24:28 am »
One thing I have noticed on schematics is that assigning a name label on a wire is commonly done for two reasons.
1. They connect to a wire on another sheet or one other place a long way off. So that drawing a line across the diagram would on balance not add to clarity.
2. To document a significant functional signal. A signal derived by some logic combination of various other signals. Such as may occur when mating say a Z80 to a 6800 series peripheral chip or creating a S100 bus. Neither having been designed to mate to a Z80 it is necessary to combine Z80 i/o pins to create the required read/write signal protocols to interface to them.

close but not complete.

a signal leaving a page and connecting to another page uses a PORT or a POWER OBJECT. a stub of wire with a netname on it is a big no-no for that purpose !
A netname is injected on signals that go multipoint. you NEVER use a netname to connect only two points together. thats what wires are for.

signals that go multipoint are grouped in busses. the busses are drawn as fat lines showing what goes where.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline makerimagesTopic starter

  • Regular Contributor
  • *
  • Posts: 56
  • Country: ee
Re: On the search for SRAM chips for the Z80.
« Reply #24 on: October 24, 2013, 08:41:51 am »
But hey, the schematic would work-right?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf