Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thotypous/tangnano9k-bsv-uart-test
UART test for Tang Nano 9k in Bluespec, synthesis with yosys+nextpnr
https://github.com/thotypous/tangnano9k-bsv-uart-test
Last synced: about 1 month ago
JSON representation
UART test for Tang Nano 9k in Bluespec, synthesis with yosys+nextpnr
- Host: GitHub
- URL: https://github.com/thotypous/tangnano9k-bsv-uart-test
- Owner: thotypous
- Created: 2024-04-29T23:53:31.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-31T23:35:34.000Z (7 months ago)
- Last Synced: 2024-06-01T20:18:19.968Z (7 months ago)
- Language: Verilog
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Environment
Use `bluespec-git`, `bluespec-contrib-git`, `yosys-git` and `nextpnr-git` from [Chaotic AUR](https://aur.chaotic.cx), or [docker-fpga-builder](https://github.com/thotypous/docker-fpga-builder).
# Running
```
make load
```# Caveats
USB UART in Tang Nano 9k is an emulated FTDI which seems to be a little buggy.
The only way I found to reliably set the baud rate was a combination of GNU screen and picocom. Right after loading the bitfile to board, run:
```
screen /dev/ttyUSB1 3000000,cs8,-parenb,cstopb
```Then close GNU screen by typing `Ctrl+a k y`.
Finally, run picocom and have fun:
```
picocom -b 3000000 -d 8 -p 1 -y n /dev/ttyUSB1
```