|
发表于 2018-9-7 14:21:34
|
显示全部楼层
回复 12# yongyuan_3166
Using VHDL Procedures or Verilog System Tasks
Analysis
Always analyze Verilog before VHDL.
% vlogan [vlogan_options] file1.v file2.v
% vhdlan [vhdlan_options] file3.vhd file4.vhd
Note:
Specify the VHDL bottommost entity first, then move up in order.
Elaboration
This can be done in following two ways:
•
% vcs -fsdb [elab_options] top_module/entity/cfg
•
For –P tab flow, replace vcsd.tab with novas.tab, where novas.tab is available in:
<NOVAS_INST_DIR>/share/PLI/VCS/${PLATFORM}/novas.tab
Replace vhpi debussy with novas at runtime. That is, replace
-vhpi debussy:FSDBDumpCmd with
-vhpi novas:FSDBDumpCmd
The following is the use model:
vcs -debug_pp -P $DEBUSSY_LIB/novas.tab $DEBUSSY_LIB/pli.a
simv –vhpi novas:FSDBDumpCmd
Simulation
% simv [run_options]
手册上的有点区别,但是按照手册没搞定 |
|