How can I use the precompiled library in LDV?

Status
Not open for further replies.

darkslate

Junior Member level 1
Joined
Dec 8, 2002
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
50
I have two modules in my design.

one module dut1 uses asic libraries , the other dut2 uses xilinx coregen libraries.

the problem is that I want +delay_mode_zero complie option in dut1,
and not in dut2.

so I compiled as the followings.

ncverilog dut1.v +delay_mode_zero
ncverilog dut2

but when I compile dut2, it didn't find the dut1 instance in the library

how can I solve this.

In modelsim, I works find.

please help me......
 

compile dut1 into a separate library and then use -y when compiling dut2 to point to dut1.
 

rakko, you misunderstood my question.

option -y applies only to source code, It does not apply to compile library.
if possible, please tell me the details.

using ncvlog, ncelab, ncsim. linking with compile library is possible.

ncvlog couter.v +delay_mode_zero
ncvlog tcounter.v

ncelab worklib.tcounter
ncsim worklib.tcounter


but in ncverilog, how can I use that??
I know that cds.lib editing is necessary for library path definition, but no detalis.

please help me........... 8O
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…