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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
34bb579d
Commit
34bb579d
authored
Feb 24, 2020
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
Used constant nof_streams of 12 for jesd ip as another value will cause
synthesis errors
parent
506c2606
No related branches found
No related tags found
1 merge request
!7
Ta2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/ta2/libraries/ta2_unb2b_bsp/hardware/unb2b/ip/ta2_unb2b_jesd204b/ta2_unb2b_jesd204b.vhd
+10
-4
10 additions, 4 deletions
...rdware/unb2b/ip/ta2_unb2b_jesd204b/ta2_unb2b_jesd204b.vhd
with
10 additions
and
4 deletions
applications/ta2/libraries/ta2_unb2b_bsp/hardware/unb2b/ip/ta2_unb2b_jesd204b/ta2_unb2b_jesd204b.vhd
+
10
−
4
View file @
34bb579d
...
@@ -84,7 +84,8 @@ ARCHITECTURE str OF ta2_unb2b_jesd204b IS
...
@@ -84,7 +84,8 @@ ARCHITECTURE str OF ta2_unb2b_jesd204b IS
CONSTANT
c_sim
:
BOOLEAN
:
=
FALSE
;
CONSTANT
c_sim
:
BOOLEAN
:
=
FALSE
;
CONSTANT
c_nof_streams_jesd204b
:
NATURAL
:
=
1
;
CONSTANT
c_nof_connected_streams_jesd204b
:
NATURAL
:
=
1
;
CONSTANT
c_nof_streams_jesd204b
:
NATURAL
:
=
12
;
CONSTANT
c_rx_fifo_size
:
NATURAL
:
=
32
;
-- should be large enough
CONSTANT
c_rx_fifo_size
:
NATURAL
:
=
32
;
-- should be large enough
...
@@ -103,6 +104,8 @@ ARCHITECTURE str OF ta2_unb2b_jesd204b IS
...
@@ -103,6 +104,8 @@ ARCHITECTURE str OF ta2_unb2b_jesd204b IS
SIGNAL
jesd204b_mosi
:
t_mem_mosi
;
SIGNAL
jesd204b_mosi
:
t_mem_mosi
;
SIGNAL
jesd204b_miso
:
t_mem_miso
;
SIGNAL
jesd204b_miso
:
t_mem_miso
;
SIGNAL
i_jesd204b_sync_n_arr
:
STD_LOGIC_VECTOR
(
c_nof_streams_jesd204b
-1
DOWNTO
0
);
SIGNAL
jesd204b_serial_rx_arr
:
STD_LOGIC_VECTOR
(
c_nof_streams_jesd204b
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
BEGIN
BEGIN
jesd204b_mosi
.
address
(
7
DOWNTO
0
)
<=
jesd204b_mosi_address
;
jesd204b_mosi
.
address
(
7
DOWNTO
0
)
<=
jesd204b_mosi_address
;
...
@@ -112,6 +115,9 @@ BEGIN
...
@@ -112,6 +115,9 @@ BEGIN
jesd204b_miso_rddata
<=
jesd204b_miso
.
rddata
(
31
DOWNTO
0
);
jesd204b_miso_rddata
<=
jesd204b_miso
.
rddata
(
31
DOWNTO
0
);
jesd204b_miso_waitrequest
<=
jesd204b_miso
.
waitrequest
;
jesd204b_miso_waitrequest
<=
jesd204b_miso
.
waitrequest
;
jesd204b_sync_n_arr
<=
i_jesd204b_sync_n_arr
(
c_nof_connected_streams_jesd204b
-1
DOWNTO
0
);
jesd204b_serial_rx_arr
(
c_nof_connected_streams_jesd204b
-1
DOWNTO
0
)
<=
serial_rx_arr
;
u_jesd204b
:
ENTITY
tech_jesd204b_lib
.
tech_jesd204b
u_jesd204b
:
ENTITY
tech_jesd204b_lib
.
tech_jesd204b
GENERIC
MAP
(
GENERIC
MAP
(
g_sim
=>
c_sim
,
g_sim
=>
c_sim
,
...
@@ -120,7 +126,7 @@ BEGIN
...
@@ -120,7 +126,7 @@ BEGIN
PORT
MAP
(
PORT
MAP
(
jesd204b_refclk
=>
jesd204b_refclk
,
jesd204b_refclk
=>
jesd204b_refclk
,
jesd204b_sysref
=>
jesd204b_sysref
,
jesd204b_sysref
=>
jesd204b_sysref
,
jesd204b_sync_n_arr
=>
jesd204b_sync_n_arr
,
jesd204b_sync_n_arr
=>
i_
jesd204b_sync_n_arr
,
rx_src_out_arr
=>
jesd204b_rx_src_out_arr
,
rx_src_out_arr
=>
jesd204b_rx_src_out_arr
,
jesd204b_frame_clk
=>
jesd204b_frame_clk
,
jesd204b_frame_clk
=>
jesd204b_frame_clk
,
...
@@ -134,7 +140,7 @@ BEGIN
...
@@ -134,7 +140,7 @@ BEGIN
-- Serial
-- Serial
serial_tx_arr
=>
open
,
serial_tx_arr
=>
open
,
serial_rx_arr
=>
serial_rx_arr
serial_rx_arr
=>
jesd204b_
serial_rx_arr
);
);
...
...
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