摘要: Wait fork wait fork允许 main thread 等待,直到所有 forked threads 都结束。这在 main thread 必须生成多个 threads 并在等待所有 threads 完成之前执行某些功能的情况下非常有用。 Example 我们将使用上一篇文章中相同的示例 阅读全文
posted @ 2024-05-12 22:22 松—松 阅读(274) 评论(0) 推荐(0)
摘要: SystemVerilog Threads What are SystemVerilog threads or processes ? thread 或 process 是作为单独实体执行的任何一段代码。在 verilog 中,每个initial和always块都作为单独的 thread 生成,这些 阅读全文
posted @ 2024-05-12 21:46 松—松 阅读(51) 评论(0) 推荐(0)
摘要: SystemVerilog Coverpoint Bins Usage coverpoint 用于在 covergroup 中指定要进行覆盖率收集统计收集的目标的变量。它记录单个变量或表达式的观测值。 coverpoint后面跟变量名或表达式,用于指定要收集覆盖率的目标。 可以使用bins关键字手动 阅读全文
posted @ 2024-05-12 10:55 松—松 阅读(823) 评论(0) 推荐(0)