Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
RTSD
HDL
Commits
d03ec2e7
Commit
d03ec2e7
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Expected TSE version depends on FPGA / Uniboard1,2 type.
parent
ff019825
No related branches found
No related tags found
No related merge requests found
Pipeline
#40263
passed
2 years ago
Stage: simulation
Stage: synthesis
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/technology/tse/tb_tech_tse_with_setup.vhd
+9
-2
9 additions, 2 deletions
libraries/technology/tse/tb_tech_tse_with_setup.vhd
with
9 additions
and
2 deletions
libraries/technology/tse/tb_tech_tse_with_setup.vhd
+
9
−
2
View file @
d03ec2e7
...
@@ -154,6 +154,7 @@ BEGIN
...
@@ -154,6 +154,7 @@ BEGIN
rx_data
<=
rx_sosi
.
data
(
c_word_w
-1
DOWNTO
0
);
rx_data
<=
rx_sosi
.
data
(
c_word_w
-1
DOWNTO
0
);
p_mm_setup
:
PROCESS
p_mm_setup
:
PROCESS
VARIABLE
v_version
:
NATURAL
;
BEGIN
BEGIN
mm_init
<=
'1'
;
mm_init
<=
'1'
;
mm_copi
.
wr
<=
'0'
;
mm_copi
.
wr
<=
'0'
;
...
@@ -170,8 +171,14 @@ BEGIN
...
@@ -170,8 +171,14 @@ BEGIN
proc_common_wait_some_cycles
(
mm_clk
,
10
);
proc_common_wait_some_cycles
(
mm_clk
,
10
);
-- Verify external MM access to TSE
-- Verify external MM access to TSE
proc_mem_mm_bus_rd
(
16
#
000
#
,
mm_clk
,
mm_cipo
,
mm_copi
);
-- REV --> CUST_VERSION & 0x0901, 0x1304
proc_mem_mm_bus_rd
(
16
#
000
#
,
mm_clk
,
mm_cipo
,
mm_copi
);
-- REV --> CUST_VERSION & 0x0901, 0x1200, 0x1304
ASSERT
UNSIGNED
(
mm_rddata
(
c_16
-1
DOWNTO
0
))
=
X"1304"
REPORT
"Wrong external MM read access result."
SEVERITY
ERROR
;
CASE
c_tech_select_default
IS
WHEN
c_tech_stratixiv
=>
v_version
:
=
16
#
0901
#
;
-- unb1
WHEN
c_tech_arria10_e1sg
=>
v_version
:
=
16
#
1200
#
;
-- unb2b
WHEN
c_tech_arria10_e2sg
=>
v_version
:
=
16
#
1304
#
;
-- unb2c
WHEN
OTHERS
=>
v_version
:
=
0
;
-- default
END
CASE
;
ASSERT
UNSIGNED
(
mm_rddata
(
c_16
-1
DOWNTO
0
))
=
v_version
REPORT
"Wrong external MM read access result."
SEVERITY
ERROR
;
-- Wait for link synchronisation
-- Wait for link synchronisation
proc_common_wait_until_high
(
mm_clk
,
tse_led
.
link
);
proc_common_wait_until_high
(
mm_clk
,
tse_led
.
link
);
...
...
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