Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit core collection
Commits
6aa6a127
Commit
6aa6a127
authored
Mar 19, 2018
by
Dimitris Lampridis
Committed by
A. Hahn
Jan 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc_core: solved merge conflicts
parent
c4795908
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
56 additions
and
54 deletions
+56
-54
etherbone-core
ip_cores/etherbone-core
+1
-1
general-cores
ip_cores/general-cores
+1
-1
gn4124-core
ip_cores/gn4124-core
+1
-1
vme64x-core
ip_cores/vme64x-core
+1
-1
xwrf_loopback.vhd
modules/fabric/xwrf_loopback/xwrf_loopback.vhd
+1
-1
wr_endpoint.vhd
modules/wr_endpoint/wr_endpoint.vhd
+1
-2
xwr_endpoint.vhd
modules/wr_endpoint/xwr_endpoint.vhd
+1
-2
wr_mini_nic.vhd
modules/wr_mini_nic/wr_mini_nic.vhd
+8
-4
xwr_mini_nic.vhd
modules/wr_mini_nic/xwr_mini_nic.vhd
+10
-4
wr_pps_gen.vhd
modules/wr_pps_gen/wr_pps_gen.vhd
+1
-2
xwr_pps_gen.vhd
modules/wr_pps_gen/xwr_pps_gen.vhd
+1
-2
xwr_softpll_ng.vhd
modules/wr_softpll_ng/xwr_softpll_ng.vhd
+5
-3
tlu.vhd
modules/wr_tlu/tlu.vhd
+0
-1
wr_core.vhd
modules/wrc_core/wr_core.vhd
+0
-3
wrc_periph.vhd
modules/wrc_core/wrc_periph.vhd
+1
-2
wrcore_pkg.vhd
modules/wrc_core/wrcore_pkg.vhd
+4
-2
xwr_core.vhd
modules/wrc_core/xwr_core.vhd
+19
-21
xwrc_diags_wb.vhd
modules/wrc_core/xwrc_diags_wb.vhd
+0
-1
No files found.
etherbone-core
@
79a60811
Subproject commit
8489445985ff2afe6c72712014a92a271869f20a
Subproject commit
79a6081166043ee24d835cbe7c5e5632dacad1f6
general-cores
@
61ca3f49
Subproject commit
5205d9754b1e0887df5914a47f8aa745e4f3c2fe
Subproject commit
61ca3f49b61233e922f4c2c034e1b62728c124bf
gn4124-core
@
e7cd73db
Subproject commit
9b9625bb4270114266cd357f199d649f3d799f04
Subproject commit
e7cd73db41ba056ed4b27731c21a3b2aa53eaa51
vme64x-core
@
a120e226
Subproject commit
fa34d06e35ca0bfad8eac24aa51713e81639da64
Subproject commit
a120e2262e1cb23fa611dddb7fa3727b520a125c
modules/fabric/xwrf_loopback/xwrf_loopback.vhd
View file @
6aa6a127
...
...
@@ -120,7 +120,7 @@ begin
regs_o
=>
regs_fromwb
);
wb_out
.
rty
<=
'0'
;
wb_out
.
err
<=
'0'
;
wb_out
.
int
<=
'0'
;
-------------------------------------------
FRAME_FIFO
:
generic_sync_fifo
...
...
modules/wr_endpoint/wr_endpoint.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2010-04-26
-- Last update: 201
7-02-20
-- Last update: 201
8-03-08
-- Platform : FPGA-generics
-- Standard : VHDL
-------------------------------------------------------------------------------
...
...
@@ -773,7 +773,6 @@ begin
wb_out
.
stall
<=
'0'
;
wb_out
.
rty
<=
'0'
;
wb_out
.
err
<=
'0'
;
wb_out
.
int
<=
'0'
;
regs_towb
<=
regs_towb_ep
or
regs_towb_tsu
or
regs_towb_rpath
or
regs_towb_tpath
or
regs_towb_dmtd
;
...
...
modules/wr_endpoint/xwr_endpoint.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2010-04-26
-- Last update: 201
7-02-20
-- Last update: 201
8-03-08
-- Platform : FPGA-generic
-- Standard : VHDL '93
-------------------------------------------------------------------------------
...
...
@@ -433,7 +433,6 @@ begin
wb_o
.
err
<=
'0'
;
wb_o
.
rty
<=
'0'
;
wb_o
.
int
<=
'0'
;
-- Record-based PHY connections, depending on 8/16-bit PCS
...
...
modules/wr_mini_nic/wr_mini_nic.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Grzegorz Daniluk, Tomasz Wlostowski
-- Company : CERN BE-Co-HT
-- Created : 2010-07-26
-- Last update: 201
7-02-03
-- Last update: 201
8-03-19
-- Platform : FPGA-generic
-- Standard : VHDL
-------------------------------------------------------------------------------
...
...
@@ -119,7 +119,12 @@ entity wr_mini_nic is
wb_dat_o
:
out
std_logic_vector
(
c_wishbone_data_width
-1
downto
0
);
wb_ack_o
:
out
std_logic
;
wb_stall_o
:
out
std_logic
;
wb_int_o
:
out
std_logic
-------------------------------------------------------------------------------
-- Interrupt output
-------------------------------------------------------------------------------
int_o
:
out
std_logic
);
end
wr_mini_nic
;
...
...
@@ -772,7 +777,7 @@ begin -- behavioral
wb_we_i
=>
wb_out
.
we
,
wb_ack_o
=>
wb_in
.
ack
,
wb_stall_o
=>
wb_in
.
stall
,
wb_int_o
=>
wb_
int_o
,
wb_int_o
=>
int_o
,
regs_i
=>
regs_in
,
regs_o
=>
regs_out
,
tx_ts_read_ack_o
=>
open
,
...
...
@@ -785,7 +790,6 @@ begin -- behavioral
wb_in
.
err
<=
'0'
;
wb_in
.
rty
<=
'0'
;
wb_in
.
int
<=
'0'
;
--TRIG0(0) <= regs_out.mcr_rx_en_o;
--TRIG0(1) <= rx_fifo_empty;
...
...
modules/wr_mini_nic/xwr_mini_nic.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Grzegorz Daniluk, Tomasz Wlostowski
-- Company : CERN BE-Co-HT
-- Created : 2010-07-26
-- Last update: 201
7-02-03
-- Last update: 201
8-03-19
-- Platform : FPGA-generic
-- Standard : VHDL
-------------------------------------------------------------------------------
...
...
@@ -78,7 +78,13 @@ entity xwr_mini_nic is
-------------------------------------------------------------------------------
wb_i
:
in
t_wishbone_slave_in
;
wb_o
:
out
t_wishbone_slave_out
wb_o
:
out
t_wishbone_slave_out
;
-------------------------------------------------------------------------------
-- Interrupt output
-------------------------------------------------------------------------------
int_o
:
out
std_logic
);
end
xwr_mini_nic
;
...
...
@@ -127,7 +133,7 @@ architecture wrapper of xwr_mini_nic is
wb_dat_o
:
out
std_logic_vector
(
c_wishbone_data_width
-1
downto
0
);
wb_ack_o
:
out
std_logic
;
wb_stall_o
:
out
std_logic
;
wb_int_o
:
out
std_logic
);
int_o
:
out
std_logic
);
end
component
;
begin
-- wrapper
...
...
@@ -175,7 +181,7 @@ begin -- wrapper
wb_dat_o
=>
wb_o
.
dat
,
wb_ack_o
=>
wb_o
.
ack
,
wb_stall_o
=>
wb_o
.
stall
,
wb_int_o
=>
wb_o
.
int
);
int_o
=>
int_o
);
wb_o
.
err
<=
'0'
;
...
...
modules/wr_pps_gen/wr_pps_gen.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN (BE-CO-HT)
-- Created : 2010-09-02
-- Last update: 201
7-02-20
-- Last update: 201
8-03-08
-- Platform : FPGA-generics
-- Standard : VHDL
-------------------------------------------------------------------------------
...
...
@@ -500,7 +500,6 @@ begin -- behavioral
-- drive unused signals
wb_out
.
rty
<=
'0'
;
wb_out
.
stall
<=
'0'
;
wb_out
.
int
<=
'0'
;
wb_out
.
err
<=
'0'
;
-- start the adjustment upon write of 1 to CNT_ADJ bit
...
...
modules/wr_pps_gen/xwr_pps_gen.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN (BE-CO-HT)
-- Created : 2010-09-02
-- Last update: 201
7-02-20
-- Last update: 201
8-03-08
-- Platform : FPGA-generics
-- Standard : VHDL
-------------------------------------------------------------------------------
...
...
@@ -157,6 +157,5 @@ begin -- behavioral
slave_o
.
err
<=
'0'
;
slave_o
.
rty
<=
'0'
;
slave_o
.
int
<=
'0'
;
end
behavioral
;
modules/wr_softpll_ng/xwr_softpll_ng.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Włostowski
-- Company : CERN BE-CO-HT
-- Created : 2011-01-29
-- Last update: 201
7-02-20
-- Last update: 201
8-03-19
-- Platform : FPGA-generic
-- Standard : VHDL'93
-------------------------------------------------------------------------------
...
...
@@ -128,6 +128,8 @@ entity xwr_softpll_ng is
slave_i
:
in
t_wishbone_slave_in
;
slave_o
:
out
t_wishbone_slave_out
;
int_o
:
out
std_logic
;
debug_o
:
out
std_logic_vector
(
5
downto
0
);
dbg_fifo_irq_o
:
out
std_logic
);
...
...
@@ -181,7 +183,7 @@ architecture wrapper of xwr_softpll_ng is
wb_we_i
:
in
std_logic
;
wb_ack_o
:
out
std_logic
;
wb_stall_o
:
out
std_logic
;
wb_irq_o
:
out
std_logic
;
irq_o
:
out
std_logic
;
debug_o
:
out
std_logic_vector
(
5
downto
0
);
dbg_fifo_irq_o
:
out
std_logic
);
end
component
;
...
...
@@ -234,7 +236,7 @@ begin -- behavioral
wb_we_i
=>
slave_i
.
we
,
wb_ack_o
=>
slave_o
.
ack
,
wb_stall_o
=>
slave_o
.
stall
,
wb_irq_o
=>
slave_o
.
int
,
irq_o
=>
int_o
,
debug_o
=>
debug_o
,
dbg_fifo_irq_o
=>
dbg_fifo_irq_o
);
...
...
modules/wr_tlu/tlu.vhd
View file @
6aa6a127
...
...
@@ -351,7 +351,6 @@ begin -- behavioral
-----------------------------------------------------------------------------
-- WB Interface
-----------------------------------------------------------------------------
ctrl_slave_o
.
int
<=
'0'
;
ctrl_slave_o
.
rty
<=
'0'
;
ctrl_slave_o
.
stall
<=
r_c_stall
;
ctrl_slave_o
.
ack
<=
r_c_ack
;
...
...
modules/wrc_core/wr_core.vhd
View file @
6aa6a127
...
...
@@ -704,8 +704,6 @@ begin
tm_clk_aux_locked_o
<=
spll_out_locked
(
g_aux_clks
downto
1
);
end
generate
;
softpll_irq
<=
spll_wb_out
.
int
;
-----------------------------------------------------------------------------
-- Endpoint
-----------------------------------------------------------------------------
...
...
@@ -1073,7 +1071,6 @@ begin
secbar_master_i
(
7
)
.
stall
<=
aux_stall_i
;
secbar_master_i
(
7
)
.
err
<=
'0'
;
secbar_master_i
(
7
)
.
rty
<=
'0'
;
secbar_master_i
(
7
)
.
int
<=
'0'
;
--secbar_master_i(6).err <= '0';
--secbar_master_i(5).err <= '0';
...
...
modules/wrc_core/wrc_periph.vhd
View file @
6aa6a127
...
...
@@ -6,7 +6,7 @@
-- Author : Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
-- Company : CERN (BE-CO-HT)
-- Created : 2011-04-04
-- Last update: 201
7-04-25
-- Last update: 201
8-03-08
-- Platform : FPGA-generics
-- Standard : VHDL
-------------------------------------------------------------------------------
...
...
@@ -432,7 +432,6 @@ begin
slave_o
(
0
)
.
err
<=
'0'
;
slave_o
(
0
)
.
rty
<=
'0'
;
slave_o
(
0
)
.
int
<=
'0'
;
--------------------------------------
-- UART
...
...
modules/wrc_core/wrcore_pkg.vhd
View file @
6aa6a127
...
...
@@ -135,7 +135,8 @@ package wrcore_pkg is
txtsu_stb_i
:
in
std_logic
;
txtsu_ack_o
:
out
std_logic
;
wb_i
:
in
t_wishbone_slave_in
;
wb_o
:
out
t_wishbone_slave_out
);
wb_o
:
out
t_wishbone_slave_out
;
int_o
:
out
std_logic
);
end
component
;
-----------------------------------------------------------------------------
...
...
@@ -346,12 +347,13 @@ package wrcore_pkg is
out_locked_o
:
out
std_logic_vector
(
g_num_outputs
-1
downto
0
);
slave_i
:
in
t_wishbone_slave_in
;
slave_o
:
out
t_wishbone_slave_out
;
int_o
:
out
std_logic
;
debug_o
:
out
std_logic_vector
(
5
downto
0
);
dbg_fifo_irq_o
:
out
std_logic
);
end
component
;
constant
cc_unused_master_in
:
t_wishbone_master_in
:
=
(
'1'
,
'0'
,
'0'
,
'0'
,
'0'
,
cc_dummy_data
);
(
'1'
,
'0'
,
'0'
,
'0'
,
cc_dummy_data
);
-----------------------------------------------------------------------------
-- Public WR component definitions
...
...
modules/wrc_core/xwr_core.vhd
View file @
6aa6a127
...
...
@@ -11,10 +11,10 @@
-- Standard : VHDL
-------------------------------------------------------------------------------
-- Description:
-- WR PTP Core is a HDL module implementing a complete gigabit Ethernet
-- interface (MAC + PCS + PHY) with integrated PTP slave ordinary clock
-- compatible with White Rabbit protocol. It performs subnanosecond clock
-- synchronization via WR protocol and also acts as an Ethernet "gateway",
-- WR PTP Core is a HDL module implementing a complete gigabit Ethernet
-- interface (MAC + PCS + PHY) with integrated PTP slave ordinary clock
-- compatible with White Rabbit protocol. It performs subnanosecond clock
-- synchronization via WR protocol and also acts as an Ethernet "gateway",
-- providing access to TX/RX interfaces of the built-in WR MAC.
--
-- Starting from version 2.0 all modules are interconnected with pipelined
...
...
@@ -25,20 +25,20 @@
--
-- Copyright (c) 2012 - 2017 CERN
--
-- This source file is free software; you can redistribute it
-- and/or modify it under the terms of the GNU Lesser General
-- Public License as published by the Free Software Foundation;
-- either version 2.1 of the License, or (at your option) any
-- later version.
-- This source file is free software; you can redistribute it
-- and/or modify it under the terms of the GNU Lesser General
-- Public License as published by the Free Software Foundation;
-- either version 2.1 of the License, or (at your option) any
-- later version.
--
-- This source is distributed in the hope that it will be
-- useful, but WITHOUT ANY WARRANTY; without even the implied
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-- PURPOSE. See the GNU Lesser General Public License for more
-- details.
-- This source is distributed in the hope that it will be
-- useful, but WITHOUT ANY WARRANTY; without even the implied
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-- PURPOSE. See the GNU Lesser General Public License for more
-- details.
--
-- You should have received a copy of the GNU Lesser General
-- Public License along with this source; if not, download it
-- You should have received a copy of the GNU Lesser General
-- Public License along with this source; if not, download it
-- from http://www.gnu.org/licenses/lgpl-2.1.html
--
-------------------------------------------------------------------------------
...
...
@@ -70,7 +70,7 @@ use work.softpll_pkg.all;
entity
xwr_core
is
generic
(
--if set to 1, then blocks in PCS use smaller calibration counter to speed
--if set to 1, then blocks in PCS use smaller calibration counter to speed
--up simulation
g_simulation
:
integer
:
=
0
;
g_with_external_clock_input
:
boolean
:
=
true
;
...
...
@@ -167,7 +167,7 @@ entity xwr_core is
phy8_i
:
in
t_phy_8bits_to_wrc
:
=
c_dummy_phy8_to_wrc
;
phy16_o
:
out
t_phy_16bits_from_wrc
;
phy16_i
:
in
t_phy_16bits_to_wrc
:
=
c_dummy_phy16_to_wrc
;
-----------------------------------------
--GPIO
-----------------------------------------
...
...
@@ -414,7 +414,7 @@ begin
abscal_txts_o
=>
abscal_txts_o
,
abscal_rxts_o
=>
abscal_rxts_o
,
fc_tx_pause_req_i
=>
fc_tx_pause_req_i
,
fc_tx_pause_delay_i
=>
fc_tx_pause_delay_i
,
fc_tx_pause_ready_o
=>
fc_tx_pause_ready_o
,
...
...
@@ -441,8 +441,6 @@ begin
timestamps_o
.
port_id
(
5
)
<=
'0'
;
slave_o
.
int
<=
'0'
;
wrf_snk_o
.
rty
<=
'0'
;
end
struct
;
modules/wrc_core/xwrc_diags_wb.vhd
View file @
6aa6a127
...
...
@@ -124,7 +124,6 @@ begin
slave_o
.
err
<=
'0'
;
slave_o
.
rty
<=
'0'
;
slave_o
.
int
<=
'0'
;
end
syn
;
...
...
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