Skip to content

SIMPLER MAGIC: Synthesis and In-memory MaPping of Logic Execution in a single Row for Memristor Aided loGIC

Notifications You must be signed in to change notification settings

RotemBenHur/SIMPLER-MAGIC

Repository files navigation

SIMPLER-MAGIC

SIMPLER MAGIC: Synthesis and In-memory MaPping of Logic Execution in a single Row for Memristor Aided loGIC

Dependencies

In order to use SIMPLER-MAGIC, you will need a Linux machine with:

  1. Python 3.6
  2. ABC Synthesis Tool

Manual

  1. Configure: in the file simple_conf.cfg you will find the following content:
[input_output]
; input_path - write the name of the input file 
input_path=full_adder_1bit.v
; input_format - the allowed values: verilog, blif
input_format=verilog
; output_path - write the desired name of the netlist generated using ABC 
output_path=full_adder_1bit_output

[abc]
; abc_dir_path - write the path to your ABC directory
abc_dir_path=/home/adi/abc/alanmi-abc-eac02745facf

[SIMPLER_Mapping]
; Max_num_gates - write the maximum number of gates the tool allows
Max_num_gates=20000
; ROW_SIZE - write all the desired row sizes (including the cells storing the inputs)
ROW_SIZE=[5,8,10,15]
; generate_json,print_mapping,print_warnings - the allowed values: True/False 
generate_json=False
print_mapping=True
print_warnings=True

Change the parameters according to your needs.

  1. Run:
python3 simpler_main.py

About

SIMPLER MAGIC: Synthesis and In-memory MaPping of Logic Execution in a single Row for Memristor Aided loGIC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published