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
799e2c1a
Commit
799e2c1a
authored
Mar 13, 2013
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTU and TRU: minor changes
parent
ec64c716
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
xwrsw_rtu_new.vhd
modules/wrsw_rtu/xwrsw_rtu_new.vhd
+1
-1
xwrsw_tru.vhd
modules/wrsw_tru/xwrsw_tru.vhd
+3
-2
main.sv
testbench/scb_top/main.sv
+4
-4
No files found.
modules/wrsw_rtu/xwrsw_rtu_new.vhd
View file @
799e2c1a
...
...
@@ -648,7 +648,7 @@ begin
regs_towb
.
rx_ff_mac_r1_id_i
<=
std_logic_vector
(
to_unsigned
(
c_ff_single_macs_number
,
8
));
regs_towb
.
rx_ff_mac_r1_hi_id_i
<=
std_logic_vector
(
to_unsigned
(
c_ff_range_macs_number
,
16
));
regs_towb
.
gcr_rtu_version_i
<=
x"
4
"
;
regs_towb
.
gcr_rtu_version_i
<=
x"
5
"
;
-- RTU Extension index-access configration regiters for Fast Forward MACs
p_rx_registers
:
process
(
clk_sys_i
)
...
...
modules/wrsw_tru/xwrsw_tru.vhd
View file @
799e2c1a
...
...
@@ -259,8 +259,9 @@ begin --rtl
s_endpoints
.
inject_ready
(
i
)
<=
s_endpoint_array
(
i
)
.
inject_ready
;
end
generate
G_ENDP_CONX
;
s_endpoints
.
status
(
s_endpoints
.
status
'length
-1
downto
g_num_ports
)
<=
(
others
=>
'0'
);
s_endpoints
.
stableUp
(
s_endpoints
.
stableUp
'length
-1
downto
g_num_ports
)
<=
(
others
=>
'0'
);
s_endpoints
.
status
(
s_endpoints
.
status
'length
-1
downto
g_num_ports
)
<=
(
others
=>
'0'
);
s_endpoints
.
stableUp
(
s_endpoints
.
stableUp
'length
-1
downto
g_num_ports
)
<=
(
others
=>
'0'
);
s_endpoints
.
inject_ready
(
s_endpoints
.
inject_ready
'length
-1
downto
g_num_ports
)
<=
(
others
=>
'0'
);
G_FRAME_MASK
:
for
i
in
0
to
g_pclass_number
-1
generate
s_endpoints
.
rxFrameMask
(
i
)
<=
f_rxFrameMaskInv
(
s_endpoint_array
,
i
,
g_num_ports
);
...
...
testbench/scb_top/main.sv
View file @
799e2c1a
...
...
@@ -632,7 +632,7 @@ module main;
* detecting different classes of incoming packets using pFilter
*
**/
/*
/
//
*
initial
begin
portUnderTest
=
18'b000000000000010001
;
g_tru_enable
=
0
;
...
...
@@ -675,7 +675,7 @@ module main;
mc
.
logic2
(
27
,
1
,
PFilterMicrocode
::
AND
,
5
)
;
end
*/
//
*/
/** *************************** test scenario 21 ********************** **/
/** *************************** (IMPORTANT) ********************** **/
/*
...
...
@@ -943,7 +943,7 @@ module main;
* - sending PAUSE frames
* - making some strange configuration of TATSU
**/
//
/*
/*
initial begin
portUnderTest = 18'b000000000000000111;
g_active_port = 0;
...
...
@@ -962,7 +962,7 @@ module main;
g_traffic_shaper_scenario = 1;
end
//
*/
*/
/** *************************** test scenario 29 ************************************* **/
/*
*
...
...
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