logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

TL;DR

  • DIY-A586 v1.9 is a 100x100mm Spartan-6 XC6SLX9 board for Amiga-style use, with HDMI, analog audio, SD, RS232, joysticks, PS/2, A500 keyboard, floppy connectors, buttons, LEDs, and USB-C power.
  • It adds 32MB SDRAM, 16MB flash, direct JOY1/2 without multiplexing, two floppy ports without extra circuits, an 18.432MHz generator, THT LED space, 5k1 USB-C pull-downs, and minor fixes.
  • The flash can hold up to 30 FPGA configurations, and the Mikan core is listed with 8MB CHIP and 23.5MB FAST memory.
  • The board reportedly accepted the 8MB DMA CHIP configuration despite expectations that it would fail.
  • Commercial use is prohibited.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Purple PCB named DIY A586 with various electronic components, connectors, and a SIM card. DIY-A586 v1.9 by piotr_go

    Hello
    I would like to present the 1.9 DIY-A586 version, with the modifications that have come to my mind over the years. I skipped a few numbers so that I would not be tempted by another v1.x from XC6SLX9 :) .
    Differences: 32MB RAM, JOY1 / 2 without multiplexing, 2 flopps without additional circuits, 18.432MHz generator, space for THT LEDs, 5k1 USB-C pull-downs, various minor fixes.

    The board has:
    - FPGA Spartan6 XC6SLX9
    - 32MB 16bit SDRAM memory
    - 16MB flash for core and ROMs
    - HDMI output
    - analog audio output + tape recorder input
    - SD slot
    - RS232
    - 2 * joystick port
    - 2 * PS / 2
    - A500 keyboard connector
    - floppy disk drive connectors
    - 2 buttons (menu and reset)
    - 2 LEDs
    - 5V USB-C power socket
    - dimensions 100x100mm

    There are up to 30 configurations in flash that can be loaded into an FPGA.

    DIY-A586 v1.9 by piotr_go DIY-A586 v1.9 by piotr_go DIY-A586 v1.9 by piotr_go DIY-A586 v1.9 by piotr_go





    Mikan core (8MB CHIP, 23.5MB FAST) :
    DIY-A586 v1.9 by piotr_go DIY-A586 v1.9 by piotr_go
    I thought it would fail, but somehow the 8MB DMA CHIP came in.

    Diagram and gerberas in the appendix.
    Commercial use prohibited.
    Attachments:
    • piotr_go DIY-A586 v1.9.tar.gz (1.45 MB) You must be logged in to download this attachment.

    Cool? Ranking DIY
    About Author
    piotr_go
    DIY electronics designer
    Offline 
    piotr_go wrote 2904 posts with rating 3333, helped 94 times. Been with us since 2003 year.
  • ADVERTISEMENT
  • #2 20006751
    Baskhaal
    Level 20  
    Cool thing! I feel the subject in my free time.
    If you want to do a mass show ;) then let me know, I will do and SMT and THT at a good price.
  • #4 20007739
    piotr_go
    DIY electronics designer
    Own core.
  • #5 20007809
    tronics
    Level 38  
    Softcore CPU and Chipset as I understand it? Is the CPU with any of the existing solutions?
  • #6 20007825
    katakrowa
    Level 23  
    piotr_go wrote:
    Own core.

    All including own CPU implementation?
  • #7 20007834
    piotr_go
    DIY electronics designer
    TG68, like in core with minimig, all the rest is mine.
    If I find time, I will replace it with something of my own.
  • #8 20007842
    katakrowa
    Level 23  
    piotr_go wrote:
    If I find time, I will replace it with my own.

    M68000 is not a Z80, however, that in three afternoons you can write your own implementation, but I wish you perseverance and a lot of fun while writing :-)
  • ADVERTISEMENT
  • #9 20007849
    piotr_go
    DIY electronics designer
    katakrowa wrote:
    The M68000 is not the Z80, however, that you can write your own implementation in three afternoons

    It is quite simple compared to "playing" with the cycle consistency of the rest of the core.
  • #10 20007854
    tronics
    Level 38  
    And how is the compatibility at the moment? Are there any bugs in demos or games, are they all right?
  • #11 20007860
    piotr_go
    DIY electronics designer
    As for the games, I deleted what I noticed.
    I have not tested the dem.
  • #12 20008158
    Macosmail
    Level 35  
    A very nice device :-) SysInfo shows only 2 MIPS at 98 MHz? Workbench works quite lively. Screen operations faster than original ECS / AGA chips?
  • #13 20008216
    piotr_go
    DIY electronics designer
    Macosmail wrote:
    SysInfo shows only 2 MIPS at 98 MHz?

    I suspect it's because of the faster memory. In the original DMA takes most of the bandwidth.

    Macosmail wrote:
    Screen operations faster than original ECS / AGA chips?

    I also had such an impression (compared to the bare 1200).
    Lotus III runs fairly smoothly.
  • #14 20041337
    samowitsch
    Level 7  
    Hi Piotr. Is a Winbond W9825G6KH-5 absolutely necessary or can it also be a W9825G6KH-6?
  • #15 20041496
    Ondo
    Level 12  
    Beautiful job, at first glance I thought it was some Virtex, and the Spartan was enough. How many FPGAs does the entire project take?
  • ADVERTISEMENT
  • #16 20041536
    piotr_go
    DIY electronics designer
    Amiga - 100%
  • #17 20041565
    Ondo
    Level 12  
    100% FPGA resources? With all due respect, you are probably a miracle worker, good projects tailored to specific FPGA blocks reach 60-70% of resources.
  • #18 20041804
    piotr_go
    DIY electronics designer
    samowitsch wrote:
    Is Winbond W9825G6KH-5 absolutely necessary or can it also be W9825G6KH-6?

    It should work, but I haven't tested it.

    Ondo wrote:
    100% FPGA resources?

    Usually it does not fit, depends on the whim of the synthesis.
  • #19 20042227
    Ondo
    Level 12  
    piotr_go wrote:
    Ondo wrote:
    100% FPGA resources?

    Usually it does not fit, depends on the whim of the synthesis.
    It's normal to have to trim, but I mean the utilization level of the chip, the ISE spits out a synthesis result showing what percentage of resources are unused due to lack of routing or unused resources (memory, multipliers, DCM etc). It signifies a bit how a design is optimized for a specific FPGA, or how a particular FPGA is good for a specific task.
  • #20 20042329
    piotr_go
    DIY electronics designer
    Ondo wrote:
    It's normal to cut

    Often it is enough to rename a signal or some other nonsensical modification.

    Ondo wrote:
    I mean the level of utilization of the system

    Code: Dos
    Log in, to see the code
  • #21 20042349
    __Grzegorz__
    Level 30  
    Projects in ISE can be stuffed with a "shoe" using "Project" -> "Design Goals and Strategies".
    There is an "Area" option which sometimes works wonders.
    It spoils the timings a bit, but ... it is :)

    It allowed to cram into the SLX9 a project that, after synthesis, had 111% of the resource occupancy :)

    You can troubleshoot with
    - Synthesis: "Optimization Goal" (changed to Area),
    - Mapping: "Combinatorial Logic Optimalization" (enable)
    - Mapping: "Global Optimization" set to "Area"
    - Mapping: "Allow Logic Optimization Across Hierarchy"
    - Mapping: "LUT Combining" to Area
    - Mapping: "Maximum compression" - it can take ages unfortunately
    - Mapping: "Map Slice Logic into unused BlockRAM" - as long as you have free BLOCKRAM
  • ADVERTISEMENT
  • #22 20042608
    piotr_go
    DIY electronics designer
    __Grzegorz__ wrote:
    There is an "Area" option which sometimes works wonders.

    This occupation is after this wonder :)
  • #23 20047658
    samowitsch
    Level 7  
    piotr_go wrote:
    samowitsch wrote:
    Is a Winbond W9825G6KH-5 absolutely necessary or can it also be a W9825G6KH-6?

    It should work, but I haven't tested it.
  • #24 20048233
    piotr_go
    DIY electronics designer
    Mouser. I bought a few pcs last year.
  • #25 20165605
    mopplayer6
    Level 2  
    Hi piotr_go
    I use Lichee Tang Primer to transmit HDMI with audio but packages seem to have some issues. Could you please share how to transfer audio via HDMI to Lichee Tang Primer?
  • #26 20165795
    __Grzegorz__
    Level 30  
    And also regarding the FPGA occupancy:
    instead of the XC6SLX9 I suggest using the EFINIX T20Q144.

    I'm just transferring my projects to this chip.
    It has ~ 50% more logic, something that I had to stuff into the SLX9, it goes into the T20Q144 without any problems.
    Light environment, no simulator, but if you organize modelsim, no problem :)
    Scalak has dedicated LVDS I / O, which are limited when it comes to using them as I / O, and slightly less dedicated clock inputs.

    T20Q144 are in digikeyu, in "normal" money.
  • #27 20165930
    piotr_go
    DIY electronics designer
    @__Grzegorz__
    It looks interesting, but not enough IO. In my spare time, I read about him. Is the Linux version soft?
    I promised myself that the next version 1.xx will not be created, and versions 2.xx will have a lot of stock, even with AGA + 68020.
    At the moment 2.0 is on Cyclone 4 (22320 LEs). Arrow starters are waiting in the queue, with even larger FPGAs, bought in the promotion for pennies.

    @ mopplayer6
    I'm sending in analog, fewer problems :)
    What's the problem?
  • #28 20165959
    __Grzegorz__
    Level 30  
    piotr_go wrote:
    Is the Linux version soft?

    Is.
    Quote:
    Linux environments:
    - Operating system:
    - Ubuntu v18.04 or later
    - Red Hat Enterprise x86-64 v7.4 or later
    - CentOS x86-64 v7.4 or later
  • #29 20167857
    mopplayer6
    Level 2  
    Hi @piotr_go
    My problem is that the lowest resolution in the HDMI standard is 640x480.
    The NES was 512x480, how could I send the packet with audio and HDMI requirement?
    I can see your video may work properly, can you please share how to do it?
  • #30 20167885
    piotr_go
    DIY electronics designer
    I'm guessing at 640x480 you don't have room for audio packets?
    Try stopping the NES clock on each line (before or after the image) to make them longer :) I did just that.
