Skip to content
Snippets Groups Projects
Commit ebbd9477 authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Added eth_statistics.vhd

 . Author,Purpose,Description
 . Empty architecture
parent a5c4c75e
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ synth_files =
src/vhdl/eth_control.vhd
src/vhdl/eth_ihl_to_20.vhd
src/vhdl/eth.vhd
src/vhdl/eth_statistics.vhd
test_bench_files =
tb/vhdl/tb_eth_checksum.vhd
......
-------------------------------------------------------------------------------
--
-- Copyright (C) 2016
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-------------------------------------------------------------------------------
-- Author:
-- . Daniel van der Schuur
-- Purpose:
-- . Provide Ethernet statistics from serial input
-- Description:
-- . The packets on the serial input are disassembled (header stripped) and
-- the following statistics are provided:
-- . Entity outputs:
-- . Packet count
-- . Packet length
-- . Transcript window output:
-- . Packet header field names&values
LIBRARY IEEE, common_lib, work, technology_lib, dp_lib, tech_tse_lib;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.NUMERIC_STD.ALL;
USE common_lib.common_pkg.ALL;
USE dp_lib.dp_stream_pkg.ALL;
USE common_lib.common_field_pkg.ALL;
USE tech_tse_lib.tech_tse_pkg.ALL;
USE technology_lib.technology_select_pkg.ALL;
ENTITY eth_statistics IS
PORT (
serial_in : IN STD_LOGIC;
pkt_cnt : OUT NATURAL;
pkt_len : OUT NATURAL
);
END eth_statistics;
ARCHITECTURE str OF eth_statistics IS
BEGIN
END str;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment