Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit core collection
Manage
Activity
Members
Labels
Plan
Issues
33
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
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
Projects
White Rabbit core collection
Commits
c68d12eb
There was an error fetching the commit references. Please try again later.
Commit
c68d12eb
authored
10 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Plain Diff
Merge commit '
3fbaa93c
' into proposed_master
parents
02f8a14b
3fbaa93c
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/wr_endpoint/ep_packet_filter.vhd
+2
-2
2 additions, 2 deletions
modules/wr_endpoint/ep_packet_filter.vhd
modules/wr_endpoint/ep_tx_framer.vhd
+18
-1
18 additions, 1 deletion
modules/wr_endpoint/ep_tx_framer.vhd
with
20 additions
and
3 deletions
modules/wr_endpoint/ep_packet_filter.vhd
+
2
−
2
View file @
c68d12eb
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Włostowski
-- Author : Tomasz Włostowski
-- Company : CERN BE-CO-HT
-- Company : CERN BE-CO-HT
-- Created : 2010-11-18
-- Created : 2010-11-18
-- Last update: 201
2-12
-1
2
-- Last update: 201
4-03
-1
8
-- Platform : FPGA-generic
-- Platform : FPGA-generic
-- Standard : VHDL'93
-- Standard : VHDL'93
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
...
@@ -282,7 +282,7 @@ begin -- behavioral
...
@@ -282,7 +282,7 @@ begin -- behavioral
end
if
;
end
if
;
end
process
;
end
process
;
result_cmp
<=
'1'
when
((
pmem_rdata
and
mask
)
xor
insn
.
cmp_value
)
=
x"0000"
else
'0'
;
result_cmp
<=
'1'
when
((
pmem_rdata
and
mask
)
=
insn
.
cmp_value
)
else
'0'
;
insn
<=
f_decode_insn
(
ir
);
insn
<=
f_decode_insn
(
ir
);
ra
<=
f_pick_reg
(
regs
,
insn
.
ra
)
when
insn
.
mode
=
c_MODE_LOGIC
else
result_cmp
;
ra
<=
f_pick_reg
(
regs
,
insn
.
ra
)
when
insn
.
mode
=
c_MODE_LOGIC
else
result_cmp
;
...
...
This diff is collapsed.
Click to expand it.
modules/wr_endpoint/ep_tx_framer.vhd
+
18
−
1
View file @
c68d12eb
...
@@ -155,6 +155,7 @@ architecture behavioral of ep_tx_framer is
...
@@ -155,6 +155,7 @@ architecture behavioral of ep_tx_framer is
signal
snk_valid
:
std_logic
;
signal
snk_valid
:
std_logic
;
signal
sof_p1
,
eof_p1
,
abort_p1
,
error_p1
:
std_logic
;
signal
sof_p1
,
eof_p1
,
abort_p1
,
error_p1
:
std_logic
;
signal
sof_reg
:
std_logic
;
signal
snk_cyc_d0
:
std_logic
;
signal
snk_cyc_d0
:
std_logic
;
signal
decoded_status
:
t_wrf_status_reg
;
signal
decoded_status
:
t_wrf_status_reg
;
...
@@ -274,7 +275,23 @@ begin -- behavioral
...
@@ -274,7 +275,23 @@ begin -- behavioral
end
if
;
end
if
;
end
process
;
end
process
;
sof_p1
<=
not
snk_cyc_d0
and
snk_i
.
cyc
;
gen_sof
:
process
(
clk_sys_i
)
begin
if
rising_edge
(
clk_sys_i
)
then
if
(
rst_n_i
=
'0'
)
then
sof_reg
<=
'0'
;
else
if
(
snk_cyc_d0
=
'0'
and
snk_i
.
cyc
=
'1'
and
state
/=
TXF_IDLE
)
then
sof_reg
<=
'1'
;
elsif
(
state
=
TXF_IDLE
and
pcs_dreq_i
=
'1'
)
then
sof_reg
<=
'0'
;
end
if
;
end
if
;
end
if
;
end
process
;
sof_p1
<=
(
not
snk_cyc_d0
and
snk_i
.
cyc
)
or
sof_reg
when
(
state
=
TXF_IDLE
and
pcs_dreq_i
=
'1'
)
else
'0'
;
eof_p1
<=
snk_cyc_d0
and
not
snk_i
.
cyc
;
eof_p1
<=
snk_cyc_d0
and
not
snk_i
.
cyc
;
snk_valid
<=
(
snk_i
.
cyc
and
snk_i
.
stb
and
snk_i
.
we
)
and
not
stall_int
;
snk_valid
<=
(
snk_i
.
cyc
and
snk_i
.
stb
and
snk_i
.
we
)
and
not
stall_int
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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