From 1c15b51cee452d34342616b1fc33f6706c403032 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Tue, 9 Sep 2025 05:51:13 -0700 Subject: [PATCH] Fix define ID issue, needs undef first --- kernel/rtlil.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 26f8cf804..d602b7453 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -552,6 +552,7 @@ template <> struct IDMacroHelper<-1> { } }; +#undef ID #define ID(_id) \ YOSYS_NAMESPACE_PREFIX IDMacroHelper< \ YOSYS_NAMESPACE_PREFIX lookup_well_known_id(#_id) \