-
First make sure to install
rsub
in Bash (follow the tutorial here) and make sure it is in the $PATH environment variable. -
Create a symlink to the windows executable of Sublime Text so it is the $PATH (I use the
~/bin/
directory that I created). I did this by adding the following lines to my~/.bashrc
because I have found symlinks to be buggy in the Bash environment. This ensures the symlink is re-created each time Bash starts up. (Note: your installation path to the Sublime Text executable may vary)$ ln -sfn "$HOME/bin/wsub" "/mnt/d/Program Files/Sublime Text 3/subl.exe"
-
Be sure you are calling
ncverilog
with the following flags to enable coverage tracking:-coverage all -covoverwrite
-
In your SystemVerilog
program
block be sure to call the following SystemVerilog system function:$set_coverage_db_name("database_name");
. the "database_name" can be of your choosing -
After the simulation is complete, the simulator will write a database with the coverage information to the
cov_work
directory by default -
Create a file called
imc_report.cmd
and paste the commands that are below. This file simply tells imc to load the database and which information to save to the report file. Be sure to change the "database_name" so it matches with the parameter in step 2.
© 2013 Martin Bruchanov, bruxy@regnet.cz
Set interpreter: #!/bin/bash Remarks: # this is comment
Action | set -o vi | set -o emacs |
---|
#!/bin/bash | |
# Requirements: | |
# You must have the path to Inkscape in your path | |
# (/Applications/Inkscape.app/Contents/Resources/bin/inkscape) | |
# You must have coreutils installed ($ brew install coreutils) for greadlink | |
if (($# < 1)); then | |
echo "Usage: svg2eps input output" | |
exit 1 |
# Text color - normal | |
fgblack="$(tput setaf 0)" # Black | |
fgred="$(tput setaf 1)" # Red | |
fggreen="$(tput setaf 2)" # Green | |
fgyellow="$(tput setaf 3)" # Yellow | |
fgblue="$(tput setaf 4)" # Blue | |
fgpurple="$(tput setaf 5)" # Purple | |
fgcyan="$(tput setaf 6)" # Cyan | |
fgwhite="$(tput setaf 7)" # White |
sudo rpi-update
sudo reboot
Note: this may enable the Predictable Network Interface Names settings.
[Unit] | |
Description=My service | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/python3 -u example.py | |
WorkingDirectory=/home/user/example/ | |
Restart=always | |
User=username |
#!/usr/bin/env python | |
from __future__ import print_function | |
import json | |
import os | |
import sys | |
# User Variables | |
TYPE = "release" # "release" or "snapshot" | |
JAR_NAME = "{version}.jar" | |
LINK_NAME = "server.jar" |
#include <stdlib.h> // card > cjg.ppm | |
#include <stdio.h> | |
#include <math.h> | |
typedef int i;typedef float f;struct v{ | |
f x,y,z;v operator+(v r){return v(x+r.x | |
,y+r.y,z+r.z);}v operator*(f r){ return | |
v(x*r,y*r,z*r);}f operator%(v r){return | |
x*r.x+y*r.y+z*r.z;}v(){}v operator^(v r | |
){return v(y*r.z-z*r.y,z*r.x-x*r.z,x*r. | |
y-y*r.x);}v(f a,f b,f c){x=a;y=b;z=c;}v |