ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
cover.hpp File Reference
#include "global.h"
Include dependency graph for cover.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COVER(COND)
 

Macro Definition Documentation

◆ COVER

#define COVER ( COND)
Value:
do { \
if (!(COND)) \
break; \
fprintf (stderr, \
"%scadical%s: %s:%d: %s: Coverage goal %s`%s'%s reached.\n", \
terr.bold_code (), terr.normal_code (), __FUNCTION__, \
__LINE__, __FILE__, terr.green_code (), #COND, \
terr.normal_code ()); \
fflush (stderr); \
abort (); \
} while (0)
const char * normal_code()
Definition terminal.hpp:80
const char * bold_code()
Definition terminal.hpp:81
const char * green_code()
Definition terminal.hpp:76

Definition at line 23 of file cover.hpp.

23#define COVER(COND) \
24 do { \
25 if (!(COND)) \
26 break; \
27 fprintf (stderr, \
28 "%scadical%s: %s:%d: %s: Coverage goal %s`%s'%s reached.\n", \
29 terr.bold_code (), terr.normal_code (), __FUNCTION__, \
30 __LINE__, __FILE__, terr.green_code (), #COND, \
31 terr.normal_code ()); \
32 fflush (stderr); \
33 abort (); \
34 } while (0)