Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
f1bc3468
Commit
f1bc3468
authored
Sep 23, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Several bug-fixed related to synthesis, library handling, and timimg info.
parent
a84c8174
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
src/base/abc/abcDfs.c
+1
-1
src/base/abci/abcRefactor.c
+2
-0
src/map/mio/mioFunc.c
+4
-2
No files found.
src/base/abc/abcDfs.c
View file @
f1bc3468
...
...
@@ -1456,7 +1456,7 @@ int Abc_NtkLevel( Abc_Ntk_t * pNtk )
pNode
->
Level
=
0
;
else
Abc_NtkForEachCi
(
pNtk
,
pNode
,
i
)
pNode
->
Level
=
(
int
)(
Abc_
NodeReadArrivalWorst
(
pNode
)
/
pNtk
->
AndGateDelay
);
pNode
->
Level
=
(
int
)(
Abc_
MaxFloat
(
0
,
Abc_NodeReadArrivalWorst
(
pNode
)
)
/
pNtk
->
AndGateDelay
);
// perform the traversal
LevelsMax
=
0
;
Abc_NtkIncrementTravId
(
pNtk
);
...
...
src/base/abci/abcRefactor.c
View file @
f1bc3468
...
...
@@ -169,6 +169,8 @@ Dec_Graph_t * Abc_NodeRefactor( Abc_ManRef_t * p, Abc_Obj_t * pNode, Vec_Ptr_t *
clk
=
Abc_Clock
();
pTruth
=
Abc_NodeConeTruth
(
p
->
vVars
,
p
->
vFuncs
,
nWordsMax
,
pNode
,
vFanins
,
p
->
vVisited
);
p
->
timeTru
+=
Abc_Clock
()
-
clk
;
if
(
pTruth
==
NULL
)
return
NULL
;
// always accept the case of constant node
if
(
Abc_NodeConeIsConst0
(
pTruth
,
nVars
)
||
Abc_NodeConeIsConst1
(
pTruth
,
nVars
)
)
...
...
src/map/mio/mioFunc.c
View file @
f1bc3468
...
...
@@ -75,12 +75,13 @@ char * Mio_SopRegister( Mem_Flex_t * pMan, char * pName )
***********************************************************************/
int
Mio_GateCollectNames
(
char
*
pFormula
,
char
*
pPinNames
[]
)
{
char
Buffer
[
1000
]
;
char
*
Buffer
;
char
*
pTemp
;
int
nPins
,
i
;
// save the formula as it was
strcpy
(
Buffer
,
pFormula
);
//strcpy( Buffer, pFormula );
Buffer
=
Abc_UtilStrsav
(
pFormula
);
// remove the non-name symbols
for
(
pTemp
=
Buffer
;
*
pTemp
;
pTemp
++
)
...
...
@@ -106,6 +107,7 @@ int Mio_GateCollectNames( char * pFormula, char * pPinNames[] )
// get the next name
pTemp
=
strtok
(
NULL
,
" "
);
}
ABC_FREE
(
Buffer
);
return
nPins
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment