mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 03:05:36 +02:00
Version abc61102
This commit is contained in:
@@ -61,10 +61,10 @@
|
||||
#define MAP_RANDOM_UNSIGNED ((((unsigned)rand()) << 24) ^ (((unsigned)rand()) << 12) ^ ((unsigned)rand()))
|
||||
|
||||
// internal macros to work with cuts
|
||||
#define Map_CutIsComplement(p) (((int)((long) (p) & 01)))
|
||||
#define Map_CutRegular(p) ((Map_Cut_t *)((unsigned)(p) & ~01))
|
||||
#define Map_CutNot(p) ((Map_Cut_t *)((long)(p) ^ 01))
|
||||
#define Map_CutNotCond(p,c) ((Map_Cut_t *)((long)(p) ^ (c)))
|
||||
#define Map_CutIsComplement(p) (((int)((unsigned long) (p) & 01)))
|
||||
#define Map_CutRegular(p) ((Map_Cut_t *)((unsigned long)(p) & ~01))
|
||||
#define Map_CutNot(p) ((Map_Cut_t *)((unsigned long)(p) ^ 01))
|
||||
#define Map_CutNotCond(p,c) ((Map_Cut_t *)((unsigned long)(p) ^ (c)))
|
||||
|
||||
// internal macros for referencing of nodes
|
||||
#define Map_NodeReadRef(p) ((Map_Regular(p))->nRefs)
|
||||
|
||||
Reference in New Issue
Block a user