From f69689aa2b3270d54c1ee6f63dbe7370a9f6c500 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 30 Dec 2023 22:31:23 +0100 Subject: [PATCH] chore: split mcu_slave tb to separate library --- run.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index e3bfc815f8ab1362efa1f5729a272a8a6d70e458..e5da68c2d0884937df5c430c1984ed06eeb2ef9e 100644 --- a/run.py +++ b/run.py @@ -7,8 +7,14 @@ vu = VUnit.from_argv(compile_builtins = False) vu.add_vhdl_builtins() -testbench_lib = vu.add_library('i2c_tb') -testbench_lib.add_source_files(Path(__file__).parent / 'tb/**/*.vhd') +i2c_tb_lib = vu.add_library('i2c_tb') +i2c_tb_lib.add_source_files(Path(__file__).parent / 'tb/i2c/**/*.vhd') + +mcu_slave_tb_lib = vu.add_library('mcu_slave_tb') +mcu_slave_tb_lib.add_source_files(Path(__file__).parent / 'tb/mcu_slave/**/*.vhd') + +utils_lib = vu.add_library('mcu_slave') +utils_lib.add_source_files(Path(__file__).parent / 'src/mcu_slave/**/*.vhd') utils_lib = vu.add_library('utils') utils_lib.add_source_files(Path(__file__).parent / 'src/utils/**/*.vhd')