... | ... | @@ -33,7 +33,7 @@ FECs can be controlled via: |
|
|
|
|
|
To use the GSI Timing Starter Kit you will need:
|
|
|
|
|
|
- 1x Linux PC to serve as Data Master (DM)
|
|
|
- 1x Linux PC with gcc to serve as Data Master (DM)
|
|
|
- 1x White Rabbit v3 switch
|
|
|
- 2x Supported FECs (either SCUv2 or SPECv4)
|
|
|
- SFPs and cables to connect FECs and DM to switch
|
... | ... | @@ -43,10 +43,19 @@ To use the GSI Timing Starter Kit you will need: |
|
|
|
|
|
# Setup
|
|
|
|
|
|
If the FECs were not preloaded with the starter kit, you will need to
|
|
|
program them. You can use these [Prebuilt-images](Prebuilt-images) for
|
|
|
the SCUv2 and SPECv4 or follow the directions for
|
|
|
[Building-from-sources](Building-from-sources). Once you have the
|
|
|
If your FECs were not preprogrammed with the starter kit, you will need
|
|
|
to program their flash. You can use these
|
|
|
[Prebuilt-images](Prebuilt-images) for the SCUv2 and SPECv4 or follow
|
|
|
the directions for [Building-from-sources](Building-from-sources). For
|
|
|
the SCU, read how to [Flash-an-Altera-device](Flash-an-Altera-device)
|
|
|
and for the SPEC [Flash-a-Xilinx-device](Flash-a-Xilinx-device).
|
|
|
|
|
|
To use the FECs, you will either need to setup a host system to
|
|
|
communicate over PCI express or control them over the network using the
|
|
|
data master. See
|
|
|
[Configuring-the-Data-Master](Configuring-the-Data-Master) to setup a
|
|
|
system which can control FECs over the network. To configure a host
|
|
|
system
|
|
|
|
|
|
program flash
|
|
|
configure a data master = BOOTP server
|
... | ... | @@ -59,13 +68,36 @@ White-Rabbit Console |
|
|
PCIe bridge access from host
|
|
|
Etherbone access from data master
|
|
|
|
|
|
# Timing shell scripts
|
|
|
|
|
|
# Register maps
|
|
|
|
|
|
Bus layout
|
|
|
ECA
|
|
|
TLU
|
|
|
# Wishbone Timing devices
|
|
|
|
|
|
The timing starter kit includes three devices for controlling timing.
|
|
|
These devices are part of the larger Wishbone memory map as seen in this
|
|
|
dump:
|
|
|
|
|
|
```
|
|
|
BusPath VendorID Product BaseAddress(Hex) Description
|
|
|
1 0000000000000651:eef0b198 0 WB4-Bridge-GSI
|
|
|
1.1 000000000000ce42:66cfeb52 0 WB4-BlockRAM
|
|
|
1.2 0000000000000651:eef0b198 20000 WB4-Bridge-GSI
|
|
|
1.2.1 000000000000ce42:ab28633a 20000 WR-Mini-NIC
|
|
|
1.2.2 000000000000ce42:650c2d4f 20100 WR-Endpoint
|
|
|
1.2.3 000000000000ce42:65158dc0 20200 WR-Soft-PLL
|
|
|
1.2.4 000000000000ce42:de0d8ced 20300 WR-PPS-Generator
|
|
|
1.2.5 000000000000ce42:ff07fc47 20400 WR-Periph-Syscon
|
|
|
1.2.6 000000000000ce42:e2d13d04 20500 WR-Periph-UART
|
|
|
1.2.7 000000000000ce42:779c5443 20600 WR-Periph-1Wire
|
|
|
1.2.8 0000000000000651:68202b22 20700 Etherbone-Config
|
|
|
2 0000000000000651:eef0b198 100000 WB4-Bridge-GSI
|
|
|
2.1 0000000000000651:8752bf44 140000 GSI_ECA_UNIT
|
|
|
2.2 0000000000000651:10051981 180000 GSI_TM_LATCH
|
|
|
```
|
|
|
|
|
|
Using the device GSI\_ECA\_UNIT, you can
|
|
|
[Schedules-events](Schedules-events) to flip the outputs of the FECs.
|
|
|
Using the device GSI\_TM\_LATCH, you can
|
|
|
[Capture-timestamps](Capture-timestamps) from inputs on the FECs.
|
|
|
Using the device WR-PPS-Generator, you can
|
|
|
[Read-the-current-time](Read-the-current-time) from a locked FEC.
|
|
|
|
|
|
|
|
|
|
... | ... | |