GithubHelp home page GithubHelp logo

uvm_note's Introduction

example

uvm_note's People

Contributors

enchantessss avatar

uvm_note's Issues

Script

PHONY: com sim cov clean debug

OUTPUT = simv
ALL_DEFINE = +define+DUMP_VPD

Code coverage command

CM = -cm line+cond+fsm+branch+tgl
CM_NAME = -cm_name $(OUTPUT)
CN_DIR = -cm_dir ./$(OUTPUT).vdb

vpd file name

VPD_NAME = +vpdfile+$(OUTPUT).vpd

#Compile command
#VCS = vcs +v2k -timescale=1ns/1ns
VCS = vcs +v2k -override_timescale=1ns/100ps
-full64
-fsdb
-debug_all
-sverilog
+nospecify
+vcs+flush+all
$(CM)
$(CM_NAME)
$(CM_DIR)
$(ALL_DEFINE)
$(VPD_NAME)
-o $(OUTPUT)
-l compile.log

#simulation command
SIM = ./$(OUTPUT)
+ntb_ramdom_seend_automatic
$(CM) $(CM_NAME) $(CM_DIR)
$(VPD_NAME)
$(ALL_DEFINE)
-l $(OUTPUT).log

start compile

com:
$(VCS) -f file_list.f

#Start simulation
sim:
$(SIM)

#show the coverage
cov:
dve -covdir *vdb &

debug:
dve -vpd $(OUTPUT).vpd &

#start clean
clean:
rm -rf ./csrc *.daidir ./csrc
.log .vpd .vdb simv .key
+race.out
novas
verdi
*fsdb apb2apb_async

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.