平凡的修行

System Verilog notes

2018-06-28  本文已影响0人  余明

Background: irun.

(1) Passing value while compilation:-define N=2.

Refer to this page:

https://stackoverflow.com/questions/27779959/how-to-pass-value-to-define-n

(2) Passing value while execution:+N=2. Then in initial block, invoke system task:$test$plusargs and $value$plusargs.

Refer to System Verilog Manual.

上一篇下一篇

猜你喜欢

热点阅读