From 5587cc3aeb93374c1477ea445fd640e227f933d1 Mon Sep 17 00:00:00 2001 From: Leon Schoorl Date: Wed, 19 Feb 2025 13:22:23 +0100 Subject: [PATCH] Fix handling of ILA data directories with spaces in them --- bittide-shake/src/Clash/Shake/Vivado.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bittide-shake/src/Clash/Shake/Vivado.hs b/bittide-shake/src/Clash/Shake/Vivado.hs index d02e1936e..14ae2e99a 100644 --- a/bittide-shake/src/Clash/Shake/Vivado.hs +++ b/bittide-shake/src/Clash/Shake/Vivado.hs @@ -927,8 +927,8 @@ runHitlTestCase v testCase@HitlTestCase{name, parameters} driverFunc probesFileP ilaShortName <- mkUniqShortName usedShortNamesVar ilaShortName0 (fromHwIla ila) execCmd_ v "current_hw_ila_data" ["[upload_hw_ila_data [current_hw_ila]]"] -- Legacy CSV excludes radix information - execCmd_ v "write_hw_ila_data" ["-force", "-legacy_csv_file " <> dir ilaShortName] - execCmd_ v "write_hw_ila_data" ["-force", "-vcd_file " <> dir ilaShortName] + execCmd_ v "write_hw_ila_data" ["-force", "-legacy_csv_file " <> embrace (dir ilaShortName)] + execCmd_ v "write_hw_ila_data" ["-force", "-vcd_file " <> embrace (dir ilaShortName)] -- deassert all START signals forM_ (sortOn (prettyShow . fst . fst) (toAscList parameters)) $ \((hwT, _), _param) -> do