Entity: ethernet_sbi_gmii_demo_th

Diagram

time GC_CLK_PERIOD

Description

================================================================================================================================ Copyright 2020 Bitvis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 and in the provided LICENSE.TXT.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Note : Any functionality not explicitly described in the documentation is subject to change at any time


Description : See library quick reference (under 'doc') and README-file(s)

----------------------------------------------------------------------------------------

Test harness entity

Generics

Generic name Type Value Description
GC_CLK_PERIOD time

Signals

Name Type Description
clk std_logic
sbi_if t_sbi_if(addr(C_SBI_ADDR_WIDTH-1 downto 0),
wdata(C_SBI_DATA_WIDTH-1 downto 0),
rdata(C_SBI_DATA_WIDTH-1 downto 0))
gmii_vvc_tx_if t_gmii_tx_if
gmii_vvc_rx_if t_gmii_rx_if

Constants

Name Type Value Description
C_VVC_ETH_SBI natural 1
C_VVC_SBI natural 1
C_VVC_ETH_GMII natural 2
C_VVC_GMII natural 2
C_DUT_IF_FIELD_CONFIG_DIRECTION_ARRAY t_dut_if_field_config_direction_array(TRANSMIT to RECEIVE)(0 to 5) (TRANSMIT => (0 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => false,
field_description => "TX Preamble and SFD"),
1 => (dut_address => C_ETH_ADDR_MAC_DEST,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "TX MAC destination "),
2 => (dut_address => C_ETH_ADDR_MAC_SRC,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "TX MAC source "),
3 => (dut_address => C_ETH_ADDR_PAY_LEN,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "TX payload length "),
4 => (dut_address => C_ETH_ADDR_PAYLOAD,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "TX payload "),
5 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => false,
field_description => "TX FCS ")),
RECEIVE => (0 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "RX NOT USING ADDR "),
1 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "RX NOT USING ADDR "),
2 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "RX NOT USING ADDR "),
3 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "RX NOT USING ADDR "),
4 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "RX NOT USING ADDR "),
5 => (dut_address => C_ETH_ADDR_INVALID,
dut_address_increment => 0,
data_width => C_SBI_DATA_WIDTH,
use_field => true,
field_description => "RX NOT USING ADDR ")) )
Configuration for the Ethernet MAC field addresses (only applicable for SBI, use default for GMII).

Instantiations

Description

CPU to MAC interface

Description

Ethernet MAC

Description

MAC to PHY interface