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
dfa34cc2
Commit
dfa34cc2
authored
Nov 30, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabling choices when they are computed incorrectly.
parent
f26ea1ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/base/abc/abcCheck.c
+4
-1
src/base/abci/abcDar.c
+5
-1
No files found.
src/base/abc/abcCheck.c
View file @
dfa34cc2
...
...
@@ -177,7 +177,10 @@ int Abc_NtkDoCheck( Abc_Ntk_t * pNtk )
// check the nodes
if
(
Abc_NtkIsStrash
(
pNtk
)
)
Abc_AigCheck
(
(
Abc_Aig_t
*
)
pNtk
->
pManFunc
);
{
if
(
!
Abc_AigCheck
(
(
Abc_Aig_t
*
)
pNtk
->
pManFunc
)
)
return
0
;
}
else
{
Abc_NtkForEachNode
(
pNtk
,
pNode
,
i
)
...
...
src/base/abci/abcDar.c
View file @
dfa34cc2
...
...
@@ -1204,7 +1204,11 @@ Abc_Ntk_t * Abc_NtkFromDarChoices( Abc_Ntk_t * pNtkOld, Aig_Man_t * pMan )
Aig_ManForEachCo
(
pMan
,
pObj
,
i
)
Abc_ObjAddFanin
(
Abc_NtkCo
(
pNtkNew
,
i
),
(
Abc_Obj_t
*
)
Aig_ObjChild0Copy
(
pObj
)
);
if
(
!
Abc_NtkCheck
(
pNtkNew
)
)
Abc_Print
(
1
,
"Abc_NtkFromDar(): Network check has failed.
\n
"
);
{
Abc_Print
(
1
,
"Abc_NtkFromDar(): Network check has failed. Returning original network.
\n
"
);
Abc_NtkDelete
(
pNtkNew
);
pNtkNew
=
Abc_NtkDup
(
pNtkOld
);
}
// verify topological order
if
(
0
)
...
...
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