-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
54 lines (49 loc) · 2.05 KB
/
.gitlab-ci.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_UPDATE_FLAGS: --jobs 4
# see https://docs.gitlab.com/runner/configuration/feature-flags.html
FF_SCRIPT_SECTIONS: "true"
Vivado:
image: ${CI_REGISTRY}/docker-images/vivado:latest
tags:
- Vivado
parallel:
matrix:
- PROJECT_NAME: ["1_Encoder", "2_Display", "3_StopWatch", "4_WithTiming"]
VIVADO_VERSION: "2022.1"
variables:
TOP_NAME: toplevel
RUNS_NAME: 1
script:
- |
exec-Vivado.sh \
--select-version=${VIVADO_VERSION} \
--project-file=project/${PROJECT_NAME}.xpr
- CheckTimingEvolution ./project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}.vdi
after_script:
- CheckSynthesisLogfile ./project/${PROJECT_NAME}.runs/synth_${RUNS_NAME}/${TOP_NAME}.vds
- |
CopyFile project/${PROJECT_NAME}.runs/synth_${RUNS_NAME}/${TOP_NAME}.vds .
CopyFile project/${PROJECT_NAME}.runs/synth_${RUNS_NAME}/${TOP_NAME}_utilization_synth.rpt .
CopyFile project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}_utilization_placed.rpt .
CopyFile project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}.vdi .
CopyFile project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}_opt.dcp .
CopyFile project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}_routed.dcp .
CopyFile project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}.bit .
# CopyFile project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}.bin .
# CopyFile project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}.ltx .
# CopyFile --rename project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}.sysdef ${TOP_NAME}.hdf
# CopyFile --rename project/${PROJECT_NAME}.runs/impl_${RUNS_NAME}/${TOP_NAME}.hwdef ${TOP_NAME}_no_bitstream.hdf
artifacts:
name: "${CI_PROJECT_NAME}-${CI_COMMIT_SHORT_SHA}-${CI_PIPELINE_ID}"
when: always
paths:
- "*.vds"
- "*.rpt"
- "*.vdi"
- "*.bit"
- "*.ltx"
- "*.hdf"
- "*_opt.dcp"
- "*_routed.dcp"
expire_in: 1 week