VerilogでUART
#fpga #verilog #uart
UARTのボーレートの計算方法
自作CPUへのUARTの組み込み
自作のUARTモジュールではなく、freecores/osdvu を利用した
https://github.com/freecores/osdvu
FPGAでUARTループバック回路を作成した
周辺機器を追加(UARTコントローラ)
実装
UART通信用のサンプリングクロック生成機
UARTレシーバ
UARTトランスミッタ
UARTモジュール
UARTのloopback回路
Memory-mapped I/OでUART
動作確認
WindowsでUART通信
参考
FPGA Prototyping by SystemVerilog Examples の12章「UART Core」
https://www.amazon.co.jp/dp/B07CW5MSLB/
ソースコード
https://academic.csuohio.edu/chu_p/rtl/fpga_mcs_sv.html
ZIPCPU / 5. Serial Port Transmitter
https://zipcpu.com/tutorial/lsn-05-serialtx.pdf
シリアルインターフェース(RS-232C)の説明 (marseeさん)
https://marsee101.blog.fc2.com/blog-entry-154.html
Verilog-HDL講習会DE0編 (中原先生)
(12) RS232C受信(Rx)
https://www.slideshare.net/HirokiNakahara1/veriloghdl-tutorial-12
(13) RS232C送信(Tx)
https://www.slideshare.net/HirokiNakahara1/veriloghdl-tutorial-13