From 5e95fdf3c782cd42205782c1c475e1f199eefcd0 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 5 Nov 2024 17:05:43 +0200 Subject: [PATCH] fix: temporarily disable MAGIC_CAPTURE_ERRORS / Magic DRC for testing tt_um_kmakise_sram with Efabless's precheck --- .github/workflows/gds.yaml | 5 +++++ patches/tt-multiplexer.patch | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 patches/tt-multiplexer.patch diff --git a/.github/workflows/gds.yaml b/.github/workflows/gds.yaml index f48c34c9..dcb843ce 100644 --- a/.github/workflows/gds.yaml +++ b/.github/workflows/gds.yaml @@ -48,6 +48,11 @@ jobs: working-directory: openlane2 run: git apply --allow-empty ../patches/openlane2.patch + + - name: Patch tt-multiplexer + working-directory: tt-multiplexer + run: + git apply --allow-empty ../patches/tt-multiplexer.patch - name: Update caravel configuration run: python ./tt/configure.py --update-shuttle diff --git a/patches/tt-multiplexer.patch b/patches/tt-multiplexer.patch new file mode 100644 index 00000000..16a9a658 --- /dev/null +++ b/patches/tt-multiplexer.patch @@ -0,0 +1,23 @@ +diff --git a/ol2/tt_top/build.py b/ol2/tt_top/build.py +index a36555f..439696f 100755 +--- a/ol2/tt_top/build.py ++++ b/ol2/tt_top/build.py +@@ -88,8 +88,8 @@ class TopFlow(SequentialFlow): + KLayout.StreamOut, + KLayout.XOR, + Checker.XOR, +- Magic.DRC, +- Checker.MagicDRC, ++ #Magic.DRC, ++ #Checker.MagicDRC, + Magic.SpiceExtraction, + Checker.IllegalOverlap, + Netgen.LVS, +@@ -222,6 +222,7 @@ if __name__ == '__main__': + + # Magic stream + "MAGIC_ZEROIZE_ORIGIN" : False, ++ "MAGIC_CAPTURE_ERRORS": False, + + # DRC + "MAGIC_DRC_USE_GDS": True,