Autor Wątek: SDRAM on the lower ram  (Przeczytany 3565 razy)

Powervr

  • *
  • Wiadomości: 26
  • Miejsce pobytu:
    França
SDRAM on the lower ram
« dnia: 2023.09.30, 06:47:35 »
Haha and it worked...
Why? I have some ideas to implement and need to have some type of memory control...
This is with an buffer but will do with an cpld
https://youtu.be/lSKFRrdOxTY

KWF

  • Moderator
  • *****
  • Wiadomości: 6838
  • Miejsce pobytu:
    trzecia planeta od Słońca
  • "I co ja robię tu, u-u, co Ty tutaj robisz ..."
    • PCBway
Odp: SDRAM on the lower ram
« Odpowiedź #1 dnia: 2023.09.30, 07:07:22 »
That is nice. Have you used SDRAM or SRAM? Is your of VRAM solution similar to http://sindik.at/data/vram/?
KWF
-----
R Tape loading error 0:1
Moje zabawki: https://github.com/McKlaud76

damik

  • Fresh rosin sniffer ;)
  • *****
  • Wiadomości: 2434
  • Miejsce pobytu:
    Generalnie Polska, głównie Bytom czasem Bielsko-Biała oraz okolice
  • ZX'owy i nie tylko...
Odp: SDRAM on the lower ram
« Odpowiedź #2 dnia: 2023.09.30, 10:01:31 »
Are you sure that you used SDRAM (synchronous dynamic random-access memory) in this project?
And what specific type of SDRAM do you use, SDR or DDR, maybe the newest DDR5?
Refreshing these memories in such a slow system as ZX Spectrum or Timex must have been a problem?
Probably adapting such low-voltage memories to 5V logic may also constitute an additional complication of the circuit.

Perhaps it will make more sense to use SRAM (static random access-memory) there, the solution is much more reliable than constantly using dynamic memories.
« Ostatnia zmiana: 2023.09.30, 10:34:38 wysłana przez damik »
Wszystkiego po trochu: Schwarz, mydło i powidło... konsole, stare i nieco nowsze komputery oraz akcesoria i duperele.

trojacek

  • *****
  • Wiadomości: 6846
  • Miejsce pobytu:
    Warszawa
Odp: SDRAM on the lower ram
« Odpowiedź #3 dnia: 2023.09.30, 10:15:58 »
I do not see any SDRAM here, only a Hitachi SRAM 128Kx8.

damik

  • Fresh rosin sniffer ;)
  • *****
  • Wiadomości: 2434
  • Miejsce pobytu:
    Generalnie Polska, głównie Bytom czasem Bielsko-Biała oraz okolice
  • ZX'owy i nie tylko...
Odp: SDRAM on the lower ram
« Odpowiedź #4 dnia: 2023.09.30, 10:26:38 »
Ok, now I see that there is ordinary SRAM HM628128 and it's even much bigger than you need, because you have 128KB and you only need 16KB, maybe it's better to use 62256 (32KB) and it's still twice as big. :)
Wszystkiego po trochu: Schwarz, mydło i powidło... konsole, stare i nieco nowsze komputery oraz akcesoria i duperele.

trojacek

  • *****
  • Wiadomości: 6846
  • Miejsce pobytu:
    Warszawa
Odp: SDRAM on the lower ram
« Odpowiedź #5 dnia: 2023.09.30, 11:15:52 »
My guess is the plan is to make the TC2048 compatible with some of Spectrum 128K models. So you'd need 64K of contended memory. And it is much easier to find 128K SRAM chips than 64K ones.
« Ostatnia zmiana: 2023.09.30, 11:27:06 wysłana przez trojacek »

steev

  • *****
  • Wiadomości: 1366
  • Miejsce pobytu:
    inode 42
Odp: SDRAM on the lower ram
« Odpowiedź #6 dnia: 2023.09.30, 11:44:37 »
And what specific type of SDRAM do you use, SDR or DDR, maybe the newest DDR5?
Refreshing these memories in such a slow system as ZX Spectrum or Timex must have been a problem?
C'mon, DDR5?
Już podłączenie SDR to niezły ból głowy.  :)
Odświeżanie nie jest problemem, choć trzeba ciut rzeźbić.
Bawiłem się tym na emulowanym specu (spartan6). Jakby to próbować podpiąć pod rzeczywisty sprzęt, to już przez samą konwersję na LVTTL można sobie odpuścić...
Machines should work. People should think.

damik

  • Fresh rosin sniffer ;)
  • *****
  • Wiadomości: 2434
  • Miejsce pobytu:
    Generalnie Polska, głównie Bytom czasem Bielsko-Biała oraz okolice
  • ZX'owy i nie tylko...
Odp: SDRAM on the lower ram
« Odpowiedź #7 dnia: 2023.09.30, 11:52:03 »
My guess is the plan is to make the TC2048 compatible with some of Spectrum 128K models. So you'd need 64K of contended memory. And it is much easier to find 128K SRAM chips than 64K ones.
Maybe it's as you write, but let the author himself tell us what the purpose of his action is. :)

@Steev, a kto ambitnemu zabroni kombinować, to bardziej byłaby sztuka dla własnej satysfakcji niż coś optymalnie sensownego. ;)
« Ostatnia zmiana: 2023.09.30, 11:59:02 wysłana przez damik »
Wszystkiego po trochu: Schwarz, mydło i powidło... konsole, stare i nieco nowsze komputery oraz akcesoria i duperele.

