Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

6502 SBC in a Gowin GW1NR-9 FPGA on a Sipeed Tang Nano 9k

License

NotificationsYou must be signed in to change notification settings

vossstef/tang_nano_9k_6502

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A6502 SBC in aGowin GW1NR-9 FPGA on aSipeed Tang Nano 9k.

Portedricktw project6502_HDMI to a Tang Nano 9k
Further description of the original project overhere using sources fromdisplay_controller andvt52

Features

  • HDMI Video Output 640x480
  • VT52 Terminal 80x25
  • MS BASIC
  • PS/2 Keyboard
  • RAM 4K

ToDo at Startup

A green blinking cursor will apear.
Cold[C] or warm [W] start ?
Answer by a 'c' keypress
MEMORY SIZE?
Answer by typing 4095
TERMINAL WIDTH?
Answer by typing 80
System shall response with BASIC xy and OK promt

Tang Push Button utilization

  • S1 push button Reset

Powering

Prototype circuit with Keyboard can be powered by Tang USB-C connector from PC or a Power Supply Adapter.

Synthesis

Source code can be synthesized, fitted and programmed with GOWIN IDE Windows or Linux.

Pin mapping

see pin configuration in .cst configuration file

HW circuit considerations

  • PS/2 keyboard has to be connected to 3.3V tolerant FPGA via level shifter to avoid damage of inputs ! Use e.g. 2 pcs SN74LVC1G17DBVR 5V to 3V3 level shifter. My Keyboard has internal pull-up resistors to 5V for Clock and Data Signals so didn't needed external ones.
  • Tang Nano 5V output connected to Keyboard supply. Tang 3V3 output to level shifter supply.

Pinmap PS2 Interface
pinmap

PS2 pinTang Nano pinFPGA pinPS2 Function
1J6 1077DATA
2n.c.-n.c.
3J6 23-GND
4J6 18-+5V
5J6 1176CLK
6n.c.-n.c

BOM

Sipeed Tang Nano 9k
PS/2 Keyboard
PS/2 Socket Adapter Module
2 pcsSN74LVC1G17DBVR level shifter
Prototype Board

About

6502 SBC in a Gowin GW1NR-9 FPGA on a Sipeed Tang Nano 9k

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp