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 resolve multiple worklib in NC sim?

Status
Not open for further replies.

kel8157

Full Member level 2
Joined
Nov 14, 2007
Messages
131
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,298
Activity points
2,017
We are receiving multiple IPs from vendor, which both use ncvhdl with default worklib. On integration side we are advised not to change the compilation scripts due to complexity.

How do I resolve these during system integration? There will be multiple path for worklib after including each othe cds.lib. NCSIM will take the later definition of the cds.lib and discard the former thus one IP went missing after elaboration.
 

two way to solve this problem:
1. modify the lib name
2. compile different lib first, then compile top to add option for selected lib
 

ljxpjpjljx said:
two way to solve this problem:
1. modify the lib name
2. compile different lib first, then compile top to add option for selected lib

How do I modify the libname w/o changing the compilation script provided by IP provider? Each IP is of million gates and no option is given to change libname.. and communication with IP2 provider (the simpler IP) is not going too well..

Each will instantiate their module like this in cds.lib
Code:
define worklib ${IP1_path}/compile/run/worklib
Code:
define worklib ${IP2_path}/compile/run/worklib
Then in configuration of each IP's testbench..
Code:
For all: IP1 USE CONFIGURATION worklib.ip1_config;
Code:
For all: IP2 USE CONFIGURATION worklib.ip2_config;
Thus at the integration, I include both cds.lib and only IP2 remains..


Can you explain the "add option for selected lib"? I tried this in cds.lib
Code:
define worklib1 ${IP1_path}/compile/run/worklib
define worklib2 ${IP2_path}/compile/run/worklib
but ncelab doesnt like this..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top