摘要: 背景 现有一个 UVM 验证 Monitor,采集 DUT 输出以及中间节点信号。从 RTL 仿真迁移到后仿(门级仿真 + SDF 反标)时,Monitor 需要针对性修改。核心修改集中在三个方面: 信号路径的层次化引用 采样时机与 X 态处理 中间节点的可观测性保障 RTL 仿真中通过 vif 直 阅读全文
posted @ 2026-10-27 11:20 shiguang9870 阅读(4) 评论(0) 推荐(0)
摘要: 字符串去除行尾空格 函数 // 去除字符串末尾的换行符和空格符 function string remove_trailing_whitespace(string str); int len = str.len(); int last_valid_index = -1; // 空字符串直接返回 if 阅读全文
posted @ 2025-09-28 13:57 shiguang9870 阅读(52) 评论(0) 推荐(0)

© 博客园 · 个人博客

Powered by 博客园  ·  Theme Customized