KWF

  • Moderator
  • *****
  • Wiadomości: 6838
  • Miejsce pobytu:
    trzecia planeta od Słońca
  • "I co ja robię tu, u-u, co Ty tutaj robisz ..."
    • PCBway
Odp: SDRAM on the lower ram
« Odpowiedź #8 dnia: 2023.09.30, 17:31:52 »
@Powervr: so you use an ordinary 128K SRAM. What portion 128K do you use in your design? is it 16K, 32K or 64K chunk?

Could you share the schematic diagram, please?
KWF
-----
R Tape loading error 0:1
Moje zabawki: https://github.com/McKlaud76

Powervr

  • *
  • Wiadomości: 26
  • Miejsce pobytu:
    França
Odp: SDRAM on the lower ram
« Odpowiedź #9 dnia: 2023.10.18, 14:28:22 »
Sorry for the late replay...
Indeed not SDRAM but indeed SRAM, on my head I thought it was SDRAM hahaha ! even without knowing much about ram, I was able to build this for the lower ram.

My mistake it's SRAM indeed. 

The idea is just to start and play with this, the problem is I don't want to use original timex for this "playing" around, they are too much valuable for me. so Will build a timmy to play around, and yes, the idea  is to make possible stuff like the other screen on 128k, but not only that... I have some ideas... will  post the evolution  on the stuff... next an CPLD... instead of the buffer and the not logic.



Powervr

  • *
  • Wiadomości: 26
  • Miejsce pobytu:
    França
Odp: SDRAM on the lower ram
« Odpowiedź #10 dnia: 2023.10.18, 14:32:21 »
@Powervr: so you use an ordinary 128K SRAM. What portion 128K do you use in your design? is it 16K, 32K or 64K chunk?

Could you share the schematic diagram, please?

Will do it! there is some weird stuff that I am unable to reproduce after I removed  the wires...  (because the pcb didn't work), have to make the cpld with this SRAM... when I made it Will give it to everyone.

I broked my future was 8 bit divmmc... with me playing around... Had to build another divmmc dos tiesos. :D (less expensive) https://github.com/mcleod-ideafix/divtiesus
now that I have again an working Divmmc will do it.

I have several pcb's for an xilinx and the sram. not yet soldered or programmed it, will do it!
I do not know much about electronic, or VHDL, but I love to explore... :D
And obviously I will  learn walking. ;)
« Ostatnia zmiana: 2023.10.18, 14:41:34 wysłana przez Powervr »

Powervr

  • *
  • Wiadomości: 26
  • Miejsce pobytu:
    França
Odp: SDRAM on the lower ram
« Odpowiedź #11 dnia: 2023.10.18, 21:30:44 »
schematics view

I am not using the cpld here, was able to put this to work with the pcb, an tri state buffer, the hitachi sram, and a not gate. for the RAS signal ... the buffer uses the signal at the clock not at the optimal moment. See the link to the zx spectrum ram that I post bellow.
« Ostatnia zmiana: 2023.10.18, 23:09:31 wysłana przez Powervr »

Powervr

  • *
  • Wiadomości: 26
  • Miejsce pobytu:
    França
Odp: SDRAM on the lower ram
« Odpowiedź #12 dnia: 2023.10.18, 21:33:33 »
it boots faster... no  problem ...But you need to find smaller equivalents this doesn't fit, it was just to see if an asynchronous sram would be feasible.... the signal IS much better this goes from 0 to 5v and vice versa much quicker. 
the signal is cleaner... works like an champ!
« Ostatnia zmiana: 2023.10.18, 21:53:01 wysłana przez Powervr »

Powervr

  • *
  • Wiadomości: 26
  • Miejsce pobytu:
    França
Odp: SDRAM on the lower ram
« Odpowiedź #13 dnia: 2023.10.18, 21:47:31 »
I took my ideas from here:

https://sindik.at/data/vram/?fbclid=IwAR1gLlYL7GWgI9SXZYXVUeDLCp8qJh_vkeUkO6hSmA_G05svdAuRt9EwC6w
 I Just changed some  stuff to get it to work

the only thing that you need to know is. A8 and A15 should be put to 5V or ground in the collumn (when/CAS active) there is only 6 adress bits (that is for the lower 16k bit memory... this is overkill... but I have many memories.. I can think  an way with  an cpld and clock to get it to work  alone for the entire bank... or even to give 128. :) next.
this is the A0 and A7  of the collumns  when /CAS is active.

In the row there is all 8 bits, that went before to the tri-state buffer

there is no problem if you change the adress lines, that is  A0 to A3 A3 to A0... or even the data lines...
But the A8 and  A15 of the /CAS active should be put to  ground ot 5V it will not work I tried ;)
look At the pins on my schematics

Remember this doesn't fit, but works... next time I will make an smaller pcb and chips not socketed... to get this

U4 and U1 is just the sockets for the place of the older ram  that need to be well placed ... to fit
« Ostatnia zmiana: 2023.10.18, 23:10:31 wysłana przez Powervr »

Powervr

  • *
  • Wiadomości: 26
  • Miejsce pobytu:
    França
Odp: SDRAM on the lower ram
« Odpowiedź #14 dnia: 2023.10.18, 22:07:32 »
I will make an video to show you it boot at half the time. hahaha

https://youtu.be/aM32GOVUTTc?feature=shared