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

Subversion Repositories udp_ip_stack

[/] [udp_ip_stack/] [trunk/] [rtl/] [vhdl/] [axi.vhd] - Blame information for rev 9

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 pjf
--
2
--      Package File Template
3
--
4
--      Purpose: This package defines data types for AXI transfers
5
 
6
 
7
library IEEE;
8
use IEEE.STD_LOGIC_1164.all;
9
 
10
package axi is
11
 
12
        type axi_in_type is record
13
                data_in                                 : STD_LOGIC_VECTOR (7 downto 0);
14
                data_in_valid           : STD_LOGIC;                                                            -- indicates data_in valid on clock
15
                data_in_last            : STD_LOGIC;                                                            -- indicates last data in frame
16
        end record;
17
 
18
 
19
        type axi_out_type is record
20
                data_out_valid          : std_logic;                                                            -- indicates data out is valid
21
                data_out_last           : std_logic;                                                            -- with data out valid indicates the last byte of a frame
22
                data_out                                : std_logic_vector (7 downto 0);         -- ethernet frame (from dst mac addr through to last byte of frame)      
23
        end record;
24
 
25
end axi;

powered by: WebSVN 2.1.0

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