FC1002_RMII contains functions for remote flash programming, TCP communication and a logic analyzer for debugging. All this in a single easy to use core.
The TCP interface is a standard AXI Stream interface with status signals.
Flash programming is done with FPGA Programmer.
The core is available for Xilinx 7 Series. An example project is available for Nexys 4 DDR Board.
Signal Interface
Name | Direction | Width | Remarks |
---|---|---|---|
Sys/Common | |||
Clk | in | 1 | 100 MHz |
Reset | in | 1 | Active high |
UseDHCP | in | 1 | '1' to use DHCP |
IP_Addr | in | 32 | IP address if not using DHCP |
IP_Ok | out | 1 | DHCP ready |
MAC/RMII | |||
RMII_CLK_50M | out | 1 | RMII continous 50 MHz reference clock |
RMII_RST_N | out | 1 | Phy reset, active low |
RMII_CRS_DV | in | 1 | Carrier sense/Receive data valid |
RMII_RXD0 | in | 1 | Receive data bit 0 |
RMII_RXD1 | in | 1 | Receive data bit 1 |
RMII_RXERR | in | 1 | Receive error, optional |
RMII_TXEN | out | 1 | Transmit enable |
RMII_TXD0 | out | 1 | Transmit data bit 0 |
RMII_TXD1 | out | 1 | Transmit data bit 1 |
RMII_MDC | out | 1 | Management clock |
RMII_MDIO | in/out | 1 | Management data |
SPI/Boot Control | |||
SPI_CSn | out | 1 | Chip select |
SPI_SCK | out | 1 | Serial clock |
SPI_MOSI | out | 1 | Master out slave in |
SPI_MISO | in | 1 | Master in slave out |
Logic Analyzer | |||
LA0_TrigIn | in | 1 | Trigger input |
LA0_Clk | in | 1 | Clock |
LA0_TrigOut | out | 1 | Trigger out |
LA0_Signals | in | 32 | Signals |
LA0_SampleEn | in | 1 | Sample enable |
TCP Basic Server | |||
TCP0_Service | in | 16 | Service |
TCP0_ServerPort | in | 16 | TCP local server port |
TCP0_Connected | out | 1 | Client connected |
TCP0_AllAcked | out | 1 | All outgoing data acked |
TCP0_nTxFree | out | 16 | Number of free bytes in outgoing buffer |
TCP0_nRxData | out | 16 | Number of bytes in receiving buffer |
TCP0_TxData | in | 8 | Transmit data |
TCP0_TxValid | in | 1 | Transmit data valid |
TCP0_TxReady | out | 1 | Transmit data ready |
TCP0_RxData | out | 8 | Receive data |
TCP0_RxValid | out | 1 | Receive data valid |
TCP0_RxReady | in | 1 | Receive data ready |
Downloads
Copyright ©2018 FPGA-Cores.com.This HDL code and netlists are only free to use for non - commercial users and for evaluation purpose. Commercial use needs a commercial license.
The HDL code and netlists are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
VHDL Component: FC1002_RMII.vhd
Verilog Module: FC1002_RMII.vh
Xilinx 7 Series Netlist: FC1002_RMII.edn
Xilinx Spartan 6 Netlist: FC1002_RMII.ngc