diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2022-08-11 20:19:37 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2022-08-11 20:19:37 -0700 |
commit | 1b0439d128be83914825ed097f4b42201d531213 (patch) | |
tree | 77b3533f324ccf571a344d108307ba3f9f40b563 /src | |
parent | af0ac88266d83db084683fb5d509936ca45e1aff (diff) | |
download | abc-1b0439d128be83914825ed097f4b42201d531213.tar.gz abc-1b0439d128be83914825ed097f4b42201d531213.tar.bz2 abc-1b0439d128be83914825ed097f4b42201d531213.zip |
Changing 2:1 MUX fanin order to be (ctrl, data0, data1).
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/miniaig/ndr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/miniaig/ndr.h b/src/aig/miniaig/ndr.h index 68c2779c..19373063 100644 --- a/src/aig/miniaig/ndr.h +++ b/src/aig/miniaig/ndr.h @@ -506,7 +506,7 @@ static inline void Ndr_WriteVerilogModule( FILE * pFile, void * pDesign, int Mod else if ( nArray == 3 && Type == ABC_OPER_ARI_ADD ) fprintf( pFile, "%s + %s + %s;\n", pNames[pArray[0]], pNames[pArray[1]], pNames[pArray[2]] ); else if ( Type == ABC_OPER_BIT_MUX ) - fprintf( pFile, "%s ? %s : %s;\n", pNames[pArray[0]], pNames[pArray[1]], pNames[pArray[2]] ); + fprintf( pFile, "%s ? %s : %s;\n", pNames[pArray[0]], pNames[pArray[2]], pNames[pArray[1]] ); else fprintf( pFile, "<cannot write operation %s>;\n", Abc_OperName(Ndr_ObjReadBody(p, Obj, NDR_OPERTYPE)) ); } |