src/

The latest version of the BSD Learner. 

1. For AIGs, modify and run write_vec.h

	Modify:

		Line 1 your own module name.

	Execute in the terminal:

		bash write_vec.sh

2. Use BSD_Learner to design your own circuit.

	Modify top.h: 

		Line 1: modify input bitwidth;
		Line 2: modify output bitwidth;
		Line 3: include your own io_generator file. 
		Line 4: If it is an AIG file, add its vec.h file generated from write_vec.sh.
		Line 5: If it is a AIG, #define INPUT_AIG, otherwise do not define it.

			Line 1:		extern const int	parameter_input_bit_width 	= 256+5; 	
			Line 2:		extern const int	parameter_output_bit_width	= 129;	 	
			Line 3:		#include"io_generator/adder.h"
			Line 4:		#include             "adder_vec.h"
			Line 5:		#define INPUT_AIG

