AMulet 2.0
AIG Multiplier Verification Tool
amulet.cpp File Reference

main file of our tool AMulet2 More...

#include "parser.h"
#include "substitution_engine.h"
#include "polynomial_solver.h"
Include dependency graph for amulet.cpp:

Macros

#define VERSION   "2.0"
 

Functions

static void reset_all ()
 
int main (int argc, char **argv)
 

Variables

static const char * USAGE
 Manual of AMulet2, will be printed with command line '-h'. More...
 
static const char * input_name = 0
 Name of the input file. More...
 
static const char * output_name1 = 0
 Name of first output file, which stores the CNF miter in '-substitute', and the gate constraints in '-certify'. More...
 
static const char * output_name2 = 0
 Name of second output file, which stores the rewritten AIG in '-substitute', and the core proof in '-certify'. More...
 
static const char * output_name3 = 0
 Name of third output file. Stores the specification in '-certify'. More...
 
static int mode
 Selected mode, '-substitute' = 1, '-verify' = 2, '-certify' = 3. More...
 

Detailed Description

main file of our tool AMulet2

Part of AMulet2.0 : AIG Multiplier Verification Tool. Copyright (C) 2020 Daniela Kaufmann, Johannes Kepler University Linz

Macro Definition Documentation

#define VERSION   "2.0"

Function Documentation

int main ( int  argc,
char **  argv 
)

Main Function of AMulet2. Reads the given AIG and depending on the selected mode, either calls the substution engine or the polynomial solver.

Prints statistics to stdout after finishing.

static void reset_all ( )
static

Calls the deallocaters of the involved data types

See also
reset_all_signal_handlers()
delete_gates()
deallocate_terms()
deallocate_mstack()
clear_mpz()

Variable Documentation

const char* input_name = 0
static

Name of the input file.

int mode
static

Selected mode, '-substitute' = 1, '-verify' = 2, '-certify' = 3.

const char* output_name1 = 0
static

Name of first output file, which stores the CNF miter in '-substitute', and the gate constraints in '-certify'.

const char* output_name2 = 0
static

Name of second output file, which stores the rewritten AIG in '-substitute', and the core proof in '-certify'.

const char* output_name3 = 0
static

Name of third output file. Stores the specification in '-certify'.

const char* USAGE
static

Manual of AMulet2, will be printed with command line '-h'.