OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-ip/] [core/] [gpif_com_test.vhd] - Diff between revs 20 and 24

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 20 Rev 24
Line 166... Line 166...
  begin
  begin
    if i_nReset = '0' then
    if i_nReset = '0' then
      v_rx_throtle_count := (others => '0');
      v_rx_throtle_count := (others => '0');
      s_RD_EN <= '0';
      s_RD_EN <= '0';
    elsif i_SYSCLK = '1' and i_SYSCLK'event then
    elsif i_SYSCLK = '1' and i_SYSCLK'event then
      if v_rx_throtle_count >= 10 then
      if v_rx_throtle_count >= 0 then
        s_RD_EN <= '1';
        s_RD_EN <= '1';
        v_rx_throtle_count := (others => '0');
        v_rx_throtle_count := (others => '0');
      else
      else
        v_rx_throtle_count := v_rx_throtle_count + 1;
        v_rx_throtle_count := v_rx_throtle_count + 1;
        s_RD_EN <= '0';
        s_RD_EN <= '0';
Line 223... Line 223...
    if i_nReset = '0' then
    if i_nReset = '0' then
      s_rom_adress <= (others => '0');
      s_rom_adress <= (others => '0');
      s_WR_EN <= '0';
      s_WR_EN <= '0';
      --s_WR_EN <= '0';
      --s_WR_EN <= '0';
    elsif i_SYSCLK = '1' and i_SYSCLK'event then
    elsif i_SYSCLK = '1' and i_SYSCLK'event then
      if s_rom_adress >= 24 then
      if s_rom_adress = 24 then
        s_rom_adress <= s_rom_adress;
        s_rom_adress <= s_rom_adress + 1;
        s_WR_EN <= '0';
        s_WR_EN <= '0';
        s_EOM <= '1';
        s_EOM <= '1';
 
      elsif s_rom_adress >= 24 then
 
        s_rom_adress <= s_rom_adress;
 
        s_WR_EN <= '0';
 
        s_EOM <= '0';
      else
      else
        if s_FULL ='0' then
        if s_FULL ='0' then
          s_rom_adress <= s_rom_adress + 1;
          s_rom_adress <= s_rom_adress + 1;
          s_WR_EN <= '1';
          s_WR_EN <= '1';
        end if;
        end if;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.