forked from cocotb/cocotb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
39 lines (35 loc) · 1.31 KB
/
.gitpod.yml
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
image:
file: .gitpod.Dockerfile
tasks:
- before: >
pip3 install -e . &&
export COCOTB_REDUCED_LOG_FMT=1
init: >
gp preview https://docs.cocotb.org/ &&
cd /workspace/cocotb/examples/simple_dff &&
gp open dff.sv &&
gp open dff.vhdl &&
gp open Makefile &&
gp open test_dff.py &&
make SIM=icarus &&
EXTRA_ARGS="--trace-fst --trace-structs" make SIM=verilator &&
gtkwave dump.fst --rcvar 'initial_window_x 1920' --rcvar 'initial_window_y 1061' --rcvar 'do_initial_zoom_fit yes' &
command: >
cd /workspace/cocotb/examples/simple_dff ;
history -s make SIM=cvc ;
history -s make SIM=ghdl TOPLEVEL_LANG=vhdl ;
history -s make SIM=icarus ;
history -s EXTRA_ARGS=\"--trace-fst --trace-structs\" make SIM=verilator ;
history -s gtkwave dump.fst --rcvar \'initial_window_x 1920\' --rcvar \'initial_window_y 1061\' --rcvar \'do_initial_zoom_fit yes\' ;
history -d 3
# NOTE: the geometry for gtkwave's fullscreen size can be found with xwininfo -root
# https://www.gitpod.io/docs/config-ports/
ports:
- port: 6080 # VNC for e.g. gtkwave
onOpen: notify
- port: 5900
onOpen: ignore
vscode:
extensions:
- [email protected]:RPslnvyzniF7C66mxHT+Hg==
- [email protected]:fJXQenGkzoZwUN/RddpuSw==