Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.37 KB

nvc.adoc

File metadata and controls

44 lines (25 loc) · 1.37 KB

NVC

NVC is a potent alternative to GHDL. It offers improved simulation run times and simple support for vendor libraries. It also fully supports the OSVVM and UVVM verification frameworks.

To get the latest version of NVC running on your system, you will need to build it from source. The following instructions are for Windows users:

  1. Install MSYS2 if required by following these steps.

  2. Open an MSYS2 MINGW64 terminal. Install NVC’s build dependancies:

    pacman -S --needed base-devel git mingw-w64-x86_64-{gcc,llvm,ncurses,libffi,check,pkg-config,autotools,ruby}
  3. Navigate to your chosen working directory. For example:

    cd /c/work
  4. Clone the NVC repository:

    git clone https://github.com/nickg/nvc
  5. Navigate to the cloned repo and generate the configure script:

    cd nvc
    ./autogen.sh
  6. Create a directory for the build and run the remaining steps in it:

    mkdir build && cd build
    ../configure
    make
    make install
  7. Check the NVC version - it will include a short commit hash:

    nvc --version
  8. Optional: build and install the Vivado libraries, setting the XILINX_VIVADO environment variable correctly for your system:

    export XILINX_VIVADO=/c/Xilinx/Vivado/2022.1/
    nvc --install vivado
  9. Optional: build and install the Quartus libraries:

    nvc --install quartus