I wrote a verilogAMS code and then tried to compile it. But I see the following error in Parser Log:-
ncvlog(64): 15.20-s086: (c) Copyright 1995-2020 Cadence Design Systems, Inc.DEFINE NCSIMRC ( ./ncsimrc, ~/.ncsimrc )|ncvlog: *F,DLCSYN (/P/cadence/installs/INCISIVE152/tools.lnx86/inca/files/hdl.var,4): cds.lib Syntax error 'DEFINE NCSIMRC ( ./ncsimrc, ~/.ncsimrc )'.
Could anybody please tell how to fix this issue ?
This looks as if you have something strange in your cds.lib. I can get exactly the same error by adding:
(could be INCLUDE) to my cds.lib - it makes no sense to include an hdl.var from a cds.lib file (the syntax is similar, but they serve different purposes). So please check your cds.lib for inclusion of the standard hdl.var - and remove it if needed.
Thanks a lot Andrew.
That was indeed the case. But, I am seeing an interesting issue when I create the symbol after complilation.
If there is an input or output net named with underscore (like t_plus), this net shows in the symbol as tplus (bar over plus) like shown below. How to fix this.
If you open the symbol for edit, and select those labels, they will have the "overbar" on the form checked. If you uncheck it, normal service will be resumed.
That's not the default behaviour, nor is it the default for the normal symbol generation "tsg" template. If you check which template is being used:
and the location of each template by entering:
Look to see if the template used (presumably not one in the installation unless it's been edited) has isOverbar(t) for any of the labels. If so, that's the reason why the label has been created with overbar turned on. Looking at my tsgTemplateMasters:
(("digital" "/export/home/apps/IC618_isr/tools.lnx86/dfII/samples/symbolGen/default.tsg") ("analog" "/export/home/apps/IC618_isr/tools.lnx86/dfII/samples/symbolGen/artist.tsg") ("artist" "/export/home/apps/IC618_isr/tools.lnx86/dfII/samples/symbolGen/artist.tsg") ("PCB" "/export/home/apps/IC618_isr/tools.lnx86/dfII/samples/symbolGen/package.tsg") ("metric" "/export/home/apps/IC618_isr/tools.lnx86/dfII/samples/symbolGen/metric.tsg"))
All of the files above have isOverbar(nil). There is also the envGetVal("schematic" "pinLabelOverbar") and envGetVal("schematic" "pinLabelSetOverbar") - but these don't have an effect if the isOverbar() is in the TSG file (as far as I know).