Back to the Contents of PARTHENON User's Manual

9. Reducer for Logic Inverters: RINV

9.1 Starting RINV
9.2 Example of Using RINV

RINV (Reducer for logic INVerters) accepts as input a netlist for a hierarchically structured circuit (in the NLD or PCD format), executes global optimization of polarity (reduces the number of inverters) for the whole circuit, and outputs a netlist for a hierarchically structured circuit as the result (in the NLD or PCD format).


9.1 Starting RINV

rinv [-a] module_name directory ... [-r directory ...] -w directory

module_name : top module name of the given circuit

directory : Name of the directory in which NLD or PCD files are stored or in which the result is stored


9.2 Example of Using RINV

The following example shows an RINV execution of 'test.sfl' in 'a:\par\example.dir' in a manner similar to synthesis by 'auto.bat.' NLD/PCD files are input from test.2nd, a:\par\celldemo\start, and a:\par\celldemo\start_e (it is not always necessary to specify start and start_e in this example). Polarity optimization of the circuit with 'test' as the top module is executed, and the resulting netlist is stored in 'test.3rd.'

List 9.1 shows the execution example and Figure 9.1 shows the circuit before and after applying RINV.


<List 9.1> Message output example when RINV is started and executed

 1:  A>rinv test test.2nd a:\par\celldemo\start a:\par\celldemo\start_e -w test.3rd
 2:  
 3:  ***************************************************************
 4:  * RINV  Version 2.3.0                              1994/07/05 *
 5:  * This program is a part of the PARTHENON system.             *
 6:  *                                 Copyright (C) 1989-1994 NTT *
 7:  ***************************************************************
 8:  
 9:  Start to read NLD/PCD files
10:          Read test.2nd/test.nld
11:  Done
12:  There are 6 inverters
13:  Start inverter reduction
14:  Done
15:  There are 0 inverters
16:  Start to write NLD files
17:          Wrote test.3rd/test.nld
18:  Done
19:  Number of inverters
20:          6 ---> 0
21:  
22:  A>

<Fig 9.1> Circuit example before and after applying RINV