fix(rtl): 修 cpu21_ps2_mouse 三处真 bug, 综合已通过 (0 errors / 0 critical warnings)
- frame_q[8:1][3] 是 Verilog-2001 非法写法(part-select 再取位), 综合报
[Synth 8-2599] range is not allowed in a prefix 与 [Synth 8-1008] frame_q is not a memory
-> 改为 frame_q[4] (= 数据字节 frame_q[8:1] 的 bit3)
- dx/dy 互换: 事件里把 dy 当 dx 上报
- 鼠标按键位错位: {2'b0, pkt_q[2], pkt_q[1]} 丢掉左键
-> {2'b0, pkt_q[2], pkt_q[1], pkt_q[0]} (对齐 cpu21_mmio / mmio.h: bit0=左键, bit1=右键, bit2=中键)
- tools/check_rtl_text.ps1: 修 tag 变量引用解析错、修块注释漏报、字符串中文误报
- create_project.tcl 头注: Vivado 版本改为 2020.2 (本机实测: 建工程 + 综合均通过)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# ============================================================================
|
||||
# cpu21-riscv 流水线 CPU —— 一键重建 Vivado 工程
|
||||
# FPGA:Nexys4DDR / xc7a100tcsg324-1(Vivado 2025.2 实测通过)
|
||||
# FPGA:Nexys4DDR / xc7a100tcsg324-1(Vivado 2020.2 实测:建工程 + 综合均通过)
|
||||
#
|
||||
# 目录结构(本脚本所在目录就是工程目录):
|
||||
# create_project.tcl 本脚本
|
||||
|
||||
Reference in New Issue
Block a user