You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: fix config.mk parser and add missing BUILD.bazel files
Fix several issues preventing `bazelisk test //flow/designs/asap7/...`
from working:
Parser fixes (config_mk_parser.py):
- Add _tokenize_make_expr() to preserve $(...) nesting when splitting
multi-value VERILOG_FILES (fixes wildcard resolution for ibex, cva6)
- Fix _dir_to_verilog_label() to preserve subdirectory paths instead
of collapsing all to top-level :verilog label
- Fix _resolve_include_path() to find included files when repo rule
runs from a different CWD (fixes mock-alu defaults.mk include)
- Skip tab-indented Make recipe lines (fixes mock-alu MOCK_ALU_WIDTH)
Bazel rule fixes (orfs.bzl):
- Add VERILOG_INCLUDE_DIRS directories as stage_data for synth so
include files are available in the Bazel sandbox
New BUILD.bazel files:
- 3 missing design dirs: aes, ethmac_lvt, swerv_wrapper
- 21 cva6 src subdirectories for nested verilog/include files
- ibex, jpeg include directories
Disable orfs_design() for designs with pre-existing issues:
- cva6, minimal, mock-cpu, riscv32i, swerv_wrapper
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
0 commit comments