GithubHelp home page GithubHelp logo

uvm's Introduction

uvm

Questa FPGA Edhitionのライセンス認証方法

[https://www.macnica.co.jp/business/semiconductor/articles/intel/139706/]

ライセンス設定なしで使用できる最後のModelSim-ISEはQuartus Standardのダウンロードページ内"Individual Files"タブからダウンロードできる

[https://www.intel.com/content/www/us/en/software-kit/661015/intel-quartus-prime-standard-edition-design-software-version-20-1-for-windows.html]

Intel® FPGA Self-Service Licensing Center

[https://licensing.intel.com/psg/s/?language=ja]

sudo dnf -y install libXext.i686
sudo dnf -y install libgcc.i686
sudo yum install glibc-devel.i686
sudo dnf -y groupinstall "Development Tools"
cd ~
UVM_SRC=/opt/intelFPGA/20.1/modelsim_ase/verilog_src/uvm-1.2/src
vlog -sv $UVM_SRC/uvm.sv +incdir+$UVM_SRC $UVM_SRC/dpi/uvm_dpi.cc -ccflags -DQUESTA
vmap -modelsimini modelsim.ini  uvm work

手順1

UVMライブラリをコンパイルする

1. Questaインストールディレクトリ内UVMライブラリのMakefileを修正

  • MTI_HOMEを追加
  • UVM_HOMEGCCをQuestaインストールディレクトリへ合わせる
MTI_HOME = /opt/intelFPGA/20.1/modelsim_ase
#UVM_HOME ?= ..
UVM_HOME = $(MTI_HOME)/verilog_src/uvm-1.2
#GCC     = gcc
GCC     = $(MTI_HOME)/gcc-7.4.0-linux_x86_64/bin/g++

2. make実行

sudo make -f Makefile.questa dpi_lib

手順2

vlig/vsim実行スクリプトを作成する

1. Questa内UVM-1.2では、テストベンチのvlogコマンド内でUVMライブラリをコンパイルする

別途、gccコマンドでUVMライブラリをコンパイルする必要がなく、vlog時にQuestaが内蔵gccで自動コンパイルする

記述例:makefile

注意

サンプルとして使用したapb2spiをQuestaデコンパイルする場合、 defines.vが不足しているため、作成が必要

uvm's People

Contributors

retar-kamuy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.