| Author |
Message |
kel8157
Joined: 14 Nov 2007 Posts: 84 Helped: 2
|
23 Oct 2009 6:00 how to resolve multiple worklib in NC sim? |
|
|
|
|
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.
|
|
| Back to top |
|
 |
ljxpjpjljx
Joined: 05 May 2008 Posts: 533 Helped: 12 Location: Shang Hai
|
24 Oct 2009 5:28 Re: how to resolve multiple worklib in NC sim? |
|
|
|
|
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
|
|
| Back to top |
|
 |
Google AdSense

|
24 Oct 2009 5:28 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
kel8157
Joined: 14 Nov 2007 Posts: 84 Helped: 2
|
24 Oct 2009 6:02 Re: how to resolve multiple worklib in NC sim? |
|
|
|
|
| ljxpjpjljx wrote: |
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..
|
|
| Back to top |
|
 |