首页 > 其他 > 详细

QS之vsim

时间:2015-04-16 19:14:37      阅读:247      评论:0      收藏:0      [点我收藏+]

 

vsim - The vsim command invokes the VSIM simulator

 

-t [<multiplier>]<time_unit>
  (optional) Specifies the simulator time resolution. <time_unit> must be one of the following:
    fs, ps, ns, us, ms, sec
  The default is 1ns; the optional <multiplier> may be 1, 10 or 100.

  Note that there is no space between the multiplier and the unit (for example, 10fs, not 10 fs).

 

 -L <library_name> …

  (optional) Specifies the library to search for design units instantiated from Verilog and for VHDL default component binding. If multiple libraries are specified, each must be preceded by the -L option. 

 

# compile testbench file

vcom -93 -explicit -work work $srcpath_0/tb_xxx.vhd 

# run simulation

vsim -L xxx -t 1ps tb_xxx

 

QS之vsim

原文:http://www.cnblogs.com/mengdie/p/4432588.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!