From 3ea7294b8334e98ae149962dd9d1d152f2b6c1de Mon Sep 17 00:00:00 2001 From: edwardcwang Date: Tue, 13 May 2025 00:42:18 -0400 Subject: [PATCH] fix: firtool lowering options CLI flag As of `firtool` 1.62.0 the format is `--lowering-options=...` --- docs/src/explanations/testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/explanations/testing.md b/docs/src/explanations/testing.md index f3eb9c3b4f3..806c25317f2 100644 --- a/docs/src/explanations/testing.md +++ b/docs/src/explanations/testing.md @@ -444,12 +444,12 @@ SystemVerilog may be difficult for you to use FileCheck with due to the default SystemVerilog lowering, emission, and pretty printing used by `firtool`. To make it easier to write your tests, we suggest using the following options: -- `-loweringOptions=emittedLineLength=160` to increase the allowable line +- `--lowering-options=emittedLineLength=160` to increase the allowable line length. By default, `firtool` will wrap lines that exceed 80 characters. You may consider using a _very long_ line length (e.g., 8192) to avoid this problem altogether. -- `-loweringOptions=disallowLocalVariables` to disable generation of `automatic +- `--lowering-options=disallowLocalVariables` to disable generation of `automatic logic` temporaries in always blocks. This can cause temporaries to spill within an always block which may be slightly unexpected.