mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #5452 from vs34/fix-undef-id
kernel: Fix define ID issue, needs undef first
This commit is contained in:
commit
2d7a191b01
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Reference in New Issue