3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-03 13:07:58 +00:00

kernel: Fix define ID issue, needs undef first

This commit is contained in:
Vaibhav Singh 2025-10-31 14:06:00 +05:30
parent 4011d72656
commit 88d101b462

View file

@ -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) \