|

楼主 |
发表于 2018-4-30 14:00:48
|
显示全部楼层
哈哈,UVM我不是很熟,才用了一年左右。
tb_top is the top level, dut and instance will be instantiated inside.
So the absolute hierarchy path is tb_top.dut.xxx, and tb_top.dut.xxx_iinterface, ...
这样做是因为SOC一边用C写的测试,外面接了一个买来的VIP,但我们的firmware还没好,只能自己写一些简单的测试C程序。C程序需要知道外面vip的status。我想到的是在interface中把VIP的state映射过来。
还有一种想法是C程序通知testcase, testcase再做state的等待。
觉得第二种合理一些。 |
|