-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaliases_eda
69 lines (55 loc) · 1.58 KB
/
aliases_eda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -*- mode: shell-script -*-
# Time-stamp: <2024-10-11 10:16:52>
# Aliases for 'EDA-scripts'
#
# Usage:
# add to your profile or bashrc:
#
# if [ -f <path2this_file/aliases_eda ]; then
# . <path2this_file>/aliases_eda
# fi
# * Quartus
if [ "$OS" = "Windows_NT" ]; then
export RUN_BACKGROUND="&"
else
export RUN_BACKGROUND=""
fi
alias qp_jtag_info='eval jtagconfig --enum'
alias qp_eclipse='eval eclipse-nios2 $RUN_BACKGROUND'
alias qp_megawizard='eval qmegawizq $RUN_BACKGROUND'
alias qp_prgw='eval quartus_pgmw $RUN_BACKGROUND'
alias mm='mg_make'
# ** Cable
# Setting the cable allows to speed up the work of scripts which are using JTAG cable
export QP_CABLE_NAME=USB-Blaster[USB-0]
alias qp_cable_name_set='export QP_CABLE_NAME=USB-Blaster[USB-0]'
alias qp_cable_name_unset='unset QP_CABLE_NAME'
# * Mentor
# ** QuestaSim
if [ "$(uname)" = Linux ]; then
alias rvsim='vsim $(pwd) &'
else
alias rvsim='questasim &'
fi
alias vsim_run='vsim -c -do "run -all; quit"'
alias vl='vsimlog'
# *** Make-file opstions
# Saving names for easy access using CLI autocomplete
#
# vlog, vopt, vsim option:
export QUIET_OPTION="-quiet"
export VSIM_MODE="-c"
# UVM message verbosity:
export UVM_MSG="UVM_LOW"
# ** Color QuestaSim (colorquestasim)
# Saving the name for easy access using CLI autocomplete
export COLORQUESTASIM="on"
# * Wish messages
alias wish_msg_err="wish_msg Error red"
alias wish_msg_ok="wish_msg Ok green"
# This is for the sake of Emacs.
# Local Variables:
# time-stamp-end: "$"
# time-stamp-format: "<%:y-%02m-%02d %02H:%02M:%02S>"
# time-stamp-start: "Time-stamp: "
# End: