Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Gateware
Commits
073148d6
Commit
073148d6
authored
Dec 07, 2010
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swcore: output_block bugfix
parent
cfe39eca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
swc_output_block.vhd
swc_output_block.vhd
+8
-5
No files found.
swc_output_block.vhd
View file @
073148d6
...
...
@@ -431,7 +431,8 @@ begin -- behavoural
rx_sof_p1
<=
'0'
;
pgreq
<=
'1'
;
dreq
<=
'1'
;
--dreq <= '1';
dreq
<=
'0'
;
waiting_pck_start
<=
'1'
;
...
...
@@ -444,7 +445,8 @@ begin -- behavoural
rx_sof_p1
<=
'0'
;
re_pgreq
<=
'1'
;
dreq
<=
'1'
;
--dreq <= '1';
dreq
<=
'0'
;
--added
waiting_pck_start
<=
'1'
;
...
...
@@ -594,12 +596,12 @@ begin -- behavoural
end
if
;
elsif
(
mpm_drdy_i
=
'1
'
)
then
elsif
(
(
mpm_drdy_i
=
'1'
or
rx_sof_p1
=
'1'
)
and
waiting_pck_start
=
'0
'
)
then
rx_valid
<=
'1'
;
rx_bytesel
<=
'0'
;
dreq
<=
'1'
;
--added
if
(
mpm_ctrl_i
=
b"1111"
)
then
rx_ctrl
<=
b"0111"
;
...
...
@@ -628,6 +630,7 @@ begin -- behavoural
mpm_sync_i
=
'1'
and
-- we've got sync, which means that data will be read
pgreq_or
=
'0'
)
then
-- if page is request on the sync, it will be read in next sync
dreq
<=
'1'
;
-- added
rx_sof_p1
<=
'1'
;
waiting_pck_start
<=
'0'
;
...
...
@@ -881,7 +884,7 @@ begin -- behavoural
mpm_pgaddr_o
<=
rd_data
(
c_swc_page_addr_width
-
1
downto
0
)
when
(
pgreq
=
'1'
)
else
pck_start_pgaddr
;
--rd_data(c_swc_page_addr_width - 1 downto 0); -- read_data;
mpm_dreq_o
<=
dreq
and
rx_dreq_i
and
not
rx_tabort_p1_i
;
mpm_dreq_o
<=
(
dreq
and
rx_dreq_i
and
(
not
rx_tabort_p1_i
))
or
pgreq
;
-- and (not waiting_pck_start)
;
-- rx_valid <= mpm_drdy_i when (state = READ_MPM) else '0';
-- rx_eof_p1 <= cnt_last_word and rx_valid;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment