Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62925

Forum Post: RE: Using custom VHDL library in cadence VHDL-AMS

$
0
0
Thanks a lot Andrew. I added the following lines in cds.lib:- softinclude /../xceliummain/19.03.007/tools.lnx86/inca/files/IEEE_vhdlams/cds.lib UNDEFINE ieee DEFINE ieee /../xceliummain/19.03.007/tools.lnx86/inca/files/IEEE_vhdlams/IEEE I compiled with the xrun command (following the document) as below:- xrun -compile -makelib /proj/../random random.vhd -endlib. It successfully compiled without errors. In the folder /proj/../random, I find the two files:--> cdsinfo.tag xm.lnx8664.067.pak. I included the library in cds.lib as DEFINE random /proj/../random. The random library comes up in Library Manager. But, when I ran a TB in AMS simulator with ADE-L with one cell using this random package as :- library IEEE; use IEEE.std_logic_1164.all; use ieee.electrical_systems.all; use ieee.math_real.all; library random; use random.rng.all; ........ ........ I got the following errors as below:- / proj/../dco/beh/vhdl.vhms: library random; | xmvhdl_p: *E,LIBNOM (/proj/../dco/beh/vhdl.vhms,5|13): logical library name must be mapped to design library [11.2]. use random.rng.all; | xmvhdl_p: *E,IDENTU (/proj/../dco/beh/vhdl.vhms,6|9): identifier (RANDOM) is not declared [10.3]. architecture beh of dco is | xmvhdl_p: *E,ENNOFN (/proj/../dco/beh/vhdl.vhms,17|22): Intermediate file for entity 'DCO' could not be loaded, entity may require re-analysis. errors: 3, warnings: 0 Can you please tell what is the issue here even after successful compilation. How to fix it ? Kind Regards,

Viewing all articles
Browse latest Browse all 62925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>