Timing relief on generic sequencers, fixed FPM6 led test bench, added Altera pragma to ethernet files

This commit is contained in:
Simon Southwell 2020-10-08 07:22:00 +01:00
commit ef49c99b9f
43 changed files with 43 additions and 7 deletions

View file

@ -11,7 +11,7 @@ vlib ./work
vmap work ./work
# Compile the UUT
vcom -2008 -work $WORKLIB ../src/seb_epd_led_gen_5.vhd
vcom -2008 -work $WORKLIB ../src/seb_epd_led_gen_6.vhd
# Compile the constrained random related packages
vlib OSVVM

View file

@ -84,7 +84,7 @@ begin -- architecture behav
-- LED Generator (UUT)
-----------------------------------------------------------------------------
iUUT: entity work.seb_epd_led_gen_5
iUUT: entity work.seb_epd_led_gen_6
generic map (
MAX_PERIOD_MS => MAX_PERIOD_MS,
GREEN_PERIOD_MS => GREEN_PERIOD_MS)

View file

@ -316,8 +316,6 @@ begin
-- Sequencer Logic
-----------------------------------------------------------------------------
opcode <= ram_rd_data(31 downto 28);
start_req_i <= start_req and not start_req_d;
-- FSM Status Register
@ -327,6 +325,7 @@ begin
fsm <= s_idle;
elsif (clk = '1' and clk'event) then
fsm <= fsm_nxt;
opcode <= ram_rd_data(31 downto 28);
end if;
end process pFSM_SR;

View file

@ -322,8 +322,6 @@ begin
-- Sequencer Logic
-----------------------------------------------------------------------------
opcode <= ram_rd_data(31 downto 28);
start_req_i <= start_req and not start_req_d;
-- FSM Status Register
@ -333,6 +331,7 @@ begin
fsm <= s_idle;
elsif (clk = '1' and clk'event) then
fsm <= fsm_nxt;
opcode <= ram_rd_data(31 downto 28);
end if;
end process pFSM_SR;

View file

@ -14,6 +14,7 @@
-- USAGE: adjust the constant MCLK_COUNTER_DIV within to meet the MDC/MDIO timing requirements (see PHY specs).
-- Note: uses a ST="00" start of frame, unlike previous versions using a "01"
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee. numeric_std.all;

View file

@ -17,6 +17,7 @@
-- Rev 2 6/29/16 AZ
-- Added asymmetrical case (different data widths on A and B ports)
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -34,6 +34,7 @@
--Number of BUFG: 2
--Minimum period: 4.830ns (Maximum Frequency: 207.039MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.numeric_std.ALL;

View file

@ -25,6 +25,7 @@
-- GCLK: 1
-- Minimum period: 4.836ns (Maximum Frequency: 206.782MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -14,6 +14,7 @@
-- CRC_OUT only depends on DATA_IN. The algorithm is thus memoryless.
-- Verified by comparing with the crc calculator at http://www.sunshine2k.de/coding/javascript/crc/crc_js.html
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -16,6 +16,7 @@
-- Note: the returned crc values are NOT inverted and NOT reflected left-right. They are as they would appear
-- when generated by a standard LFSR
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -16,6 +16,7 @@
-- Note: the returned crc values are NOT inverted and NOT reflected left-right. They are as they would appear
-- when generated by a standard LFSR
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -14,6 +14,7 @@
-- CRC_OUT only depends on DATA_IN. The algorithm is thus memoryless.
-- Verified by comparing with the crc calculator at http://www.sunshine2k.de/coding/javascript/crc/crc_js.html
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -16,6 +16,7 @@
-- Note: the returned crc values are NOT inverted and NOT reflected left-right. They are as they would appear
-- when generated by a standard LFSR
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -16,6 +16,7 @@
-- Note: the returned crc values are NOT inverted and NOT reflected left-right. They are as they would appear
-- when generated by a standard LFSR
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -19,6 +19,7 @@
-- DSP: 0
-- GCLK: 1
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -10,6 +10,7 @@
-- The control and status registers are specific to the VSC8486-11 PHY
-- The state machine must be edited to reflect any other PHY.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -1,6 +1,7 @@
-- Simple Dual-Port Block RAM with Two Clocks
-- Correct Modelization with a Shared Variable
-- File: simple_dual_two_clocks.vhd
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;

View file

@ -19,6 +19,7 @@
-- ARP only applies to IPv4. For IPv6, use neighbour discovery protocol instead.
-- Any follow-on received MAC frame is discarded while a valid ARP response awaits transmission in the elastic buffer.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -32,6 +32,7 @@
-- BUFG: 1
-- Minimum period: 4.952ns (Maximum Frequency: 201.939MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -17,6 +17,7 @@
-- Rev 2 6/29/16 AZ
-- Added asymmetrical case (different data widths on A and B ports)
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;

View file

@ -25,6 +25,7 @@
-- BUFG: 1
-- Minimum period: 6.888ns (Maximum Frequency: 145.175MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -11,6 +11,7 @@
--
-- Usage: enter the number of UDP tx and rx components, the number of TCP servers and the number of TCP clients.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.all;
use ieee.numeric_std.all;

View file

@ -29,6 +29,7 @@
-- Minimum period: 6.414ns (Maximum Frequency: 155.909MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -38,6 +38,7 @@
-- Minimum period: 6.122ns (Maximum Frequency: 163.359MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -16,7 +16,7 @@
--
-- 18.1.0 Build 625 09/12/2018 SJ Standard Edition
-- ************************************************************
-- altera vhdl_input_version vhdl_2008
--Copyright (C) 2018 Intel Corporation. All rights reserved.
--Your use of Intel Corporation's design tools, logic functions

View file

@ -27,6 +27,7 @@
-- BUFG: 1
-- Minimum period: 4.683ns (Maximum Frequency: 213.516MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -12,6 +12,7 @@
-- MAC address(just multicast bit), IP type, IP header checksum
-- NO prior validation for complete MAC address, IP multicast destination address, IGMP checksum
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.numeric_std.ALL;

View file

@ -8,6 +8,7 @@
--
-- description: send an IGMP membership report out to whom it may concern
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.numeric_std.all;

View file

@ -38,6 +38,7 @@
-- BUFG: 1
-- Minimum period: 6.586ns (Maximum Frequency: 151.837MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -15,6 +15,7 @@
-- This component can interface seemlessly with USB_RX.vhd at the input to receive
-- input packets conveyed as UDP frames over the network.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -20,6 +20,7 @@
-- (g) erroneous MAC frame (incorrect FCS, wrong dest MAC address)
-- Any follow-on received IP frame is discarded while a valid ping response awaits transmission in the elastic buffer.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -1,6 +1,7 @@
-- Simple Dual-Port Block RAM with Two Clocks
-- Correct Modelization with a Shared Variable
-- File: simple_dual_two_clocks.vhd
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;

View file

@ -12,6 +12,7 @@
-- The main reason for this component is the complexity of the 64-bit TCP rx interface.
-- Simplicity comes at the price of throughput as the byte-wide interface is 8 times slower than the 64-bit interface.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -29,6 +29,7 @@
-- the output packets within UDP frames for network transmission.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -35,6 +35,7 @@
-- LUT: 583
-- BRAM: 4
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -40,6 +40,7 @@
-- Eliminated instability in the ack/retransmission feedback loop
-- Reduce latency for receiving the first full tx frame to < 90us starting at client connection request (don't wait for the first client ACK)
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.numeric_std.ALL;

View file

@ -20,6 +20,7 @@
-- Rev 1 1/18/20 AZ
-- corrected bug in the TCP option field (MSS size)
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -38,6 +38,7 @@
-- Rev1 4/23/19 AZ
-- Corrected sensitivity lists
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.numeric_std.ALL;

View file

@ -1,6 +1,7 @@
-- True Dual-Port Block RAM with Two Clocks
-- Correct Modelization with a Shared Variable
-- File: true_dual_two_clocks.vhd
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;

View file

@ -19,6 +19,7 @@
-- Rev 5 12/10/15 AZ
-- replaced ASYNC_RESET with SYNC_RESET
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -23,6 +23,7 @@
-- As there is no difference between IPv4 and IPv6 for UDP, this component is compatible with
-- both IPv4 and IPv6.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.numeric_std.ALL;

View file

@ -43,6 +43,7 @@
-- BUFG: 1
-- Minimum period: 5.688ns (Maximum Frequency: 175.824MHz) Artix7-100T -1 speed grade
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;

View file

@ -9,6 +9,7 @@
-- description: Asks around who is (given IP address) using the
-- Address Resolution Protocol (ARP) for IPv4 or Neighbor Discovery Protocol (NDP) for IPv6. 10Gb.
---------------------------------------------------------------
-- altera vhdl_input_version vhdl_2008
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;