-n fn | Name of the .bench file (v 1.0 + v 1.1). |
-t fn | Specifies output file for the compressed output stream (v 1.0 only). |
-DC | enables searching for don't care bits in test patterns (implicitly set false, v 1.0 only) |
-S |
choose sort heuristic to be applied on fault list (v 1.0 only) n = 0 - sort disabled (default) n = 1 - sort heuristic MAX-MIN n = 2 - sort heuristic MIN-MAX |
-W |
specify first fault to be processed (initial seed, implicitly set 0, v 1.0 only) |
-rr | remove redundant faults - set false (implicitly set true, v 1.1 only) |
-pi | reduce Care Bit count - set true (implicitly set false, v 1.1 only) |
-ps | use presimulation - set true (implicitly set false, v 1.0 + v 1.1) |
-atpg | use clasic ATPG mode - set true (implicitly set false, v 1.1 only) |
-rep | print report - set true (implicitly set false, v 1.1 only) |
-sim | turn simulation off - set false (implicitly set true, v 1.1 only) |
-ffp | print CNF for fault free circuit and quit (implicitly set false, v 1.1 only) |
-exp | enable export of CNFs to the directory which is set by next parameter (v 1.1 only) |
-uf | enable UNSAT filtr based on resolution table (implicitly set false, v 1.1 only) |
-df | enable dynamic resolutions in UNSAT filtr (implicitly set false, v 1.1 only) |
-scnf | enable store cnf in memory instead of on-fly generation (implicitly set false, v 1.1 only) |
-scnfr | enable store reduced cnfs in memory (implicitly set false, v 1.1 only) |
-expFlt | export atalanta fault list to the specified file (implicitly set false, v 1.1 only) |
-start |
set start fault (initial seed, implicitly se 0, v 1.1 only) |
satcompress -n c17.bench
satcompress -n c17.bench -atpg
satcompress -n c17.bench -pi -ps
satcompress -n c17.bench -uf
satcompress -n c17.bench -uf -df
satcompress -n c17.bench -t compressed_bitstream.pat
satcompress -n c17.bench -t compressed_bitstream.pat -PS
satcompress -n c17.bench -t compressed_bitstream.pat -PS -DC
satcompress -n c17.bench -t compressed_bitstream.pat -PS -DC -W 3
satcompress -n c17.bench -t compressed_bitstream.pat -PS -DC -W 3 -S 1
------------------------------------------------------- syntax gate type ------------------------------------------------------- INPUT primary input OUTPUT primary output AND and gate NAND nand gate OR or gate NOR nor gate XOR 2 input exclusive-or gate BUFF or BUF buffer NOT inverter ------------------------------------------------------- * Gate types can be also written in lower case.EXAMPLE: ISCAS89 NETLIST FORMAT (c17.bench)
# c17 # 5 inputs # 2 outputs # 0 inverters # 6 gates ( 6 NANDs ) INPUT(1) INPUT(2) INPUT(3) INPUT(6) INPUT(7) OUTPUT(22) OUTPUT(23) 10 = NAND(1, 3) 11 = NAND(3, 6) 16 = NAND(2, 11) 19 = NAND(11, 7) 22 = NAND(10, 16) 23 = NAND(16, 19)
------ EXAMPLE: A FAULT LIST FILE ---------------------- gate_A->gate_B /1 gate_A->gate_B /0 gate_A /1 gate_B /1 --------------------------------------------------------In the above example, gate_A and gate_B are the name of gates. The first line, "gate_A->gate_B /1" describes the stuck-at 1 fault on the gate_B input line, which is connected to gate_A. Similarly, the second line, "gate_A->gate_B /0" describes the stuck-at 0 fault on the gate B input which is connected to gate_A. The third and fourth lines describe the stuck-at 1 faults on the gate_A output and the gate_B output, respectively.