Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Capturing data from Marvell 88E1111 PHY of Arria II GX FPGA Development Board.

Hi,

I am trying to getting data from Marvell 88E1111 PHY of Arria II GX FPGA Development Board, but I can't capture anything on SignalTap. Anybody could help me?

I linked the data that come from Marvell 88E1111 PHY to Arria II GX using following FPGA pins:

RGMII receive data ENET_RX_D[0] E21

RGMII receive data ENET_RX_D[1] E24

RGMII receive data ENET_RX_D[2] E22

RGMII receive data ENET_RX_D[3] F24

The project is clocked using 125MHz internal clock. (I am using PLL M=1 D=1).

Just for test, these data is being registred and output to following pins:

USR_LED0 G1

USR_LED1 J4

USR_LED2 J5

USR_LED3 R5

The code is

library IEEE;

use IEEE.STD_LOGIC_1164.ALL;

use IEEE.std_logic_unsigned.all;

USE IEEE.STD_LOGIC_ARITH.ALL;

entity gige is

port (

i_Clk : in std_logic;

i_Clk_Eth : in std_logic;

i_Rst : in std_logic;--// Active in High

i_RX_Data : in std_logic_vector(3 downto 0);

i_RX_DV : in std_logic;

o_Data : out std_logic_vector(3 downto 0);

o_RstEth : out std_logic

);

end gige;

architecture Behavioral of gige is

component pll

PORT

(

areset : IN STD_LOGIC := '0';

inclk0 : IN STD_LOGIC := '0';

c0 : OUT STD_LOGIC ;

locked : OUT STD_LOGIC

);

end component;

signal s_clk_125 : std_logic;

signal s_RstPLL : std_logic;

begin

Inst_pll : pll

port map (

inclk0 => i_Clk,

areset => s_RstPLL,

c0 => s_clk_125,

--c1 => s_clk_62_5,

locked => open--s_locked

);

s_RstPLL <= not(i_Rst);

process(s_clk_125, i_Rst)

begin

if (i_Rst = '0') then

o_RstEth <= '0';

o_Data <= (others => '0');

elsif rising_edge(s_clk_125) then

o_RstEth <= i_Rst;

o_Data <= i_RX_Data;

end if;

end process;

end Behavioral;

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    im also using arria2gx board ,we cant tap the signals coming from phy

    and we can tap all the signals other that we can tap signals going to rxcontrol

    so that we can check what and all data we received is correct we can tap the signals coming out of IDDR.

    we are also stucking at a same phase

    for us data out of phy is not coming

    we are not using TSE mac Core we have a core by that reception is done where as tx is not going if u came to know kindly mail to me at

    cherry082@gmail.com
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think you cannot monitor at the pin side of TSE but should be able to see the other side.

    I think we usually connect SG-DMA to TSE, so you just need to see the SG-DMA side.

    Unless you have packet drop at TSE, you should be able to see the data.