From 7ff1d12839dd893c670ca2c57277a1cbd76951f7 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 6 Jan 2024 20:24:58 +0100 Subject: [PATCH] feat: add libraries to vunit --- run.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index a195f2157cb3707ad7e6a5d4f8111bbc587566b4..be6a76f486eaca9ee03767585e7479f8c056b103 100644 --- a/run.py +++ b/run.py @@ -13,12 +13,21 @@ 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') +mcu_slave_lib = vu.add_library('mcu_slave') +mcu_slave_lib.add_source_files(Path(__file__).parent / 'src/mcu_slave/**/*.vhd') + +ssd1306_lib = vu.add_library('ssd1306') +ssd1306_lib.add_source_files(Path(__file__).parent / 'src/ssd1306/**/*.vhd') + +ssd1306_lib = vu.add_library('ssd1306_tb') +ssd1306_lib.add_source_files(Path(__file__).parent / 'tb/ssd1306/**/*.vhd') utils_lib = vu.add_library('utils') utils_lib.add_source_files(Path(__file__).parent / 'src/utils/**/*.vhd') +utils_tb_lib = vu.add_library('utils_tb') +utils_tb_lib.add_source_files(Path(__file__).parent / 'tb/utils/**/*.vhd') + i2c_lib = vu.add_library('i2c') i2c_lib.add_source_files(Path(__file__).parent / 'src/**/*.vhd')