Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gateware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
BE-CEM-EDL
DIOT
WorldFIP
FMC nanoFIP
Gateware
Commits
6f69d312
Unverified
Commit
6f69d312
authored
5 days ago
by
Alen Arias Vazquez
Browse files
Options
Downloads
Patches
Plain Diff
Charm test: add heartbeat for nanoFIP
parent
9cf4ff55
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+16
-1
16 additions, 1 deletion
.gitlab-ci.yml
syn/pinout.pdc
+4
-1
4 additions, 1 deletion
syn/pinout.pdc
top/nanofip.vhd
+28
-1
28 additions, 1 deletion
top/nanofip.vhd
with
48 additions
and
3 deletions
.gitlab-ci.yml
+
16
−
1
View file @
6f69d312
...
...
@@ -72,7 +72,8 @@ reuse:
-
'
top/nanofip.vhd'
-
'
top/Manifest.py'
artifacts
:
name
:
'
FMC-NANOFIP-${CI_COMMIT_REF_NAME}'
name
:
'
FMC-NANOFIP-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}'
when
:
on_success
paths
:
-
artifacts
...
...
@@ -87,6 +88,20 @@ build_gw:
after_script
:
-
mkdir artifacts && cp -v syn/nanofip/designer/impl1/nanofip.pdb artifacts/
build_fail
:
interruptible
:
true
extends
:
.build_job
needs
:
[
"
build_gw"
]
when
:
on_failure
script
:
-
echo "Build gateware failed"
artifacts
:
name
:
'
FMC-NANOFIP-${CI_COMMIT_REF_NAME}-FAIL'
when
:
on_failure
paths
:
-
syn/nanofip/synthesis/nanofip.srr
-
syn/nanofip/synthesis/synlog/nanofip_compiler.srr
################################################################################
# Documentation
doc_build
:
...
...
This diff is collapsed.
Click to expand it.
syn/pinout.pdc
+
4
−
1
View file @
6f69d312
...
...
@@ -587,7 +587,6 @@ set_io rstpon_i \
-fixed yes \
-DIRECTION Input
set_io jc_tck_o \
-pinname 42 \
-fixed yes \
...
...
@@ -614,6 +613,10 @@ set_io jc_trst_n_o \
-res_pull down \
-DIRECTION Output
set_io user0 \
-pinname 19 \
-fixed yes \
-DIRECTION Output
#set_io fd_rxcdn_i \
...
...
This diff is collapsed.
Click to expand it.
top/nanofip.vhd
+
28
−
1
View file @
6f69d312
...
...
@@ -261,7 +261,9 @@ entity nanofip is
jc_trst_n_o
:
out
std_logic
;
--! Drives the JTAG Test Reset
jc_tms_o
:
out
std_logic
;
--! Drives the JTAG Test Mode Select of the target TAP
jc_tdi_o
:
out
std_logic
;
--! Drives the JTAG Test Data In of the target TAP
jc_tck_o
:
out
std_logic
--! Drives the JTAG Test Clock of the target TAP
jc_tck_o
:
out
std_logic
;
--! Drives the JTAG Test Clock of the target TAP
--! User pins
user0
:
out
std_logic
);
end
entity
nanofip
;
...
...
@@ -321,6 +323,9 @@ architecture struc of nanofip is
signal
u_pacer
:
std_logic
;
signal
u_cacer
:
std_logic
;
signal
r_fcser
:
std_logic
;
--! Hearbeat counter
signal
s_heartbeat_c
:
unsigned
(
24
downto
0
);
signal
s_heartbeat
:
std_logic
;
--==============================================================================
--! Architecture begin
...
...
@@ -551,6 +556,28 @@ begin
jc_trst_n_o
<=
s_jc_trst
;
----------------------------------------------------------------------------
--! CHARM Test heartbeat
p_heartbeat
:
process
(
uclk_i
)
begin
if
rising_edge
(
uclk_i
)
then
if
s_nfip_intern_rst
=
'1'
then
s_heartbeat_c
<=
(
others
=>
'0'
);
s_heartbeat
<=
'0'
;
else
if
s_heartbeat_c
=
x"1312CFF"
then
s_heartbeat_c
<=
(
others
=>
'0'
);
s_heartbeat
<=
not
(
s_heartbeat
);
else
s_heartbeat_c
<=
s_heartbeat_c
+
1
;
s_heartbeat
<=
s_heartbeat
;
end
if
;
end
if
;
end
if
;
end
process
p_heartbeat
;
user0
<=
s_heartbeat
;
end
architecture
struc
;
--==============================================================================
--! Architecture end
...
...
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