beautypg.com

1 configuration and resource consumption, 2 functionality, Configuration and resource consumption – BECKHOFF EtherCAT IP Core for Xilinx FPGAs v3.00k User Manual

Page 64: Functionality

background image

Example Designs

III-52

Slave Controller

– IP Core for Xilinx FPGAs

6.2

Avnet Xilinx Spartan-6 LX150T Development Kit with AXI

6.2.1

Configuration and resource consumption

Table 14: Resource consumption Avnet LX150T example design

Configuration

Resources

XC6SLX150T

Physical layer

2x MII,
TX Shift, MIIM

Slice Registers

10,354

5 %

Internal Function

4x FMMU
4x SyncManager
1 KB RAM


Slice LUTs

13,935

16 %

Distributed clocks

32 bit,
2x Sync, 2x Latch

Occupied Slices

5,443

23 %

Feature details

AL Status Code register,
Extended Watchdog,
Watchdog counter,
AL Event Mask reg.
EPU and PDI Error
Counter,
Lost link counter,
RUN_LED,
LED Test

Block RAM
RAMB8BWER
RAMB16BWER


2
16


1 %
5 %

PDI

AXI4 LITE slave, 32 bit

PLL

1

16 %

6.2.2

Functionality

Attach the FMC ISMNET module to FMC1 connector of LX150T base board. Populate jumper JP6
pins 1-2 (CARRIER_25MHz to CARRIER_25MHZ_S) on ISMNET, because the 25 MHz clock source
for the Ethernet PHYs is also used as the clock source for the whole system including EtherCAT IP
core in the Spartan-6 LX150T FPGA. Configure FMC IO voltage to 2.5V. You can optionally connect
the UART or the LX150T (JR1) to your PC (9600 baud, 8 bit data, 1 stop bit, no parity, no hardware
handshake). The LEDs D3 and D4 on the FMC ISMNET module are used as Link/Activity LEDs for the
two Ethernet ports. Push button SW2 on the LX150T is used as system reset input.

The Microblaze demo application performs the following tasks:

Accept any EtherCAT Slave State request (copying AL Control to AL Status register). Print state
changes via UART.

Copy output data from EtherCAT IP Core (0x1024) to GPIO for LEDs D7-D14 on the LX150T.

Copy output data from EtherCAT IP Core (0x1004) to GPIO for DIGILENT U15 on the ISMNET.

Print output data from the EtherCAT IP Core (0x1020-0x1023) via UART.

Copy input data from GPIO for push buttons SW3-SW5 on the LX150T to the EtherCAT IP Core
(0x1000).

Copy input data from GPIO for push buttons SW1-SW2 on the ISMNET module to the EtherCAT
IP Core (0x1002).

Copy input data from GPIO for DIP switches SW6 on the LX150T to the EtherCAT IP Core
(0x1001).

Copy input data from GPIO for DIP switches SW3 on the ISMNET module to the EtherCAT IP
Core (0x1003).