initreg用法分为两步:编译选项为 +vcs+initreg+random 仿真选项为 +vcs+initreg+0//intialize to value 0+vcs+initreg+1//initialize to value 1 +vcs+initreg+x //intialize to value x +vcs+initreg+z //initialize to value z +vcs+initreg+random //initialize to value 0 or 1 with default random ...
opts1:+vcs+initreg+random opts2:+vcs+initreg+config+initfile Runtime: opts1:+vcs+initreg+0/1/random/seed opts2:+vcs+initreg+config+initfile 注意:opts2方式可以只在compile-time添加,也可以在compile-time和run-time中都添加 只在compile-time中添加,需要在3-step中的第2步elaboration中添加,否则不会...