Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
NanoSoC Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
NanoSoC Tech
Compare revisions
c04ad57b008e85421dcb4a0a69b54a54e386c3a7 to 8774364bd12fd165f33e9714b75ebcedda75b90a
Project 'soclabs/nanosoc' was moved to 'soclabs/nanosoc_tech'. Please update any links and bookmarks that may still have the old path.
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
soclabs/nanosoc_tech
Select target project
No results found
8774364bd12fd165f33e9714b75ebcedda75b90a
Select Git revision
Branches
dev
feat_accel_decouple
feat_accel_hash_stream
feat_dma230_dataio
feat_dma350
feat_dmax4
feat_extio
feat_nanosoc_regions
feat_qspi_rom
main
Tags
nanosoc-2023
11 results
Swap
Target
soclabs/nanosoc_tech
Select target project
soclabs/nanosoc_tech
1 result
c04ad57b008e85421dcb4a0a69b54a54e386c3a7
Select Git revision
Branches
dev
feat_accel_decouple
feat_accel_hash_stream
feat_dma230_dataio
feat_dma350
feat_dmax4
feat_extio
feat_nanosoc_regions
feat_qspi_rom
main
Tags
nanosoc-2023
11 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (11)
Update .gitlab-ci.yml file for error handling in build
· 68b622ba
dwn1c21
authored
2 years ago
68b622ba
Update .gitlab-ci.yml file ensuring test case works for build stage
· 58cd3936
dwn1c21
authored
2 years ago
58cd3936
Update .gitlab-ci.yml file
· 88d259b1
dwn1c21
authored
2 years ago
88d259b1
Update .gitlab-ci.yml file
· 7f261f8f
dwn1c21
authored
2 years ago
7f261f8f
Update .gitlab-ci.yml file
· 62e6cd58
dwn1c21
authored
2 years ago
62e6cd58
Added script for running CD test on ZCU104
· 728a6dd6
dwn1c21
authored
2 years ago
728a6dd6
Fixed test case for deployment on ZCU104
· ec9285cf
dwn1c21
authored
2 years ago
ec9285cf
Update .gitlab-ci.yml file
· b772b948
dwn1c21
authored
2 years ago
b772b948
Added simulation phase to CI
· cb75144c
dwn1c21
authored
2 years ago
cb75144c
SOC1-167
: Merge main into feature branch
· b769ba02
dam1n19
authored
2 years ago
b769ba02
SOC1-167
: Update CI testbitfile script path
· 8774364b
dam1n19
authored
2 years ago
8774364b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+15
-8
15 additions, 8 deletions
.gitlab-ci.yml
system/fpga_imp/CI_verification/test_bitfile_ZCU104.sh
+9
-0
9 additions, 0 deletions
system/fpga_imp/CI_verification/test_bitfile_ZCU104.sh
with
24 additions
and
8 deletions
.gitlab-ci.yml
View file @
8774364b
...
...
@@ -17,9 +17,19 @@
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
stages
:
# List of stages for jobs, and their order of execution
-
simulate
-
build
-
deploy
simulate-nanosoc
:
stage
:
simulate
script
:
-
echo "Simulation phase started"
-
sleep
5
tags
:
-
VLAB-ZCU
build-job-Z2
:
# This job runs in the build stage, which runs first.
stage
:
build
script
:
...
...
@@ -151,7 +161,7 @@ deploy-job-ZCU104: # This job runs in the deploy stage.
# FUTURE Work: need to add error handling for if the board does not connect,
# could grep from screenlog to see if successfully connected
-
screen -r zynq -X stuff "cp -r /home/dwn1c21/FPGA/. ./ \n"
-
screen -r zynq -X stuff "./ZCU104_connect.sh \n"
-
screen -r zynq -X stuff "./ZCU104_connect.sh
> connect_log
\n"
-
sleep
10
# use scp to copy over bit files and python script
-
screen -r zynq -X stuff "scp -i ~/.ssh/id_rsa dwn1c21@soclabs.soton.ac.uk:~/builds/wzndG1mA/0/soclabs/nanosoc/system/fpga_imp/CI_verification/load_bitfile.py ./ \n"
...
...
@@ -176,13 +186,10 @@ deploy-job-ZCU104: # This job runs in the deploy stage.
-
screen -r zynq -X stuff "deactivate \n"
-
screen -r zynq -X stuff "exit \n"
# test the screenlog for "Overlay Loaded"
-
if (grep -r "Overlay Loaded" ./screenlog)
-
then
-
echo "Bit file loaded successfully"
-
else
-
echo "Bit file load failed"
-
exit
1
-
fi
-
cp ./system/fpga_imp/CI_verification/test_bitfile_ZCU104.sh ./
-
chmod +x test_bitfile_ZCU104.sh
-
./test_bitfile_ZCU104.sh
after_script
:
# cleanup xilinx directories and quit screen
-
screen -r zynq -X stuff "rm load_bitfile.py \n"
...
...
This diff is collapsed.
Click to expand it.
system/fpga_imp/CI_verification/test_bitfile_ZCU104.sh
0 → 100644
View file @
8774364b
#!/bin/bash
if
(
grep
-r
"Overlay Loaded"
./screenlog
)
then
echo
"Bit file loaded successfully"
else
echo
"Bit file load failed"
exit
1
fi
This diff is collapsed.
Click to expand it.