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
48d0a0f2
Commit
48d0a0f2
authored
Dec 07, 2010
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: wrsw_swcore: minor bugfix in input block, added Makefile
parent
318021ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
3 deletions
+34
-3
Makefile
Makefile
+30
-0
swc_input_block.vhd
swc_input_block.vhd
+4
-3
No files found.
Makefile
0 → 100644
View file @
48d0a0f2
SRCS_VHDL
=
swc_swcore_pkg.vhd
\
swc_block_alloc.vhd
\
swc_core.vhd
\
swc_input_block.vhd
\
swc_lost_pck_dealloc.vhd
\
swc_multiport_linked_list.vhd
\
swc_multiport_page_allocator.vhd
\
swc_multiport_pck_pg_free_module.vhd
\
swc_ob_prio_queue.vhd
\
swc_output_block.vhd
\
swc_packet_mem.vhd
\
swc_packet_mem_read_pump.vhd
\
swc_packet_mem_write_pump.vhd
\
swc_page_alloc.vhd
\
swc_pck_pg_free_module.vhd
\
swc_pck_transfer_arbiter.vhd
\
swc_pck_transfer_input.vhd
\
swc_pck_transfer_output.vhd
\
swc_prio_encoder.vhd
\
swc_rr_arbiter.vhd
WORK
=
work
#directories in which we should search for the VHDL/verilog source files
VPATH
=
include
../../scripts/modules.mk
swc_input_block.vhd
View file @
48d0a0f2
...
...
@@ -6,7 +6,7 @@
-- Author : Maciej Lipinski
-- Company : CERN BE-Co-HT
-- Created : 2010-10-28
-- Last update: 2010-1
1-01
-- Last update: 2010-1
2-07
-- Platform : FPGA-generic
-- Standard : VHDL'87
-------------------------------------------------------------------------------
...
...
@@ -396,7 +396,8 @@ begin --arch
write_ctrl
<=
fifo_data_out
(
c_swc_data_width
+
c_swc_ctrl_width
-
1
downto
c_swc_data_width
)
;
fifo_wr
<=
tx_valid_i
when
(
read_state
=
S_WRITE_FIFO
)
else
'0'
;
fifo_wr
<=
'1'
when
(
read_state
=
S_WRITE_DUMMY_EOF
)
else
tx_valid_i
when
(
read_state
=
S_WRITE_FIFO
)
else
'0'
;
fifo_rd
<=
((
not
fifo_empty
)
and
(
not
mpm_full_i
))
when
(
write_state
=
S_WRITE_MPM
or
...
...
@@ -1380,4 +1381,4 @@ end process;
pta_pck_size_o
<=
pta_pck_size
;
end
syn
;
-- arch
\ No newline at end of file
end
syn
;
-- arch
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