diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-29 01:30:03 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-29 01:30:03 -0800 |
commit | 719d399a64d56a79386856113fe39a019b45caf1 (patch) | |
tree | 790627ad33df3e8d74b5c2876de067dbe6e8f4f4 /src | |
parent | a2e2661e1f4464227ebb29dac4606673ef01f7ef (diff) | |
download | abc-719d399a64d56a79386856113fe39a019b45caf1.tar.gz abc-719d399a64d56a79386856113fe39a019b45caf1.tar.bz2 abc-719d399a64d56a79386856113fe39a019b45caf1.zip |
Bug fix to read flops with init state 3 (don't know)
Diffstat (limited to 'src')
-rw-r--r-- | src/base/io/ioReadBlifMv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/io/ioReadBlifMv.c b/src/base/io/ioReadBlifMv.c index c73f8d92..00b2a5e6 100644 --- a/src/base/io/ioReadBlifMv.c +++ b/src/base/io/ioReadBlifMv.c @@ -1065,7 +1065,7 @@ static int Io_MvParseLineLatch( Io_MvMod_t * p, char * pLine ) Init = atoi( (char *)Vec_PtrEntryLast(vTokens) ); else Init = 2; - if ( Init < 0 || Init > 2 ) + if ( Init < 0 || Init > 3 ) { sprintf( p->pMan->sError, "Line %d: Initial state of the latch is incorrect \"%s\".", Io_MvGetLine(p->pMan, pToken), (char*)Vec_PtrEntry(vTokens,3) ); return 0; |