📢 Listen (AI):

Topic summary

✨ The DIY-A586 v1.9 is a Spartan6 XC6SLX9 FPGA-based Amiga-compatible board featuring 32MB 16-bit SDRAM, 16MB flash memory, HDMI output, analog audio with tape input, SD card slot, RS232, dual joystick and PS/2 ports, A500 keyboard connector, floppy disk drive connectors, USB-C 5V power, and onboard buttons and LEDs. It supports up to 30 FPGA configurations loaded from flash. The core uses a TG68 CPU softcore similar to Minimig but with a custom chipset and own implementations. Memory timing requires 133MHz/CL2 SDRAM, with Winbond W9825G6KH-5 or -6 compatible but untested variants. The project includes Amiga ROM patches and SD card ROM loading; flash must be formatted and programmed via menu. Floppy drive compatibility requires PC drives converted to Amiga standard with RDY signal generation. The board supports multiple cores including Amiga (Mikan core), NES, Spectrum, and RISC-V, with paid registration for some cores. Users report issues with floppy reading on Kickstart 1.3 fixed in core v0.1.6. Audio over HDMI requires timing adjustments due to resolution constraints. The project is open for community assembly with parts sourced from AliExpress, LCSC, Digikey, and Mouser, with suggestions for alternative components like AMS1117 regulators and 74AHCT logic ICs. Future plans include version 2.0 with larger FPGAs (Cyclone 4) and AGA + 68020 support, but no immediate release. The community discusses soldering order, flash programming, and component sourcing, with some users sharing build experiences and troubleshooting tips. The project emphasizes fast Workbench operation, real floppy drive support, and HDMI output as advantages over Minimig. Source code for the Mikan core is not publicly shared, but spectrum core sources are available. The board is suitable for advanced hobbyists with SMD soldering skills and FPGA experience.
Generated by the language model.

