From 88d101b4626dbeb0c276422c685c0b0db199dc9f Mon Sep 17 00:00:00 2001 From: Vaibhav Singh Date: Fri, 31 Oct 2025 14:06:00 +0530 Subject: [PATCH] kernel: 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 394c6f25d..819704cf9 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -569,6 +569,7 @@ template <> struct IDMacroHelper<-1> { } }; +#undef ID #define ID(_id) \ YOSYS_NAMESPACE_PREFIX IDMacroHelper< \ YOSYS_NAMESPACE_PREFIX lookup_well_known_id(#_id) \