Components are connected together with AxiStreamIfc. Some features
include:
(1) Add bytes to the start of a packet
(2) Remove bytes from a packet
(3) Wrappers for some older components
a. fifo - buffer but imediately pass a packet
b. packet_gate - buffer and hold till end of packet
c. width_conv - cross clock domains and change width of axi bus
The AxiStreamIf was moved from PkgAxiStreamBfm to its own file. It can
be used to connect to ports with continuous assignment.
AxiStreamPacketIf must be used procedurally but allows the following
new methods:
- reached_packet_byte - notify when tdata contains a paritcular byte
- get_packet_byte/get_packet_field - extract a byte or field from axi
- put_packet_byte/put_packet_field - overwrite a byte or field onto axi
Original-commit: c3bca6c87700054c96320de119a58f6a688dbd5a
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
#
|
|
# Copyright 2019 Ettus Research, a National Instruments Company
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
#
|
|
|
|
##################################################
|
|
# Dependencies for AXI BFMS
|
|
##################################################
|
|
|
|
SIM_RFNOC_SRCS = $(abspath $(addprefix $(BASE_DIR)/../lib/, \
|
|
axi4lite_sv/PkgAxiLite.sv \
|
|
axi4lite_sv/AxiLiteIf.sv \
|
|
axi4s_sv/AxiStreamIf.sv \
|
|
))
|
|
|
|
##################################################
|
|
# Simulation Libraries/Headers for AXI based interfaces
|
|
##################################################
|
|
|
|
SIM_RFNOC_SRCS += $(abspath $(addprefix $(BASE_DIR)/../sim/rfnoc/, \
|
|
PkgTestExec.sv \
|
|
test_exec.svh \
|
|
sim_clock_gen.sv \
|
|
PkgAxiStreamBfm.sv \
|
|
PkgAxiLiteBfm.sv \
|
|
PkgEthernet.sv \
|
|
PkgChdrData.sv \
|
|
PkgChdrUtils.sv \
|
|
PkgChdrBfm.sv \
|
|
PkgAxisCtrlBfm.sv \
|
|
PkgRfnocItemUtils.sv \
|
|
PkgCtrlIfaceBfm.sv \
|
|
PkgChdrIfaceBfm.sv \
|
|
PkgRfnocBlockCtrlBfm.sv \
|
|
))
|
|
|
|
##################################################
|
|
# Proto-RFNoC simlib still used in some places
|
|
##################################################
|
|
SIM_PROTORFNOC_SRCS = $(abspath $(addprefix $(BASE_DIR)/../sim/rfnoc/, \
|
|
sim_rfnoc_lib.svh \
|
|
))
|