feat(mcu):修复弹簧开关朝向和符号问题,然后解决c11电容和接地的问题#306
Open
rhaingenix wants to merge 52 commits into
Open
Conversation
feat(pnr): 增加 human_readable 布局与走线稳定化
feat(schematic): 新增小组弱对齐模块并修正 human_readable 布局过强对齐
Feat/pnr optimization
feat(sch): 支持配置原理图布线疏松程度
feat(pnr):修复凸起,直连线并且运行大图例子
Feat/pnr optimization
保留本地 phased remove_jogs 循环与进度日志,并入远端的 route_straight_nets、straighten_aligned_pin_connection 与 local_detour_visited。 Co-authored-by: Cursor <cursoragent@cursor.com>
Feat/pnr optimization
feat(schematic): human_readable 下 generic driver 拓扑识别、rail 布局与预布线
fear(sch) : 修复器件名称不完整的问题
fix(gensch): 移除flatten参数
Fix/flatten
feat(route):修复了主干道布线对于小图例子的问题,对于小图采取普通力导向布线
fix(label):修复NetTerminal 和 stub 标签重复导出,导致同一网络出现多个标签
# feat(mcu): 修复MCU 引脚分叉感知布局与布线
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
这个 PR 主要针对
TG032-MCU这类 MCU 原理图的局部布局进行优化,重点修复 MCU 周边触摸按键 TK 符号显示,以及 MCU 去耦电容 C11 的接地布线样式。修改内容
1. 修复 MCU 左侧 TK 触摸按键符号显示
修改位置主要在:
src/skidl/schematics/topology/mcu.py原来的问题是:
TK_Spring_Center和TK_Spring_Side在生成原理图时显示风格不一致TK2的符号方向和下面几个 TK 不统一本次修改后:
TK2 / TK3 / TK1 / TK4的符号方向保持一致2. 优化 MCU 去耦电容 C11 的 GND_0 接地布线
修改位置主要在:
src/skidl/schematics/topology/mcu.py重点涉及的函数包括:
_mcu_decouple_ground_context_mcu_force_place_decouple_at_signal_pin_mcu_route_decouple_ground_net原来的问题是:
P35/T1/TKCAPGND_0GND_0同时连接 MCU 的VSS本次修改后:
P35/T1/TKCAPGND_0trunkVSS引脚水平接出到这根GND_0trunkGND_0trunk 下方单独挂出3. 保留现有 routing 逻辑
本 PR 没有重写全局 routing 算法。
没有修改:
netlist-to-sch-via-skidl.net文件TG032-MCU.py修改集中在
skidl-pnr-opt的 MCU topology / local routing 处理逻辑中。验证方式
使用
TG032-MCU示例进行验证:打开生成的 schematic:
检查结果:
TK2 / TK3 / TK1 / TK4连接关系保持正确P35/T1/TKCAPGND_0GND_0水平连接到 MCUVSSGND_0trunk 下方接出Scope
本次 PR 只针对 MCU 专用布局中的局部显示和局部布线规则进行修复,主要服务于
TG032-MCU这类 MCU 周边电路的可读性优化。