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

Subversion Repositories udp_ip_stack

[/] [udp_ip_stack/] [trunk/] [rtl/] [vhdl/] [ipv4_types.vhd] - Diff between revs 6 and 8

Show entire file | Details | Blame | View Log

Rev 6 Rev 8
Line 4... Line 4...
 
 
 
 
library IEEE;
library IEEE;
use IEEE.STD_LOGIC_1164.all;
use IEEE.STD_LOGIC_1164.all;
use work.axi.all;
use work.axi.all;
 
use work.arp_types.all;
 
 
package ipv4_types is
package ipv4_types is
 
 
        constant IP_BC_ADDR             : std_logic_vector (31 downto 0) := x"ffffffff";
        constant IP_BC_ADDR             : std_logic_vector (31 downto 0) := x"ffffffff";
        constant MAC_BC_ADDR            : std_logic_vector (47 downto 0) := x"ffffffffffff";
        constant MAC_BC_ADDR            : std_logic_vector (47 downto 0) := x"ffffffffffff";
Line 57... Line 58...
        type ipv4_rx_type is record
        type ipv4_rx_type is record
                hdr                             : ipv4_rx_header_type;                                          -- header received
                hdr                             : ipv4_rx_header_type;                                          -- header received
                data                            : axi_in_type;                                                                  -- rx axi bus
                data                            : axi_in_type;                                                                  -- rx axi bus
        end record;
        end record;
 
 
 
        type ip_control_type is record
 
                arp_controls    : arp_control_type;
 
        end record;
 
 
        ------------
        ------------
        -- UDP TX --
        -- UDP TX --
        ------------
        ------------
 
 
Line 106... Line 110...
        type udp_addr_type is record
        type udp_addr_type is record
                ip_addr                         : STD_LOGIC_VECTOR (31 downto 0);
                ip_addr                         : STD_LOGIC_VECTOR (31 downto 0);
                port_num                        : STD_LOGIC_VECTOR (15 downto 0);
                port_num                        : STD_LOGIC_VECTOR (15 downto 0);
        end record;
        end record;
 
 
 
        type udp_control_type is record
 
                ip_controls     : ip_control_type;
 
        end record;
 
 
 
 
end ipv4_types;
end ipv4_types;
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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