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
db1daf7b
Commit
db1daf7b
authored
Aug 24, 2016
by
Mathias Soeken
Browse files
Options
Browse Files
Download
Plain Diff
Merged alanmi/abc into default
parents
30b3a7ab
9ac7b05e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/base/abci/abcCollapse.c
+1
-1
src/base/abci/abcExact.c
+2
-2
No files found.
src/base/abci/abcCollapse.c
View file @
db1daf7b
...
...
@@ -922,7 +922,7 @@ Abc_Ntk_t * Abc_NtkFromSopsInt( Abc_Ntk_t * pNtk, int nCubeLim, int nBTLimit, in
vSupp
=
Vec_WecEntry
(
vSupps
,
i
);
Vec_IntForEachEntry
(
vSupp
,
iCi
,
k
)
Abc_ObjAddFanin
(
pNodeNew
,
Abc_NtkCi
(
pNtkNew
,
iCi
)
);
pNodeNew
->
pData
=
Abc_SopRegister
(
(
Mem_Flex_t
*
)
pNtkNew
->
pManFunc
,
Vec_PtrEntry
(
vSops
,
i
)
);
pNodeNew
->
pData
=
Abc_SopRegister
(
(
Mem_Flex_t
*
)
pNtkNew
->
pManFunc
,
(
const
char
*
)
Vec_PtrEntry
(
vSops
,
i
)
);
assert
(
pNodeNew
->
pData
!=
(
void
*
)(
ABC_PTRINT_T
)
1
);
Abc_ObjAddFanin
(
pNode
->
pCopy
,
pNodeNew
);
}
...
...
src/base/abci/abcExact.c
View file @
db1daf7b
...
...
@@ -1266,7 +1266,7 @@ static Gia_Man_t * Ses_ManExtractGia( char const * pSol )
{
nObj
=
Gia_ManAppendCi
(
pGia
);
Vec_IntPush
(
pGates
,
nObj
);
Vec_PtrSetEntry
(
pGia
->
vNamesIn
,
i
,
Extra_UtilStrsav
(
Vec_PtrEntry
(
vNames
,
i
)
)
);
Vec_PtrSetEntry
(
pGia
->
vNamesIn
,
i
,
Extra_UtilStrsav
(
(
const
char
*
)
Vec_PtrEntry
(
vNames
,
i
)
)
);
}
/* gates */
...
...
@@ -1308,7 +1308,7 @@ static Gia_Man_t * Ses_ManExtractGia( char const * pSol )
if
(
Abc_LitIsCompl
(
*
p
)
)
nObj
=
Abc_LitNot
(
nObj
);
Gia_ManAppendCo
(
pGia
,
nObj
);
Vec_PtrSetEntry
(
pGia
->
vNamesOut
,
h
,
Extra_UtilStrsav
(
Vec_PtrEntry
(
vNames
,
pSol
[
ABC_EXACT_SOL_NVARS
]
+
h
)
)
);
Vec_PtrSetEntry
(
pGia
->
vNamesOut
,
h
,
Extra_UtilStrsav
(
(
const
char
*
)
Vec_PtrEntry
(
vNames
,
pSol
[
ABC_EXACT_SOL_NVARS
]
+
h
)
)
);
p
+=
(
2
+
pSol
[
ABC_EXACT_SOL_NVARS
]
);
}
Abc_NodeFreeNames
(
vNames
);
...
...
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