nand2mario Profile
nand2mario

@nand2mario

1,671
Followers
319
Following
97
Media
501
Statuses

FPGA and retro gaming dev. Author of NESTang and SNESTang.

Joined August 2022
Don't wanna be here? Send us removal request.
Pinned Tweet
@nand2mario
nand2mario
6 days
#GBATang 0.2 just posted. 🎉🎉1. ROM loading is ~50% faster. 2. BIOS loading from SD card, in addition to the embedded open-source BIOS. Many more games are compatible now. 3. Better handling of EEPROM-backup games (e.g. SMA). Get from
Tweet media one
Tweet media two
Tweet media three
Tweet media four
0
15
49
@nand2mario
nand2mario
8 months
This just arrived on my door step. A fascinating piece of technology.
Tweet media one
20
50
385
@nand2mario
nand2mario
9 months
Introducing SNESTang🚀, my project to create the smallest FPGA Super Nintendo, for @SipeedIO Tang Primer 25K. Get from . This v0.1 release features: ✅base SNES machine over 720p HDMI. ✅ rom loading from FAT32 SD. ✅ menu system for choosing roms.
19
73
335
@nand2mario
nand2mario
9 months
Design notes for #snestang , or “How I ported the SNES core to a small FPGA with 25K LUTs, 112KB of ram and one sdram chip”. Hopefully this will be helpful to ppl porting game cores to Tang or other small FPGA board. 🎉 🎁 📖 @Flipacholas @hackscorpio
Tweet media one
3
54
246
@nand2mario
nand2mario
6 months
#snestang running on @SipeedIO Tang Nano 20k for the first time. 🎊 A long time coming.
8
24
186
@nand2mario
nand2mario
8 months
Looks like we’ve got DSP chip working for #snestang . 🎈 🎈
5
23
161
@nand2mario
nand2mario
1 year
Introducing usb_hid_host, a compact USB HID host FPGA core for interfacing keyboards, mice and gamepads. . ✅ Low resource usage at <300 LUTs and 1 BRAM. ✅ No CPU or USB IC required. Currently tested on Tang Nano 20K. Will support other boards.
5
36
155
@nand2mario
nand2mario
9 months
SNES for #tangprimer25k coming soon. Games are playable. SD card rom loading works. Sound is perfect. I need to wrap things up for a first release. 🎉 🎉
8
32
154
@nand2mario
nand2mario
11 months
Just received my #TangMega138k . It actually comes with an acrylic cover and fan/heatsink. It needs Gowin IDE Pro version to work, not the EDU version. And guess what? The Pro IDE is FREE. 🎉
Tweet media one
10
20
151
@nand2mario
nand2mario
6 months
#SNESTang 0.6 released. 🎈🎈SNES finally runs on the $46 Tang Nano 20K kit with accurate game play and even DSP-n expansion chip support. This has been the goal all along. Tang Mega 138K Pro is also newly supported. Download from
Tweet media one
Tweet media two
Tweet media three
Tweet media four
16
33
159
@nand2mario
nand2mario
1 year
#NESTang 0.5rc is now available for the new @SipeedIO Tang Nano 20K FPGA board: . New features:✅NES emulation without tethering to a PC. ✅Game loading via MicroSD cards ✅Better stability thanks to the new SDRAM on the Nano 20K. Check it out! #fpgagaming
Tweet media one
Tweet media two
Tweet media three
Tweet media four
8
25
137
@nand2mario
nand2mario
2 years
NESTang 0.3 is available! The little fpga NES emulator now supports the $40 @SipeedIO Tang Primer 20k dock. The hdmi module is no longer needed, saving much trouble. Also added is onscreen menu for choosing games.
4
22
131
@nand2mario
nand2mario
7 months
#SNESTang 0.4 is out. As promised, this adds DSP expansion chip support. So popular #snes games like Super Mario Kart and Pilotwings now run. Also fixed an issue that freezes Super Metroid and Zelda. Enjoy.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
7
26
130
@nand2mario
nand2mario
11 months
Mostly done with porting #nestang to tang primer 25k 🎉. Added parameters to the sdram controller so it can be used on both nano 20k (32-bit wide ram) and primer 25k (16-bit). Also added tcl scripts for one-command building. Looking forward to the release of the board.
Tweet media one
5
27
121
@nand2mario
nand2mario
11 months
Tweet media one
6
20
121
@nand2mario
nand2mario
8 months
Donkey Kong Country on #snestang 0.2. #fpgagaming 🎈 🎈
4
17
116
@nand2mario
nand2mario
10 months
Finally got some time to work on the SNES port for Tang fpgas. The hello world ROM is already working off SD card on #tangmega138k which has space for debug logic and everything. Once I got games working, I will remove the extra logic and move it to #tangprimer25k .
8
24
110
@nand2mario
nand2mario
8 months
“One minute of near cd quality sound on SNES”. That’s a gem of a test rom. :)
5
16
106
@nand2mario
nand2mario
1 year
#NESTang 0.7 now available 🚀: FPGA NES on @SipeedIO Tang Nano 20K. ✅ FAT32 support is here. No more preparing the SD card with a special script. Just place roms in root dir. ✅ USB gamepads support was added in last version (0.6). Grab the binary from !
7
26
110
@nand2mario
nand2mario
8 months
#SNESTang 0.3 just released🚀. SNES on $60 Tang Primer 25K FPGA kit. ✅Support dirs and exFAT (>32GB cards). ✅Menu in game to load new games ✅Risc-V softcore-based I/O system for future features like save-states and options. ✅Game compatibility fixes 🎉
6
29
108
@nand2mario
nand2mario
1 year
#NESTang 0.5 final is now available: :✅FPGA NES on @SipeedIO Tang Nano 20K. ✅Game loading via MicroSD cards ✅Better stability thanks to the new SDRAM on the board. ✅Game controller support. #NES
Tweet media one
Tweet media two
Tweet media three
Tweet media four
5
20
105
@nand2mario
nand2mario
2 years
After all, NES emulation could be done without SDRAM thanks to Tang Primer 20K’s on-board DDR3 memory. It’s been quite some work. @SipeedIO Still some rough edges to smooth out before I post the core.
3
22
98
@nand2mario
nand2mario
10 months
Got a dual-bank CL2 SDRAM controller working for SNES on Tang. This is necessary for putting both CPU memory (cartridge, wram) and APU memory into the same SDRAM. VRAM will fit in FPGA block RAM fortunately. Looks like sound will work soon. :)
2
14
98
@nand2mario
nand2mario
11 months
The pmod usb host dongles are finally working, on the 2nd batch from JLC. Now even small FPGAs can handle USB keyboard and mouse with the #usb_hid_host core.
Tweet media one
3
16
96
@nand2mario
nand2mario
9 months
Gradius III for #snes , on #tangmega138k
6
17
96
@nand2mario
nand2mario
1 year
Well, this took some time. I’ve been working on a SNES core for Tang Nano 20k. Still not sure if everything will fit. But so far the CPU, PPU, HDMI are complete enough to run a “hello world”. Sound/controller/extension chips are not there yet. Let’s keep going~
Tweet media one
Tweet media two
Tweet media three
5
15
95
@nand2mario
nand2mario
2 years
I just released NESTang 0.2 - an NES emulator for Tang Primer 20K fpga board. v0.2 no longer needs external SDRAM and uses on-board DDR3 memory, removing a major hurdle for adoption. Features: 720p HDMI, PC loader and cycle-accurate emulation. Enjoy😃
2
19
94
@nand2mario
nand2mario
9 months
Running some snes games on #tangmega138k . 🎉
Tweet media one
Tweet media two
Tweet media three
3
14
84
@nand2mario
nand2mario
11 months
Browsing @SipeedIO 's tang primer 25k examples. It can finally do 1080p @60 HDMI, vs. nano 20k's 720p. The chip has a new PLL (PLLA vs rPLL) which reaches well over 800Mhz (vs. nano's 625Mhz). And 1080p needs 148.5 * 5 (OSER10 primitive multiples) = 742.5. ()
Tweet media one
6
11
83
@nand2mario
nand2mario
10 months
Just uploaded #NESTang 0.8rc! 🚀NES on the brand new Tang Primer 25K FPGA from @SipeedIO ✅ Supports Sipeed pmods: sdram, hdmi, ds2 & sd.✅ Supports ds2 and USB gamepads ✅ DS2 controller stability improved.✅Also works on tang nano 20k. Grab your image
Tweet media one
5
10
79
@nand2mario
nand2mario
8 months
Almost ready to release #snestang 0.3 w/ a menu system rewrite🎉. A RiscV softcore was added to handle menu and I/O. It is much better and actually smaller than the Verilog SD controller. It already supports file writes (was readonly) and option saving/loading. This is wonderful.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
7
13
79
@nand2mario
nand2mario
6 months
#SNESTang FPGA 0.5 just released, for @SipeedIO Tang Primer 25K. 🎉1. Fully automatic BSRAM backup and restore. 2. 3x game loading speed. 3. Major game compatibility improvements and more. Get the bitstream from github:
Tweet media one
Tweet media two
Tweet media three
Tweet media four
6
16
76
@nand2mario
nand2mario
1 year
Printed a case for #tangnano 20k running #NESTang . The blue PLA+ is looking great. Now we just need #sipeed to produce and release the board so I can publish the code. I heard it’s going to be cheap.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
8
8
75
@nand2mario
nand2mario
8 months
Uploaded #snestang 0.2, FPGA SNES for @SipeedIO Tang Primer 25k. ✅ More games are now playable: Donkey Kong Country, Earthbound, Mortal Kombat II… ✅ Fixed image glitches from upscaler. Download from
0
15
72
@nand2mario
nand2mario
2 years
#nestang 0.4 is live! Linux loader is added so you can use a cheap Linux SBC to load games for NES emulation. Also added is 8:7 pixel aspect ratio, which is the original NES PAR. Mario is not skinny any more. Enjoy.
4
10
68
@nand2mario
nand2mario
6 months
BSRAM backup and restore for #snestang . Supports standard .srm save files. 🎈
5
15
66
@nand2mario
nand2mario
1 year
Finished a perfboard for #tangnano 20k to run #NESTang and connect controllers. We’ve got a nice mini-NES with wireless controllers. Just need a case to go with it…
Tweet media one
Tweet media two
Tweet media three
Tweet media four
6
10
68
@nand2mario
nand2mario
11 months
Annoucing usb_host_pmod 🚀, an open pmod module to add usb host interface to FPGA boards. KiCAD sources and a JLC ordering guide is up: . Tested to work with various Lattice, Gowin and Xilinx FPGAs. 10 dongles cost ~$34 plus shipping. @ico_TC @regymm0
@nand2mario
nand2mario
11 months
The pmod usb host dongles are finally working, on the 2nd batch from JLC. Now even small FPGAs can handle USB keyboard and mouse with the #usb_hid_host core.
Tweet media one
3
16
96
2
13
67
@nand2mario
nand2mario
8 months
The #snestang 0.3 release contains a Risc-V softcore-based I/O system. In this blog I discuss its design (it is kinda interesting) and how to make it scalable to larger firmware sizes, and general for different gaming cores.
1
15
63
@nand2mario
nand2mario
2 years
#NESTang running on #tangnano 20K. Got SD rom loading working. Spent some time to add an Verilog-driven menu system. 20 roms a page and any number of pages. It turn out quite nice!
Tweet media one
Tweet media two
7
7
61
@nand2mario
nand2mario
6 months
Such a pretty SNES controller adapter board. 😜
Tweet media one
6
10
61
@nand2mario
nand2mario
1 year
nanoSPC 0.1 for Tang Nano 20k is available. It plays classic Super Nintendo music thru the FPGA. ✅ 32Khz stereo through HDMI. ✅ Up to 99 songs on one microsd. ✅ LED audio level display. ✅ No additional hardware needed other than the nano. Grab it from
3
18
59
@nand2mario
nand2mario
10 months
Ok, audio finally works for SNES on Tang. A bug was introduced in the cpu when using the new sdram controller. Took a while to locate as syncing with the hdmi frames made things unpredictable.
1
13
58
@nand2mario
nand2mario
1 year
Verifying the usb hid module on more boards. Yosys and netxpnr works w/ a few tweaks… Wondering what build systems ppl use for fpga projects. Hdlmake, TCL scripts or just make files?
Tweet media one
@nand2mario
nand2mario
1 year
Introducing usb_hid_host, a compact USB HID host FPGA core for interfacing keyboards, mice and gamepads. . ✅ Low resource usage at <300 LUTs and 1 BRAM. ✅ No CPU or USB IC required. Currently tested on Tang Nano 20K. Will support other boards.
5
36
155
7
11
54
@nand2mario
nand2mario
1 year
Parsed fat32 dir listing with verilog. Onto actually loading the file. #nestang
Tweet media one
2
5
55
@nand2mario
nand2mario
1 year
Snes sound is working on the nano. :D Anyone cares for a standalone SPC music player on the board? If there’s interest I will make and release one.
6
9
51
@nand2mario
nand2mario
1 year
With @ico_TC ’s great help, the first batch of USB host pmod modules have gone to manufacturing at @JLCPCB . This should help more FPGA boards get USB keyboard, mouse and gamepad support through #usb_hid_host open source module.
Tweet media one
3
6
51
@nand2mario
nand2mario
1 year
Got the pmod modules back from JLC. Let’s see how this goes. #usb_host_hid
Tweet media one
2
7
42
@nand2mario
nand2mario
2 years
Adding Tang Nano 20k support for #NESTang . Most things are ready, SDRAM, hdmi, and SD card and controller(yay!). Got tripped by the Gowin compiler though. Had to roll back to 1.9.8.8 from 1.9.8.10. Otherwise it’s been quite smooth. @SipeedIO thanks for making this nice board!
Tweet media one
5
10
42
@nand2mario
nand2mario
1 year
Rom loading from sd card is done. Running side-by-side with snes9x. #snes on tang nano 20k
1
5
43
@nand2mario
nand2mario
9 months
Congrats! I tried hard in the summer to fit it into 20K LUTs but couldn't. Now you've done it. A lot of love for SNES lately. 🎉
@pgate1
かんな丸⁧!!⁨
9 months
SNES on FPGA feat. TangNano20K(No sound) LUTが足りなくサウンドDSPを除外して使用率73%で実装しました。でもサウンドメモリは必要なのでBlockSRAMを使ってます。本当はSDRAM1個でWorkRAMと共存させたいけどアクセス速度がちょっと厳しくて無理だった。
3
17
111
1
5
43
@nand2mario
nand2mario
1 year
Web site for #NESTang FPGA NES is live at with setup instructions, screenshots and dev docs. Contributions of more guides/documentation are welcome. Also, we just achieved 100 github stars!
Tweet media one
1
4
38
@nand2mario
nand2mario
1 year
Moment of truth. Not enough LUTs to fit a snes into tang nano 20k... yet. Both LUT+ALU and BRAM exceed the limit. The BRAM one is solvable as we are moving the 64KB ARAM into sdram. The 2K LUT+ALU is trickier. We'll see...
Tweet media one
4
3
38
@nand2mario
nand2mario
2 years
Verilator + SDL is fun! Working on game compatibility for #nestang . I decided to use verilator to do some simulation. Here is the verilator-compiled fpga emulator running on my Mac. Frame rate is 12fps. Not bad at all!
1
4
38
@nand2mario
nand2mario
1 year
#NESTang 0.6 is now available 🚀: . FPGA NES on @SipeedIO Tang Nano 20K and Tang Primer 20K. ✅New feature this time is USB gamepads support, in addition to existing dualshock 2 controllers. Enjoy!
Tweet media one
Tweet media two
Tweet media three
1
11
36
@nand2mario
nand2mario
1 year
Thanks to the excellent work by hi631 @github , usb gamepads now work for #nestang . This usb hid host uses a tiny 16-instruction processor to talk to the gamepad. There’s still some work left to improve compatibility. But overall it’s a very nice solution.
Tweet media one
0
8
37
@nand2mario
nand2mario
10 months
Congrats. #NESTang for primer 25k will be out tomorrow. 🎉
@SipeedIO
Sipeed
11 months
New #FPGA Tang Primer 25K coming! Core Module in 23x18mm (half SD size), and modular dock board with 3xPMOD + SDRAM module + USB, support NES/SNES! Plenty PMOD come with it! check it out:
Tweet media one
10
63
303
1
7
36
@nand2mario
nand2mario
2 years
First version of NESTang available - NES emulator for Tang Primer 20K FPGA. 720p HDMI video and sound✅. Cycle accurate emulation✅. Most games work✅. PC loader✅. Needs a MiSTer SDRAM module. Open source GPL licensed. @SipeedIO @GOWIN_SEMI
3
7
32
@nand2mario
nand2mario
1 year
Posted my verilog controller for Tang Nano 20K's on-chip 8MB sdram: . It is the one used in #nestang and comes with a usage example. Read and write latency is 5 cycles and works at up to 66Mhz. Should be useful for retro-game/computer projects on the nano.
0
8
35
@nand2mario
nand2mario
9 months
Just posted the final #NESTang 0.8 release to github. The only change is 0.8 supports @SipeedIO Tang SDRAM modules, instead of the MiSTer sdram used by 0.8rc. Please update if you get Sipeed's memory. 🔥
@nand2mario
nand2mario
10 months
Just uploaded #NESTang 0.8rc! 🚀NES on the brand new Tang Primer 25K FPGA from @SipeedIO ✅ Supports Sipeed pmods: sdram, hdmi, ds2 & sd.✅ Supports ds2 and USB gamepads ✅ DS2 controller stability improved.✅Also works on tang nano 20k. Grab your image
Tweet media one
5
10
79
0
5
35
@nand2mario
nand2mario
2 years
Finishing up Linux “loader” program for #nestang NES emulator. PiZero or similar form factor sbc should be a good companion for Tang 20k fpga, for loading roms or new cores in the future. It’s working well enough as shown here.
Tweet media one
2
4
31
@nand2mario
nand2mario
11 months
I like the mini-mother-board + memory module + expansion slots design. A lot of ways to tailor this to your own needs. This is almost like a PC architecture. 😀
@nand2mario
nand2mario
11 months
Tweet media one
6
20
121
2
1
28
@nand2mario
nand2mario
1 year
Just shaved 500+ off spc700 LUT count by moving the micro-code to bram. Could anyone experienced in HDL area optimization point me to some guides / best practices? Looks like doable but I do want to go in the right direction. Thanks a lot.
@nand2mario
nand2mario
1 year
Moment of truth. Not enough LUTs to fit a snes into tang nano 20k... yet. Both LUT+ALU and BRAM exceed the limit. The BRAM one is solvable as we are moving the 64KB ARAM into sdram. The 2K LUT+ALU is trickier. We'll see...
Tweet media one
4
3
38
3
1
25
@nand2mario
nand2mario
8 months
Part 2 discusses usage of the RISC-V tool chain for the #snestang firmware, and explains how we actually store and load the firmware.
0
6
25
@nand2mario
nand2mario
1 year
Just added an Icesugar Pro demo project for usb_hid_host, in addition to Tang Nano 20K. As the core didn’t use vendor primitives, it should work for most FPGAs.
@nand2mario
nand2mario
1 year
Introducing usb_hid_host, a compact USB HID host FPGA core for interfacing keyboards, mice and gamepads. . ✅ Low resource usage at <300 LUTs and 1 BRAM. ✅ No CPU or USB IC required. Currently tested on Tang Nano 20K. Will support other boards.
5
36
155
1
5
23
@nand2mario
nand2mario
11 months
The primer 25k design is very modular and interesting… 1 USB hosts, 3 pmods, and a 40-pin port presumably for SDRAM.
@GwenhaelG
GwenhaelGoavec
11 months
Received these two beautiful boards ! 🥳 - @SipeedIO Tang Mega 138K ( @GOWIN_SEMI GW5A-AST-138) - @SipeedIO Tang Primer 25k ( @GOWIN_SEMI GW5A-25A) Thanks @SipeedIO !!! 🥂 Time to play / work on #openFPGALoader and @enjoy_digital LiteX 😀
Tweet media one
Tweet media two
3
8
43
0
3
24
@nand2mario
nand2mario
11 months
Sipeed confirmed there’s a Tang 138K for retro-gaming coming “in Dec”. Presumably with SDRAM and other peripherals, and also cheaper than the $200 dock.
@SipeedIO
Sipeed
11 months
@vsoftster We will release cheaper 138K version in Dec, design for RetroGames
5
0
8
3
2
23
@nand2mario
nand2mario
6 months
Just switched from using the license file to Sipeed's license server for Gowin IDE commercial version for Tang Mega 138K Pro. Works like a charm~
@SipeedIO
Sipeed
6 months
Notification: Our Gowin #FPGA IDE online Lic Server will be migrated to 106.55.34.119 today. You can modify the IP address settings of the Lic server in the IDE to continue use the service. You can also view the IP of online servers through the domain name
2
7
21
1
2
23
@nand2mario
nand2mario
6 months
Design doc for #snestang 0.5 updated. Read it if you are interested in how the RISC-V softcore communicates with SNES, how BSRAM backup is done, and etc.
0
6
21
@nand2mario
nand2mario
2 years
Getting NES closer to working on Tang Primer 20K… @SipeedIO @GOWIN_SEMI
Tweet media one
2
5
19
@nand2mario
nand2mario
1 year
More optimization of snes for the nano 20k. Good news is that synthesis has finally passed (actual logic number is about 20100). And the code can actually run @nesdoug2 's music example working under verilator simulation. Bad news is routing is still failing with unrouted nets..
Tweet media one
Tweet media two
2
4
21
@nand2mario
nand2mario
2 years
Working on a low latency DDR3 controller for Tang Primer 20K, for the NES emulator. It uses OSER8_MEM/DQS primitives and aims for DDR3-800 speed. Just got to the point where the right WRITE/READ commands are executed by the memory model in iverilog simulation.
Tweet media one
3
1
20
@nand2mario
nand2mario
1 year
Just uploaded #NESTang 0.7.1. 0.7 allows at most 256 roms. 0.7.1 extends the limit to over 4000.
2
2
20
@nand2mario
nand2mario
10 months
Clocking for fpga gaming is funny. 21.47 is the NES “master clock”. The PPU runs at 1/4 of the speed (5.37) and CPU at 1/12 (1.79). So what happens is 27Mhz is divided by 5 to get the PPU clock (5.4), then by 3 to CPU clock. 27Mhz itself is used to run the sdram.
0
2
20
@nand2mario
nand2mario
9 months
Great. There is a need for a better FAT32/exFAT module, even better if there’s write support. #snestang has one that supports FAT32, root dir enumerate and file reads. Still not good enough.
@pgate1
かんな丸⁧!!⁨
9 months
FPGAでSDカード使う時、もうずっとSDアクセスモジュールとFAT16モジュール使ってるけど、そろそろSDHCとSDXCサポートとFAT32モジュール作りたいな。そうするとFAT16はサポート切る感じになるのかな
0
0
9
0
1
19
@nand2mario
nand2mario
1 year
A GW5AT-60 based Tang Nano 60K could will be interesting for retro. Add 32MB of SDRAM, it should have enough resources for most things.
Tweet media one
@pgate1
かんな丸⁧!!⁨
1 year
TangNano9KのGW1NRが55nmプロセスFlashベース TangNano20KのGW2ARが55nmプロセスのSRAMベース そりゃ遅延少なくなりそう TangNano60KがGW5AT-60だとすると22nmSRAM?
1
2
4
3
2
18
@nand2mario
nand2mario
6 months
Interesting. The Sandisk Ultra 32GB/64GB both take a long time to initialize (ACMD41), as much as over 100ms. Not the other cards.
Tweet media one
6
1
17
@nand2mario
nand2mario
1 year
Get this is you want to use #usb_hid_host with pmod.
@splinedrive
logic destroyer
1 year
Oh, what's this again, such a nice thing from @machdyne . It's called USB-PMOD, you can make your softcore dance with bitbanging or you write your own USB-core in verilog to speak usb.
Tweet media one
0
5
42
1
5
17
@nand2mario
nand2mario
9 months
Sipeed sdram module is finally in stock. Just ordered one. Once I verify on it, I'll release #nestang 0.8.
1
3
17
@nand2mario
nand2mario
6 months
Nice board with BlueRetro.
@AngryHelder
Helder Silva
6 months
@nand2mario @SipeedIO Tried it out today with that nestang carrier board I made and its working great. Some special chip games like mega man x2 and x3 don't work but I was expecting that.
0
3
7
0
0
18
@nand2mario
nand2mario
6 months
For the nano, games less than 3.75MB work due to its memory size limitation. Primer 25K supports all game sizes.😀
1
0
19
@nand2mario
nand2mario
1 year
Very cool! Tiny wireless FPGA implementation of NES.
@Epyc7
Epyc
1 year
This quick little project was a ton of fun! NESTang + Tang Nano 20k + ESP32 + BlueRetro = NES FPGA with wireless controller support in a tiny package. All this for around $30! Thanks to all of the talented folks behind these projects. @nand2mario @SipeedIO @darthcloud64
Tweet media one
Tweet media two
Tweet media three
Tweet media four
7
22
90
1
3
17
@nand2mario
nand2mario
2 years
VDPtest can actually runs games. ✌️Still pretty far from actually having a new core for Tang Primer 20k fpga. This is simulated Verilog running, not real fpga. But the basics are there. Fx68k + fpgagen + tv80 + verilator. #fpgagaming
4
2
17
@nand2mario
nand2mario
8 months
Wasn’t sure if adding DSP chip was feasible, because of the LUT and ROM space needed. Luckily some optimization did the job.
1
0
15
@nand2mario
nand2mario
2 years
Quick update. Sounds and controller support done for NES on Tang Primer 20K. Almost there… #FPGA
1
3
14
@nand2mario
nand2mario
7 months
Behind the scene, the biggest change this time is that VRAM is moved from FPGA block RAM to SDRAM. This frees up valuable block RAM space, which was not enough for the DSP expansion chip.
1
0
16
@nand2mario
nand2mario
9 months
This is still early stage. This plays about half of the top 50 snes games in my test. So lower your expectations. I want to get this out first as I’ve been debugging with test roms with sources. Next I need to decompile and debug those non-working games. So it’ll take some time.
1
0
15
@nand2mario
nand2mario
8 months
The "iosys" softcore opens doors to other features like save states, cheats, button remapping, resolution settings etc. It loads code from the on-board SPI flash, and uses sdram. So it does not consume more FPGA resource as we add features to the firmware. So that's also nice. :D
1
1
13
@nand2mario
nand2mario
2 years
Should be a good fit for retro games.
@SipeedIO
Sipeed
2 years
New #FPGA TangNano 20K coming soon~ SIP low latency SDRAM instead of DDR3 or PSRAM, upgrade BL702(USB2.0 FS) to BL616(USB2.0 HS OTG), Add external pll chip MS5351 to gen accurate clk~ Special design for retro games, on board codec+pa for speaker, and support PS2 joystick~
Tweet media one
Tweet media two
17
53
307
1
1
12
@nand2mario
nand2mario
9 months
Talking about timing closure. Only recently did I discover this. Algo 2 seems to make a big difference.
Tweet media one
Tweet media two
1
2
12
@nand2mario
nand2mario
2 years
Making progress on the DDR3 controller for Tang Primer 20K. Most logic is done, including leveling/calibration. It works at DDR3-800 speed and read latency is around 90ns. Latency should be low enough for some emulation uses.
Tweet media one
4
0
11
@nand2mario
nand2mario
2 years
Playing with the tiny $10 Lichee Pi Nano linux board. Tweaked buildroot to support USB-OTG host mode and game controllers. Could use this to load games to #nestang fpga emulator. Code is here if anyone needs USB-OTG for this board: @suarezvictor
Tweet media one
3
1
12
@nand2mario
nand2mario
9 months
The first version has no special chip support. The DSP-x and CX4 could probably fit in later versions. The other chips we’ll see.
@DiniertoDesigns
Dinierto Designs
9 months
@kaboekieman @nand2mario From what I understand most of what makes the SNES core take up so much space is support for all the enhancement chips. I'm guessing that's been eschewed here
0
0
1
1
1
11
@nand2mario
nand2mario
1 year
Want to learn more about how I implemented the FPGA menu and set up the SD card data layout? Check out this page on my website for all the details:
1
1
11
@nand2mario
nand2mario
9 months
Another challenge is clocks and timing. The SNES is a considerably more complex machines than NES with higher speed and more chips with different clocks. In my experience gowin fpgas are slower than intel fpgas in timing. So it took more careful arrangements and trial-and-errors.
0
0
10
@nand2mario
nand2mario
1 year
Some VFXs are working. :D
0
2
11
@nand2mario
nand2mario
7 months
I finally got around to buy a HDMI capture dongle. So these screenshots are captured over HDMI.
0
0
11
@nand2mario
nand2mario
2 years
Got a very basic “VDP test” for a certain console working under verilator simulation. This turns out to be much more complicated than NES. Let’s hope we can cram the machine into the little Tang Primer 20k fpga.
Tweet media one
5
0
10
@nand2mario
nand2mario
2 years
Lots of good features for affordable fpga gaming. #NESTang will support it after it comes out.
@SipeedIO
Sipeed
2 years
New #FPGA #TangNano 20K Coming soon~ Only 5.5x2.5cm, with 20k luts, 64Mbit SDRAM, RGB LCD, HDMI, WS2812, onbaord codec&PA, support PlayStation2 JoyStick~ And support #LiteX now!
Tweet media one
16
47
245
1
1
10