diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-20 22:12:51 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-20 22:12:51 -0700 |
commit | c344f3e38c60147cacd8a5d414625b832192ccee (patch) | |
tree | 390f8d38d7fc5c601099e08a471c327ac3dc5c7a /src/misc/tim/timMan.c | |
parent | 6dbaa4d0f85d8e9ba08b06192aac6013c6461147 (diff) | |
download | abc-c344f3e38c60147cacd8a5d414625b832192ccee.tar.gz abc-c344f3e38c60147cacd8a5d414625b832192ccee.tar.bz2 abc-c344f3e38c60147cacd8a5d414625b832192ccee.zip |
Propagating timing support to the new synthesis/mapping commands.
Diffstat (limited to 'src/misc/tim/timMan.c')
-rw-r--r-- | src/misc/tim/timMan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/tim/timMan.c b/src/misc/tim/timMan.c index 42f2fe1a..0900b7ae 100644 --- a/src/misc/tim/timMan.c +++ b/src/misc/tim/timMan.c @@ -128,7 +128,7 @@ Tim_Man_t * Tim_ManDup( Tim_Man_t * p, int fUnitDelay ) pDelayTableNew[1] = (int)pDelayTable[1]; pDelayTableNew[2] = (int)pDelayTable[2]; for ( k = 0; k < nInputs * nOutputs; k++ ) - pDelayTableNew[3+k] = fUnitDelay ? 1.0 : pDelayTable[3+k]; + pDelayTableNew[3+k] = fUnitDelay ? (float)fUnitDelay : pDelayTable[3+k]; // assert( (int)pDelayTableNew[0] == Vec_PtrSize(pNew->vDelayTables) ); assert( Vec_PtrEntry(pNew->vDelayTables, i) == NULL ); Vec_PtrWriteEntry( pNew->vDelayTables, i, pDelayTableNew ); |