Home > Community > Forums > Digital Implementation > ncvhdl compilation error

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 ncvhdl compilation error 

Last post Fri, Jul 18 2014 4:47 AM by livid. 0 replies.
Started by livid 18 Jul 2014 04:47 AM. Topic has 0 replies and 1525 views
Page 1 of 1 (1 items)
Sort Posts:
  • Fri, Jul 18 2014 4:47 AM

    • livid
    • Not Ranked
    • Joined on Mon, Feb 9 2009
    • Posts 5
    • Points 70
    ncvhdl compilation error Reply

      Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";}

    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

     

    • Post Points: 5
Page 1 of 1 (1 items)
Sort Posts:
Started by livid at 18 Jul 2014 04:47 AM. Topic has 0 replies.