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
Commits
00f386cb
Commit
00f386cb
authored
1 year ago
by
Daniel Newbrook
Browse files
Options
Downloads
Patches
Plain Diff
Update CI/CD for new structure
parent
7fe08857
No related branches found
No related tags found
1 merge request
!1
changed imem to rom to allow initial program loading, updated bootloader code...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-11
11 additions, 11 deletions
.gitlab-ci.yml
with
11 additions
and
11 deletions
.gitlab-ci.yml
+
11
−
11
View file @
00f386cb
...
...
@@ -26,14 +26,14 @@ compile-bootrom:
stage
:
compile
script
:
-
source ./set_env.sh
-
mkdir -p $SOCLABS_NANOSOC_TECH_DIR/
nanosoc
/src/bootrom
-
make -C $SOCLABS_NANOSOC_TECH_DIR/system bootrom SIM_TOP_DIR=$SOCLABS_NANOSOC_TECH_DIR/sim BOOTROM_BUILD_DIR=$SOCLABS_NANOSOC_TECH_DIR/
nanosoc
/src/bootrom TOOL_CHAIN=ds5
-
mkdir -p $SOCLABS_NANOSOC_TECH_DIR/
system
/src/bootrom
-
make -C $SOCLABS_NANOSOC_TECH_DIR/system bootrom SIM_TOP_DIR=$SOCLABS_NANOSOC_TECH_DIR/sim BOOTROM_BUILD_DIR=$SOCLABS_NANOSOC_TECH_DIR/
system
/src/bootrom TOOL_CHAIN=ds5
artifacts
:
paths
:
-
./sim/bootloader/bootloader.hex
-
./nanosoc/testcodes/bootloader/bootloader.hex
-
./nanosoc/src/bootrom/verilog/bootrom.v
-
./nanosoc/src/bootrom/bintxt/bootrom.bintxt
-
./nanosoc/
system/
src/bootrom/verilog/bootrom.v
-
./nanosoc/
system/
src/bootrom/bintxt/bootrom.bintxt
tags
:
-
ds5
...
...
@@ -50,8 +50,8 @@ build-job-Z2: # This job runs in the build stage, which runs first.
stage
:
build
script
:
# move to fpga_imp directory and run the fpga build script for pynq z2
-
cd .
/
nanosoc/fpga_imp/
-
source
../
../set_env.sh
-
cd .nanosoc
_tech
/fpga_imp/
-
source ../set_env.sh
-
if source ./build_fpga_pynq_z2.scr; then echo "Vivado Finished"; fi
-
FILE=./pynq_export/pz2/pynq/overlays/soclabs/design_1.bit
-
if test -f "$FILE"; then
...
...
@@ -63,8 +63,8 @@ build-job-Z2: # This job runs in the build stage, which runs first.
artifacts
:
paths
:
# Keep the generated bit and hwh file from fpga build script
-
./nanosoc/fpga_imp/pynq_export/pz2/pynq/overlays/soclabs/design_1.bit
-
./nanosoc/fpga_imp/pynq_export/pz2/pynq/overlays/soclabs/design_1.hwh
-
./nanosoc
_tech
/fpga_imp/pynq_export/pz2/pynq/overlays/soclabs/design_1.bit
-
./nanosoc
_tech
/fpga_imp/pynq_export/pz2/pynq/overlays/soclabs/design_1.hwh
tags
:
-
Vivado2021.1
...
...
@@ -72,7 +72,7 @@ build-job-ZCU104: # This job runs in the build stage, which runs first.
stage
:
build
script
:
# move to fpga_imp directory and run the fpga build script for pynq z2
-
cd ./nanosoc/fpga_imp/
-
cd ./nanosoc
_tech
/fpga_imp/
-
source ../../set_env.sh
-
if source ./build_fpga_pynq_zcu104.scr; then echo "Vivado Finished"; fi
-
FILE=./pynq_export/pz104/pynq/overlays/soclabs/design_1.bit
...
...
@@ -85,8 +85,8 @@ build-job-ZCU104: # This job runs in the build stage, which runs first.
artifacts
:
paths
:
# Keep the generated bit and hwh file from fpga build script
-
./nanosoc/fpga_imp/pynq_export/pz104/pynq/overlays/soclabs/design_1.bit
-
./nanosoc/fpga_imp/pynq_export/pz104/pynq/overlays/soclabs/design_1.hwh
-
./nanosoc
_tech
/fpga_imp/pynq_export/pz104/pynq/overlays/soclabs/design_1.bit
-
./nanosoc
_tech
/fpga_imp/pynq_export/pz104/pynq/overlays/soclabs/design_1.hwh
tags
:
-
Vivado2021.1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment