在IUS中使用debussy保存仿真波形

需要设置LD_LIBRARY_PATH环境变量

#######################################################################
#make.csh
#######################################################################
#!/bin/tcsh -f
#
#
set NOVAS_INST_DIR = /disks/depot3/novas/verdi200907

if($1 =~ “64”) then
set PLATFORM = LINUX64
else
set PLATFORM = LINUX
endif

setenv LD_LIBRARY_PATH ${NOVAS_INST_DIR}/share/PLI/nc_latest/${PLATFORM}/nc_shared:${LD_LIBRARY_PATH}

if($1 =~ “64”) then
irun -sv -64bit test.sv
else
irun -sv -access +rwc test.sv
endif

#######################################################################
#test.sv
#######################################################################
module test();
reg a;

initial begin
a = 0;
#1 a = 1;
#1 a = 0;
#1 $finish();
end

initial begin
$fsdbDumpfile(“./wave.fsdb”);
$fsdbDumpvars(0, test);
$fsdbDumpon();
end

endmodule

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s