From 719d399a64d56a79386856113fe39a019b45caf1 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 29 Nov 2010 01:30:03 -0800 Subject: Bug fix to read flops with init state 3 (don't know) --- src/base/io/ioReadBlifMv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base') 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; -- cgit v1.2.3