summaryrefslogtreecommitdiffstats
path: root/src/base/wlc/wlcReadVer.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-02-12 09:46:49 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2016-02-12 09:46:49 -0800
commite0616441b3f42131bc2f9cf307ef4e44b29781a7 (patch)
tree51532c6586bca520ce02bbbf59c010b998190a7d /src/base/wlc/wlcReadVer.c
parent66796c38088a3ff74c530b3ee4a6dab33382f99a (diff)
downloadabc-e0616441b3f42131bc2f9cf307ef4e44b29781a7.tar.gz
abc-e0616441b3f42131bc2f9cf307ef4e44b29781a7.tar.bz2
abc-e0616441b3f42131bc2f9cf307ef4e44b29781a7.zip
Adding support for a different bit-blasting of a multiplier and squarer.
Diffstat (limited to 'src/base/wlc/wlcReadVer.c')
-rw-r--r--src/base/wlc/wlcReadVer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/wlc/wlcReadVer.c b/src/base/wlc/wlcReadVer.c
index aa72553a..85ea76c0 100644
--- a/src/base/wlc/wlcReadVer.c
+++ b/src/base/wlc/wlcReadVer.c
@@ -670,6 +670,8 @@ static inline int Wlc_PrsFindDefinition( Wlc_Prs_t * p, char * pStr, Vec_Int_t *
Type = WLC_OBJ_BIT_NOT;
else if ( pStr[0] == '@' )
Type = WLC_OBJ_ARI_SQRT;
+ else if ( pStr[0] == '#' )
+ Type = WLC_OBJ_ARI_SQUARE;
else assert( 0 );
// skip parentheses
pStr = Wlc_PrsSkipSpaces( pStr+1 );