• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Digital Implementation
  3. ncvhdl compilation error

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 90
  • Views 13712
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ncvhdl compilation error

livid
livid over 11 years ago

 

Hello
 
I am trying to compile a top level design. This top level design contains sub-blocks.
 
All the sub-blocks apart from one are compiled into the default directory, WORK.
One sub-block is compiled in a different directory, WORK_ECU
 
 
The configuration is defined as follows:
 
library work;
library work_ecu;
 
-- ---------------------------------------------------------------------------------------------------------------------------------
-- entity name: uccp_block1_mcp_gram_cfg
-- purpose: Universal Communications Core Platform (UCCP) Synthesis/Layout Block 1 configuration
-- ---------------------------------------------------------------------------------------------------------------------------------
 
configuration uccp_block1_mcp_gram_cfg of uccp_block1_mcp_gram is
   for rtl
      for all : img2_resetn_ip_sync
         use configuration work.img2_resetn_ip_sync_cfg;
      end for;
      for gen_mcp_rst
         for all : img2_resetn_ip_sync
            use configuration work.img2_resetn_ip_sync_cfg;
         end for;
      end for;
      for all : uccp_sysbus_addr_dec_block1
         use entity work.uccp_sysbus_addr_dec_block1(rtl);
      end for;
      for all : uccp_pbus_addr_dec_block1
         use entity work.uccp_pbus_addr_dec_block1(rtl);
      end for;
      for gen_mcp
         for gen_mcp_i
            for all : mcp_top
               use configuration work.mcp_top_cfg;
            end for;
         end for;
      end for;
 
      for gen_ecu
         for all : uccp_mips_ecu_wrap
            use configuration work_ecu.uccp_mips_ecu_wrap_cfg;
         end for;
      end for;
 
I have updated the hdl.var as follows:
 
INCLUDE $CDS_INST_DIR/tools/inca/files/defaults/hdl.var
DEFINE WORK pvrlib
DEFINE WORK_ECU mips_ecu_lib
DEFINE NCSIMRC ncsimrc
 
I have updated cds.lib as follows:
 
SOFTINCLUDE $CDS_INST_DIR/tools/inca/files/cds.lib
DEFINE pvrlib   ./pvrlib
DEFINE mips_mcu_lib ./mips_mcu_lib
DEFINE mips_ecu_lib ./mips_ecu_lib
 
When I try to compile the code, I get the following error:
 
cvhdl -v93 -error 5 -nocopy -work pvrlib  ../../src/main/uccp_block1_mcp_gram.vhd
ncvhdl -v93 -error 5 -nocopy -work pvrlib  ../../src/config_cfg0043/uccp_block1_mcp_gram_cfg.vhd
library work_ecu;
               |
ncvhdl_p: *E,LIBNOM (../../src/config_cfg0043/uccp_block1_mcp_gram_cfg.vhd,21|15): logical library name must be mapped to design library [11.2].
            use configuration work_ecu.uccp_mips_ecu_wrap_cfg;
                                     |
ncvhdl_p: *E,IDENTU (../../src/config_cfg0043/uccp_block1_mcp_gram_cfg.vhd,54|37): identifier (WORK_ECU) is not declared [10.3].
make: *** [.vmkr_Linux/uccp_block1_mcp_gram_cfg_uccp_block1_mcp_gram.ana] Error 1
[1] 4261
Exiting with status code 2
 
 
Any thoughts or pointers appreciated.
 
 
Thanks
 
JO

 

  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information