系统任务及函数 使用方式:$ $符号指示这是系统任务和函数,系统函数有很多,如: 返回当前仿真时间$time 显示/监视信号值($display,$monitor) 停止仿真$stop 结束仿真$finish 例: $monitor($time,“a = %b,b = %h”,a,b); 说明:当信号a或b的值发生变化时,系统任务$monitor显示当前仿真时间,信号a值(二进制格式),信号b值(16进制格式)。 |
|关于本站|小黑屋|Archiver|手机版|无线电爱好网
( 粤ICP备14010847号 )
GMT+8, 2014-5-23 12:47 , Processed in 0.099855 second(s), 27 queries .
Powered by Discuz! X3.1 Licensed
© 2001-2013 Comsenz Inc.