Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use Modelsim to generate .fsdb file

Status
Not open for further replies.

realtek

Member level 5
Joined
Mar 15, 2004
Messages
89
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
870
Hi:
I share my experience how touse modelsim to generate .fsdb file , hope this is helpful for those who want to learn Digital Deisgn
1. install vc6
2. edit path file as evn.bat
it look like his :
set PATH=C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\Microsoft Visual Studio\COMMON\MSDEV98\BIN
set INCLUDE=C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
set LIB=C:\Program Files\Microsoft Visual Studio\VC98\LIB
3. run cl and link to generate novas.dll
it looks like this

set MODELSIM_PATH=c:\EDA\Modeltech_5.8c
cl -c %MODELSIM_PATH%\include veriuser.c

link -dll -out:novas.dll -nodefaultlib:libcmt.lib -export:init_usertfs veriuser.obj pli.lib mtipli.lib shell32.lib
4. add veriuser=novas.dll to modelsim.ini in VSIM block
4.copy novas_verilog.v to your design dir
5.add debussy share path to winnt path
6. add fsdb PLI in your testbench
initial begin
$fsdbDumpfile("pattern.fsdb";
$fsdbDumpvar(0,pattern);
end
6.use modelsim to compile your design, don't forget include novas_verilog.v
7 simulate -> Run All
8. close Modelsim,you will see pattern.fsdb in this folder

enjoy it!
Hope this is useful !!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top