FAQ

TL;DR: DIY-A586 v1.9 crams 99 % of Spartan-6 LUTs into a 100 × 100 mm board, “Usually it does not fit” [Elektroda, piotr_go, post #20042329] New mikan 0.1.7 core adds 25 MHz SPI SD and audio fixes [Elektroda, piotr_go, post #20830828] A single US $20 key unlocks 30 core slots [Elektroda, piotr_go, post #21127630]

Why it matters: The board delivers Amiga-class performance, PC/ZX/NES cores and HDMI in a palm-sized, home-solderable package.

Quick Facts

• FPGA: Xilinx Spartan-6 XC6SLX9, 99 % LUT & 31 % register use [Elektroda, piotr_go, post #20042329] • Memory: 32 MB 16-bit SDRAM (W9825G6KH-5/-6, 133 MHz CL2) + 16 MB QSPI flash [Elektroda, piotr_go, post #20006479] • Storage: SD/µSD up to 32 GB; 25 MHz SPI bus from SD_v0.10.ROM upward [Elektroda, piotr_go, post #21064071] • Power: 5 V via USB-C, on-board 1 A resettable fuse [BOM] • Price signals: bare PCB ≈ PLN 40; licence key US $20 [Elektroda, piotr_go, post #21127630]

1. What hardware comes on the DIY-A586 v1.9 PCB?

Board size 100 × 100 mm. It carries a Spartan-6 XC6SLX9 FPGA, 32 MB SDRAM, 16 MB QSPI flash, HDMI, stereo audio I/O, SD slot, RS-232, two PS/2, two DB9 joystick ports, A500 keyboard header, dual floppy connectors, reset/menu buttons and USB-C 5 V input [Elektroda, piotr_go, post #20006479]

3. How do I install Amiga OS without a real floppy?

Three-step method:
  1. In FS-UAE create an HDF, install Workbench, then shut down.
  2. Copy the HDF to a FAT32 host and write it to the F0-type SD partition with dd/Win32DiskImager.
  3. Insert card, press F4, format flash, load ROMs, boot. A 2 GB pre-partitioned image is linked in the v1.6 thread [Elektroda, xangel, post #21049279]

5. How do I unlock more than four cores in the menu?

Press ‘v’ then ‘k’ in MAIN menu to display your board ID. Pay US $20 via PayPal and enter the returned key; you now have 30 slots and auto-boot [Elektroda, piotr_go, post #21127630]

6. Does the slower W9825G6KH-6 SDRAM work?

Yes for Amiga/NES; RISC-V and Next186 may hang. Replacing ‑6/-7 parts with ‑5 (5 ns) cured DOOM black-screen cases [Elektroda, xangel, post #21066468]

7. My PS/2 keyboard randomly types the '`' character—fix?

Bug appears after drive-insert animation and affects several brands; not caused by the PS/2-Amiga translator. Developers suspect CIA timing versus high CPU speed [Elektroda, piotr_go, post #21115643] No hardware cure yet; press any key to clear the stream.

8. How do I crop or switch video modes?

After mikan 0.1.7 use • CTRL + ALT + PrtSc – cycle resolutions / interlace, • CTRL + ALT + F12 – open core menu, • CTRL + ALT + F11 – core reset [Elektroda, piotr_go, post #21123696]

10. Latest core versions and key tweaks?

• mikan 0.1.7 – faster SD, audio & bitplane fixes [Elektroda, 20830828] • mikan 0.1.7-slow – reduced CPU/blitter speed [Elektroda, post #21127630] • Spectrum test core – Kempston inversion fix [Elektroda, 21005077] • MAIN 0.4.4 – flash write & PS/2 reset fix [Elektroda, post #20783613]

11. V-RISC core shows a black screen—what should I check?

Problem occurs with ‑6/-7 SDRAM timing; cursor still moves. Replace RAM with 5 ns part or lower clock in future firmware [Elektroda, xangel, post #21049163]

12. How can I clone or back-up Amiga partitions under Linux?

Run: sudo cp /dev/sdX2 image.hdf to copy partition 2; write back with the same command reversed. Confirm RDSK header at offset 0 and PART at 0x200 [Elektroda, leonecomdir, post #21090383]

14. Will AGA ever fit into the LX9?

No. LUTs already at 99 % and pin-count exhausted. AGA is planned only for closed v2.0 board using a larger Cyclone IV [Elektroda, piotr_go, post #20974863]
Generated by the language model.
ADVERTISEMENT