P
Paul Uiterlinden
Guest
I'm trying to use a configuration (config endconfig construct)
with NC-Verilog. The goal is to have multiple configurations
available in one library. Each configuration would bind a different
implementation to the DUT (RTL, post-synthesis netlist, post place
and route netlist).
In order to test the principle, I created a small example with a
top module instantiating a leaf module. This leaf module is bound
to a module from different libraries. So I have two configurations:
File top_cfg1.v:
config top_cfg1;
design work.top;
default liblist work;
cell leaf use lib1.leaf;
endconfig
File top_cfg2.v:
config top_cfg2;
design work.top;
default liblist work;
cell leaf use lib2.leaf;
endconfig
In ModelSim, this works like a charm.
In NC-Verilog, trying to compile a configuration gives:
$ ncvlog verilog/top_cfg1.v
ncvlog: 05.10-p004: (c) Copyright 1995-2003 Cadence Design Systems, Inc.
config top_cfg1;
|
ncvlog: *E,EXPMPA (verilog/top_cfg1.v,1|5): expecting the keyword
'module', 'macromodule' or 'primitive'[A.1].
It would seem that the new Verilog-2001 keywords are turned off with the
-v1995 switch, but that is not the case.
Does this version of ncvlog lack support of configurations? What is the
latest version of NCSIM anyway? (I cannot find that on the Cadence WEB
site)
Thanks.
Paul.
with NC-Verilog. The goal is to have multiple configurations
available in one library. Each configuration would bind a different
implementation to the DUT (RTL, post-synthesis netlist, post place
and route netlist).
In order to test the principle, I created a small example with a
top module instantiating a leaf module. This leaf module is bound
to a module from different libraries. So I have two configurations:
File top_cfg1.v:
config top_cfg1;
design work.top;
default liblist work;
cell leaf use lib1.leaf;
endconfig
File top_cfg2.v:
config top_cfg2;
design work.top;
default liblist work;
cell leaf use lib2.leaf;
endconfig
In ModelSim, this works like a charm.
In NC-Verilog, trying to compile a configuration gives:
$ ncvlog verilog/top_cfg1.v
ncvlog: 05.10-p004: (c) Copyright 1995-2003 Cadence Design Systems, Inc.
config top_cfg1;
|
ncvlog: *E,EXPMPA (verilog/top_cfg1.v,1|5): expecting the keyword
'module', 'macromodule' or 'primitive'[A.1].
It would seem that the new Verilog-2001 keywords are turned off with the
-v1995 switch, but that is not the case.
Does this version of ncvlog lack support of configurations? What is the
latest version of NCSIM anyway? (I cannot find that on the Cadence WEB
site)
Thanks.
Paul.