Repository navigation
Commit 7f93e18
Add config.mk DSL parser with 84 unit tests
Python parser for the config.mk design DSL that extracts structural
params (PLATFORM, DESIGN_NAME, VERILOG_FILES, SDC_FILE, BLOCKS) and
flow arguments (CORE_UTILIZATION, PLACE_DENSITY, etc.) for generating
orfs_flow() Bazel targets.
Handles all DSL features: export/=/?=/:=, line continuations,
$(wildcard), $(sort), variable resolution. Emits deprecation warnings
for complex features (ifeq, $(if), $(filter)).
84 unit tests including integration tests against all real config.mk
files in the repository.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent efbef47 commit 7f93e18
3 files changed
Lines changed: 1994 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments