Commit 6e3c3f1
Support SLANG_PLUGIN_PATH env var for custom slang plugin location
When SYNTH_HDL_FRONTEND=slang, the plugin load is hardcoded as
`plugin -i slang`. This adds a check for SLANG_PLUGIN_PATH,
falling back to the current behavior when unset.
This enables Bazel-built slang plugins to be loaded from a
custom path, which is needed for downstream consumers that
build yosys-slang from source.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 2453de8 commit 6e3c3f1
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments