|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
Hi EETOP Buddies,
I’d like to define some SystemVerilog tasks/functions which can accept arbitrary sized vector input, like system function $onehot and $countones.
But I don’t know how to declare the argument in task/function, or use PLI to realize it.
Pls. kindly provide your solution if you have such experience.
Thanks a lot. |
|