mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-07 16:28:40 -08:00
Reorganize repository
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1,51 +0,0 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2025 FPGA Ninja, LLC
|
||||
#
|
||||
# Authors:
|
||||
# - Alex Forencich
|
||||
#
|
||||
|
||||
# FPGA settings
|
||||
FPGA_PART = xcku040-ffva1156-2-e
|
||||
FPGA_TOP = fpga
|
||||
FPGA_ARCH = kintexu
|
||||
|
||||
# Files for synthesis
|
||||
SYN_FILES = ../rtl/fpga.sv
|
||||
SYN_FILES += ../rtl/fpga_core.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/eth/taxi_eth_mac_1g_fifo.f
|
||||
SYN_FILES += ../lib/taxi/rtl/eth/us/taxi_eth_mac_25g_us.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_if_uart.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_switch.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_mod_stats.f
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_reset.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_signal.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/io/taxi_debounce_switch.sv
|
||||
|
||||
# XDC files
|
||||
XDC_FILES = ../fpga.xdc
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_eth_mac_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_axis_async_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_reset.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_signal.tcl
|
||||
|
||||
# IP
|
||||
IP_TCL_FILES = ../ip/sgmii_pcs_pma_0.tcl
|
||||
IP_TCL_FILES += ../lib/taxi/rtl/eth/us/taxi_eth_phy_25g_us_gth_10g_156.tcl
|
||||
|
||||
# Configuration
|
||||
CONFIG_TCL_FILES = ./config.tcl
|
||||
|
||||
include ../common/vivado.mk
|
||||
|
||||
program: $(PROJECT).bit
|
||||
echo "open_hw_manager" > program.tcl
|
||||
echo "connect_hw_server" >> program.tcl
|
||||
echo "open_hw_target" >> program.tcl
|
||||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> program.tcl
|
||||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> program.tcl
|
||||
echo "set_property PROGRAM.FILE {$(PROJECT).bit} [current_hw_device]" >> program.tcl
|
||||
echo "program_hw_devices [current_hw_device]" >> program.tcl
|
||||
echo "exit" >> program.tcl
|
||||
vivado -nojournal -nolog -mode batch -source program.tcl
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1,51 +0,0 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2025 FPGA Ninja, LLC
|
||||
#
|
||||
# Authors:
|
||||
# - Alex Forencich
|
||||
#
|
||||
|
||||
# FPGA settings
|
||||
FPGA_PART = xczu9eg-ffvb1156-2-e
|
||||
FPGA_TOP = fpga
|
||||
FPGA_ARCH = zynquplus
|
||||
|
||||
# Files for synthesis
|
||||
SYN_FILES = ../rtl/fpga.sv
|
||||
SYN_FILES += ../rtl/fpga_core.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/eth/us/taxi_eth_mac_25g_us.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_if_uart.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_switch.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_mod_stats.f
|
||||
SYN_FILES += ../lib/taxi/rtl/axis/taxi_axis_async_fifo.f
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_reset.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_signal.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/io/taxi_debounce_switch.sv
|
||||
|
||||
# XDC files
|
||||
XDC_FILES = ../fpga.xdc
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_eth_mac_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_axis_async_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_reset.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_signal.tcl
|
||||
|
||||
# IP
|
||||
IP_TCL_FILES = ../lib/taxi/rtl/eth/us/taxi_eth_phy_25g_us_gth_10g_156.tcl
|
||||
|
||||
# Configuration
|
||||
CONFIG_TCL_FILES = ./config.tcl
|
||||
|
||||
include ../common/vivado.mk
|
||||
|
||||
program: $(FPGA_TOP).bit
|
||||
echo "open_hw_manager" > program.tcl
|
||||
echo "connect_hw_server" >> program.tcl
|
||||
echo "open_hw_target" >> program.tcl
|
||||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> program.tcl
|
||||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> program.tcl
|
||||
echo "set_property PROGRAM.FILE {$(FPGA_TOP).bit} [current_hw_device]" >> program.tcl
|
||||
echo "program_hw_devices [current_hw_device]" >> program.tcl
|
||||
echo "exit" >> program.tcl
|
||||
vivado -nojournal -nolog -mode batch -source program.tcl
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1,51 +0,0 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2025 FPGA Ninja, LLC
|
||||
#
|
||||
# Authors:
|
||||
# - Alex Forencich
|
||||
#
|
||||
|
||||
# FPGA settings
|
||||
FPGA_PART = xczu7ev-ffvc1156-2-e
|
||||
FPGA_TOP = fpga
|
||||
FPGA_ARCH = zynquplus
|
||||
|
||||
# Files for synthesis
|
||||
SYN_FILES = ../rtl/fpga.sv
|
||||
SYN_FILES += ../rtl/fpga_core.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/eth/us/taxi_eth_mac_25g_us.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_if_uart.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_switch.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_mod_stats.f
|
||||
SYN_FILES += ../lib/taxi/rtl/axis/taxi_axis_async_fifo.f
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_reset.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_signal.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/io/taxi_debounce_switch.sv
|
||||
|
||||
# XDC files
|
||||
XDC_FILES = ../fpga.xdc
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_eth_mac_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_axis_async_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_reset.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_signal.tcl
|
||||
|
||||
# IP
|
||||
IP_TCL_FILES = ../lib/taxi/rtl/eth/us/taxi_eth_phy_25g_us_gth_10g_156.tcl
|
||||
|
||||
# Configuration
|
||||
CONFIG_TCL_FILES = ./config.tcl
|
||||
|
||||
include ../common/vivado.mk
|
||||
|
||||
program: $(FPGA_TOP).bit
|
||||
echo "open_hw_manager" > program.tcl
|
||||
echo "connect_hw_server" >> program.tcl
|
||||
echo "open_hw_target" >> program.tcl
|
||||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> program.tcl
|
||||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> program.tcl
|
||||
echo "set_property PROGRAM.FILE {$(FPGA_TOP).bit} [current_hw_device]" >> program.tcl
|
||||
echo "program_hw_devices [current_hw_device]" >> program.tcl
|
||||
echo "exit" >> program.tcl
|
||||
vivado -nojournal -nolog -mode batch -source program.tcl
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1,51 +0,0 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2025 FPGA Ninja, LLC
|
||||
#
|
||||
# Authors:
|
||||
# - Alex Forencich
|
||||
#
|
||||
|
||||
# FPGA settings
|
||||
FPGA_PART = xczu28dr-ffvg1517-2-e
|
||||
FPGA_TOP = fpga
|
||||
FPGA_ARCH = zynquplus
|
||||
|
||||
# Files for synthesis
|
||||
SYN_FILES = ../rtl/fpga.sv
|
||||
SYN_FILES += ../rtl/fpga_core.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/eth/us/taxi_eth_mac_25g_us.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_if_uart.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_switch.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_mod_stats.f
|
||||
SYN_FILES += ../lib/taxi/rtl/axis/taxi_axis_async_fifo.f
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_reset.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_signal.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/io/taxi_debounce_switch.sv
|
||||
|
||||
# XDC files
|
||||
XDC_FILES = ../fpga.xdc
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_eth_mac_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_axis_async_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_reset.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_signal.tcl
|
||||
|
||||
# IP
|
||||
IP_TCL_FILES = ../lib/taxi/rtl/eth/us/taxi_eth_phy_25g_us_gty_25g_156.tcl
|
||||
|
||||
# Configuration
|
||||
#CONFIG_TCL_FILES = ./config.tcl
|
||||
|
||||
include ../common/vivado.mk
|
||||
|
||||
program: $(FPGA_TOP).bit
|
||||
echo "open_hw_manager" > program.tcl
|
||||
echo "connect_hw_server" >> program.tcl
|
||||
echo "open_hw_target" >> program.tcl
|
||||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> program.tcl
|
||||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> program.tcl
|
||||
echo "set_property PROGRAM.FILE {$(FPGA_TOP).bit} [current_hw_device]" >> program.tcl
|
||||
echo "program_hw_devices [current_hw_device]" >> program.tcl
|
||||
echo "exit" >> program.tcl
|
||||
vivado -nojournal -nolog -mode batch -source program.tcl
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2025 FPGA Ninja, LLC
|
||||
#
|
||||
# Authors:
|
||||
# - Alex Forencich
|
||||
#
|
||||
|
||||
# FPGA settings
|
||||
FPGA_PART = xczu28dr-ffvg1517-2-e
|
||||
FPGA_TOP = fpga
|
||||
FPGA_ARCH = zynquplus
|
||||
|
||||
# Files for synthesis
|
||||
SYN_FILES = ../rtl/fpga.sv
|
||||
SYN_FILES += ../rtl/fpga_core.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/eth/us/taxi_eth_mac_25g_us.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_if_uart.f
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_switch.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/xfcp/taxi_xfcp_mod_stats.f
|
||||
SYN_FILES += ../lib/taxi/rtl/axis/taxi_axis_async_fifo.f
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_reset.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/sync/taxi_sync_signal.sv
|
||||
SYN_FILES += ../lib/taxi/rtl/io/taxi_debounce_switch.sv
|
||||
|
||||
# XDC files
|
||||
XDC_FILES = ../fpga.xdc
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_eth_mac_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_axis_async_fifo.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_reset.tcl
|
||||
XDC_FILES += ../lib/taxi/syn/vivado/taxi_sync_signal.tcl
|
||||
|
||||
# IP
|
||||
IP_TCL_FILES = ../lib/taxi/rtl/eth/us/taxi_eth_phy_25g_us_gty_10g_156.tcl
|
||||
|
||||
# Configuration
|
||||
#CONFIG_TCL_FILES = ./config.tcl
|
||||
|
||||
include ../common/vivado.mk
|
||||
|
||||
program: $(FPGA_TOP).bit
|
||||
echo "open_hw_manager" > program.tcl
|
||||
echo "connect_hw_server" >> program.tcl
|
||||
echo "open_hw_target" >> program.tcl
|
||||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> program.tcl
|
||||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> program.tcl
|
||||
echo "set_property PROGRAM.FILE {$(FPGA_TOP).bit} [current_hw_device]" >> program.tcl
|
||||
echo "program_hw_devices [current_hw_device]" >> program.tcl
|
||||
echo "exit" >> program.tcl
|
||||
vivado -nojournal -nolog -mode batch -source program.tcl
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1 +0,0 @@
|
||||
../../../../
|
||||
@@ -1 +0,0 @@
|
||||
../../lib/taxi/tb/eth/baser.py
|
||||
@@ -1,4 +0,0 @@
|
||||
taxi_axis_arb_mux.sv
|
||||
taxi_axis_if.sv
|
||||
../prim/taxi_arbiter.sv
|
||||
../prim/taxi_penc.sv
|
||||
@@ -1,4 +0,0 @@
|
||||
taxi_axis_async_fifo.sv
|
||||
../sync/taxi_sync_reset.sv
|
||||
../sync/taxi_sync_signal.sv
|
||||
taxi_axis_if.sv
|
||||
@@ -1,4 +0,0 @@
|
||||
taxi_eth_mac_10g_fifo.sv
|
||||
taxi_eth_mac_10g.f
|
||||
../ptp/taxi_ptp_clock_cdc.sv
|
||||
../axis/taxi_axis_async_fifo_adapter.f
|
||||
@@ -1,3 +0,0 @@
|
||||
taxi_eth_mac_1g_fifo.sv
|
||||
taxi_eth_mac_1g.f
|
||||
../axis/taxi_axis_async_fifo_adapter.f
|
||||
@@ -1,3 +0,0 @@
|
||||
taxi_eth_mac_1g_gmii_fifo.sv
|
||||
taxi_eth_mac_1g_gmii.f
|
||||
../axis/taxi_axis_async_fifo_adapter.f
|
||||
@@ -1,3 +0,0 @@
|
||||
taxi_eth_mac_1g_rgmii_fifo.sv
|
||||
taxi_eth_mac_1g_rgmii.f
|
||||
../axis/taxi_axis_async_fifo_adapter.f
|
||||
@@ -1,3 +0,0 @@
|
||||
taxi_eth_mac_mii_fifo.sv
|
||||
taxi_eth_mac_mii.f
|
||||
../axis/taxi_axis_async_fifo_adapter.f
|
||||
@@ -1,4 +0,0 @@
|
||||
taxi_eth_mac_phy_10g_fifo.sv
|
||||
taxi_eth_mac_phy_10g.f
|
||||
../ptp/taxi_ptp_clock_cdc.sv
|
||||
../axis/taxi_axis_async_fifo_adapter.f
|
||||
@@ -1,5 +0,0 @@
|
||||
taxi_eth_mac_phy_10g_rx.sv
|
||||
taxi_eth_phy_10g_rx_if.f
|
||||
taxi_axis_baser_rx_64.sv
|
||||
../lfsr/taxi_lfsr.sv
|
||||
../axis/taxi_axis_if.sv
|
||||
@@ -1,5 +0,0 @@
|
||||
taxi_eth_mac_phy_10g_tx.sv
|
||||
taxi_eth_phy_10g_tx_if.f
|
||||
taxi_axis_baser_tx_64.sv
|
||||
../lfsr/taxi_lfsr.sv
|
||||
../axis/taxi_axis_if.sv
|
||||
@@ -1,4 +0,0 @@
|
||||
taxi_eth_mac_stats.sv
|
||||
../axis/taxi_axis_async_fifo.f
|
||||
../axis/taxi_axis_arb_mux.f
|
||||
../stats/taxi_stats_collect.sv
|
||||
@@ -1,2 +0,0 @@
|
||||
taxi_eth_phy_10g_tx_if.sv
|
||||
../lfsr/taxi_lfsr.sv
|
||||
@@ -1,5 +0,0 @@
|
||||
taxi_gmii_phy_if.sv
|
||||
../io/taxi_ssio_sdr_in.sv
|
||||
../io/taxi_ssio_sdr_out.sv
|
||||
../io/taxi_oddr.sv
|
||||
../sync/taxi_sync_reset.sv
|
||||
@@ -1,3 +0,0 @@
|
||||
taxi_mii_phy_if.sv
|
||||
../io/taxi_ssio_sdr_in.sv
|
||||
../sync/taxi_sync_reset.sv
|
||||
@@ -1,5 +0,0 @@
|
||||
taxi_rgmii_phy_if.sv
|
||||
../io/taxi_ssio_ddr_in.sv
|
||||
../io/taxi_iddr.sv
|
||||
../io/taxi_oddr.sv
|
||||
../sync/taxi_sync_reset.sv
|
||||
@@ -1,2 +0,0 @@
|
||||
taxi_eth_phy_25g_us_gt.sv
|
||||
../../sync/taxi_sync_reset.sv
|
||||
@@ -1,5 +0,0 @@
|
||||
taxi_xfcp_if_uart.sv
|
||||
../lss/taxi_uart.f
|
||||
../axis/taxi_axis_fifo.sv
|
||||
../axis/taxi_axis_cobs_encode.f
|
||||
../axis/taxi_axis_cobs_decode.sv
|
||||
@@ -1,5 +0,0 @@
|
||||
taxi_xfcp_mod_axi.sv
|
||||
taxi_xfcp_mod_axil.sv
|
||||
../axi/taxi_axi_if.sv
|
||||
../axi/taxi_axil_if.sv
|
||||
../axis/taxi_axis_if.sv
|
||||
@@ -1,3 +0,0 @@
|
||||
taxi_xfcp_mod_i2c_master.sv
|
||||
../lss/taxi_i2c_master.sv
|
||||
../axis/taxi_axis_if.sv
|
||||
@@ -1,7 +0,0 @@
|
||||
taxi_xfcp_mod_stats.sv
|
||||
taxi_xfcp_mod_axil.sv
|
||||
taxi_xfcp_switch.f
|
||||
../stats/taxi_stats_counter.sv
|
||||
../stats/taxi_stats_strings_full.sv
|
||||
../axi/taxi_axil_if.sv
|
||||
../axis/taxi_axis_if.sv
|
||||
@@ -1,4 +0,0 @@
|
||||
taxi_xfcp_switch.sv
|
||||
../prim/taxi_arbiter.sv
|
||||
../prim/taxi_penc.sv
|
||||
../axis/taxi_axis_if.sv
|
||||
1
src/axi/lib/taxi
Symbolic link
1
src/axi/lib/taxi
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../
|
||||
@@ -13,14 +13,18 @@ WAVES ?= 0
|
||||
COCOTB_HDL_TIMEUNIT = 1ns
|
||||
COCOTB_HDL_TIMEPRECISION = 1ps
|
||||
|
||||
RTL_DIR = ../../rtl
|
||||
LIB_DIR = ../../lib
|
||||
TAXI_SRC_DIR = $(LIB_DIR)/taxi/src
|
||||
|
||||
DUT = taxi_axi_ram
|
||||
COCOTB_TEST_MODULES = test_$(DUT)
|
||||
COCOTB_TOPLEVEL = test_$(DUT)
|
||||
MODULE = $(COCOTB_TEST_MODULES)
|
||||
TOPLEVEL = $(COCOTB_TOPLEVEL)
|
||||
VERILOG_SOURCES += $(COCOTB_TOPLEVEL).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/$(DUT).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/taxi_axi_if.sv
|
||||
VERILOG_SOURCES += $(RTL_DIR)/$(DUT).sv
|
||||
VERILOG_SOURCES += $(RTL_DIR)/taxi_axi_if.sv
|
||||
|
||||
# handle file list files
|
||||
process_f_file = $(call process_f_files,$(addprefix $(dir $1),$(shell cat $1)))
|
||||
@@ -186,7 +186,9 @@ if cocotb.SIM_NAME:
|
||||
# cocotb-test
|
||||
|
||||
tests_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', '..', 'rtl'))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))
|
||||
lib_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'lib'))
|
||||
taxi_src_dir = os.path.abspath(os.path.join(lib_dir, 'taxi', 'src'))
|
||||
|
||||
|
||||
def process_f_files(files):
|
||||
@@ -210,8 +212,8 @@ def test_taxi_axi_ram(request, data_w):
|
||||
|
||||
verilog_sources = [
|
||||
os.path.join(tests_dir, f"{toplevel}.sv"),
|
||||
os.path.join(rtl_dir, "axi", f"{dut}.sv"),
|
||||
os.path.join(rtl_dir, "axi", "taxi_axi_if.sv"),
|
||||
os.path.join(rtl_dir, f"{dut}.sv"),
|
||||
os.path.join(rtl_dir, "taxi_axi_if.sv"),
|
||||
]
|
||||
|
||||
verilog_sources = process_f_files(verilog_sources)
|
||||
@@ -1,6 +1,7 @@
|
||||
# SPDX-License-Identifier: CERN-OHL-S-2.0
|
||||
#
|
||||
# Copyright (c) 2020-2025
|
||||
#
|
||||
# Authors:
|
||||
# - Alex Forencich
|
||||
|
||||
@@ -12,13 +13,17 @@ WAVES ?= 0
|
||||
COCOTB_HDL_TIMEUNIT = 1ns
|
||||
COCOTB_HDL_TIMEPRECISION = 1ps
|
||||
|
||||
RTL_DIR = ../../rtl
|
||||
LIB_DIR = ../../lib
|
||||
TAXI_SRC_DIR = $(LIB_DIR)/taxi/src
|
||||
|
||||
DUT = taxi_axi_register
|
||||
COCOTB_TEST_MODULES = test_$(DUT)
|
||||
COCOTB_TOPLEVEL = test_$(DUT)
|
||||
MODULE = $(COCOTB_TEST_MODULES)
|
||||
TOPLEVEL = $(COCOTB_TOPLEVEL)
|
||||
VERILOG_SOURCES += $(COCOTB_TOPLEVEL).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/$(DUT).f
|
||||
VERILOG_SOURCES += $(RTL_DIR)/$(DUT).f
|
||||
|
||||
# handle file list files
|
||||
process_f_file = $(call process_f_files,$(addprefix $(dir $1),$(shell cat $1)))
|
||||
@@ -194,7 +194,9 @@ if cocotb.SIM_NAME:
|
||||
# cocotb-test
|
||||
|
||||
tests_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', '..', 'rtl'))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))
|
||||
lib_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'lib'))
|
||||
taxi_src_dir = os.path.abspath(os.path.join(lib_dir, 'taxi', 'src'))
|
||||
|
||||
|
||||
def process_f_files(files):
|
||||
@@ -219,7 +221,7 @@ def test_taxi_axi_register(request, data_w, reg_type):
|
||||
|
||||
verilog_sources = [
|
||||
os.path.join(tests_dir, f"{toplevel}.sv"),
|
||||
os.path.join(rtl_dir, "axi", f"{dut}.f"),
|
||||
os.path.join(rtl_dir, f"{dut}.f"),
|
||||
]
|
||||
|
||||
verilog_sources = process_f_files(verilog_sources)
|
||||
@@ -13,14 +13,18 @@ WAVES ?= 0
|
||||
COCOTB_HDL_TIMEUNIT = 1ns
|
||||
COCOTB_HDL_TIMEPRECISION = 1ps
|
||||
|
||||
RTL_DIR = ../../rtl
|
||||
LIB_DIR = ../../lib
|
||||
TAXI_SRC_DIR = $(LIB_DIR)/taxi/src
|
||||
|
||||
DUT = taxi_axil_dp_ram
|
||||
COCOTB_TEST_MODULES = test_$(DUT)
|
||||
COCOTB_TOPLEVEL = test_$(DUT)
|
||||
MODULE = $(COCOTB_TEST_MODULES)
|
||||
TOPLEVEL = $(COCOTB_TOPLEVEL)
|
||||
VERILOG_SOURCES += $(COCOTB_TOPLEVEL).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/$(DUT).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/taxi_axil_if.sv
|
||||
VERILOG_SOURCES += $(RTL_DIR)/$(DUT).sv
|
||||
VERILOG_SOURCES += $(RTL_DIR)/taxi_axil_if.sv
|
||||
|
||||
# handle file list files
|
||||
process_f_file = $(call process_f_files,$(addprefix $(dir $1),$(shell cat $1)))
|
||||
@@ -220,7 +220,9 @@ if cocotb.SIM_NAME:
|
||||
# cocotb-test
|
||||
|
||||
tests_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', '..', 'rtl'))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))
|
||||
lib_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'lib'))
|
||||
taxi_src_dir = os.path.abspath(os.path.join(lib_dir, 'taxi', 'src'))
|
||||
|
||||
|
||||
def process_f_files(files):
|
||||
@@ -244,8 +246,8 @@ def test_taxi_axil_dp_ram(request, data_w):
|
||||
|
||||
verilog_sources = [
|
||||
os.path.join(tests_dir, f"{toplevel}.sv"),
|
||||
os.path.join(rtl_dir, "axi", f"{dut}.sv"),
|
||||
os.path.join(rtl_dir, "axi", "taxi_axil_if.sv"),
|
||||
os.path.join(rtl_dir, f"{dut}.sv"),
|
||||
os.path.join(rtl_dir, "taxi_axil_if.sv"),
|
||||
]
|
||||
|
||||
verilog_sources = process_f_files(verilog_sources)
|
||||
@@ -13,14 +13,18 @@ WAVES ?= 0
|
||||
COCOTB_HDL_TIMEUNIT = 1ns
|
||||
COCOTB_HDL_TIMEPRECISION = 1ps
|
||||
|
||||
RTL_DIR = ../../rtl
|
||||
LIB_DIR = ../../lib
|
||||
TAXI_SRC_DIR = $(LIB_DIR)/taxi/src
|
||||
|
||||
DUT = taxi_axil_ram
|
||||
COCOTB_TEST_MODULES = test_$(DUT)
|
||||
COCOTB_TOPLEVEL = test_$(DUT)
|
||||
MODULE = $(COCOTB_TEST_MODULES)
|
||||
TOPLEVEL = $(COCOTB_TOPLEVEL)
|
||||
VERILOG_SOURCES += $(COCOTB_TOPLEVEL).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/$(DUT).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/taxi_axil_if.sv
|
||||
VERILOG_SOURCES += $(RTL_DIR)/$(DUT).sv
|
||||
VERILOG_SOURCES += $(RTL_DIR)/taxi_axil_if.sv
|
||||
|
||||
# handle file list files
|
||||
process_f_file = $(call process_f_files,$(addprefix $(dir $1),$(shell cat $1)))
|
||||
@@ -168,7 +168,9 @@ if cocotb.SIM_NAME:
|
||||
# cocotb-test
|
||||
|
||||
tests_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', '..', 'rtl'))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))
|
||||
lib_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'lib'))
|
||||
taxi_src_dir = os.path.abspath(os.path.join(lib_dir, 'taxi', 'src'))
|
||||
|
||||
|
||||
def process_f_files(files):
|
||||
@@ -192,8 +194,8 @@ def test_taxi_axil_ram(request, data_w):
|
||||
|
||||
verilog_sources = [
|
||||
os.path.join(tests_dir, f"{toplevel}.sv"),
|
||||
os.path.join(rtl_dir, "axi", f"{dut}.sv"),
|
||||
os.path.join(rtl_dir, "axi", "taxi_axil_if.sv"),
|
||||
os.path.join(rtl_dir, f"{dut}.sv"),
|
||||
os.path.join(rtl_dir, "taxi_axil_if.sv"),
|
||||
]
|
||||
|
||||
verilog_sources = process_f_files(verilog_sources)
|
||||
@@ -13,13 +13,17 @@ WAVES ?= 0
|
||||
COCOTB_HDL_TIMEUNIT = 1ns
|
||||
COCOTB_HDL_TIMEPRECISION = 1ps
|
||||
|
||||
RTL_DIR = ../../rtl
|
||||
LIB_DIR = ../../lib
|
||||
TAXI_SRC_DIR = $(LIB_DIR)/taxi/src
|
||||
|
||||
DUT = taxi_axil_register
|
||||
COCOTB_TEST_MODULES = test_$(DUT)
|
||||
COCOTB_TOPLEVEL = test_$(DUT)
|
||||
MODULE = $(COCOTB_TEST_MODULES)
|
||||
TOPLEVEL = $(COCOTB_TOPLEVEL)
|
||||
VERILOG_SOURCES += $(COCOTB_TOPLEVEL).sv
|
||||
VERILOG_SOURCES += ../../../rtl/axi/$(DUT).f
|
||||
VERILOG_SOURCES += $(RTL_DIR)/$(DUT).f
|
||||
|
||||
# handle file list files
|
||||
process_f_file = $(call process_f_files,$(addprefix $(dir $1),$(shell cat $1)))
|
||||
@@ -176,7 +176,9 @@ if cocotb.SIM_NAME:
|
||||
# cocotb-test
|
||||
|
||||
tests_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', '..', 'rtl'))
|
||||
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))
|
||||
lib_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'lib'))
|
||||
taxi_src_dir = os.path.abspath(os.path.join(lib_dir, 'taxi', 'src'))
|
||||
|
||||
|
||||
def process_f_files(files):
|
||||
@@ -201,7 +203,7 @@ def test_taxi_axil_register(request, data_w, reg_type):
|
||||
|
||||
verilog_sources = [
|
||||
os.path.join(tests_dir, f"{toplevel}.sv"),
|
||||
os.path.join(rtl_dir, "axi", f"{dut}.f"),
|
||||
os.path.join(rtl_dir, f"{dut}.f"),
|
||||
]
|
||||
|
||||
verilog_sources = process_f_files(verilog_sources)
|
||||
1
src/axis/lib/taxi
Symbolic link
1
src/axis/lib/taxi
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../
|
||||
4
src/axis/rtl/taxi_axis_arb_mux.f
Normal file
4
src/axis/rtl/taxi_axis_arb_mux.f
Normal file
@@ -0,0 +1,4 @@
|
||||
taxi_axis_arb_mux.sv
|
||||
taxi_axis_if.sv
|
||||
../lib/taxi/src/prim/rtl/taxi_arbiter.sv
|
||||
../lib/taxi/src/prim/rtl/taxi_penc.sv
|
||||
4
src/axis/rtl/taxi_axis_async_fifo.f
Normal file
4
src/axis/rtl/taxi_axis_async_fifo.f
Normal file
@@ -0,0 +1,4 @@
|
||||
taxi_axis_async_fifo.sv
|
||||
../lib/taxi/src/sync/rtl/taxi_sync_reset.sv
|
||||
../lib/taxi/src/sync/rtl/taxi_sync_signal.sv
|
||||
taxi_axis_if.sv
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user