码迷,mamicode.com
首页 > 其他好文 > 详细

QS之vsim

时间:2015-04-16 19:17:34      阅读:97      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!