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
99ab99bf
Commit
99ab99bf
authored
Aug 05, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making &cec support the miter circuit.
parent
ddc574a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/base/abci/abc.c
+14
-0
No files found.
src/base/abci/abc.c
View file @
99ab99bf
...
...
@@ -37753,6 +37753,20 @@ int Abc_CommandAbc9Cec( Abc_Frame_t * pAbc, int argc, char ** argv )
Gia_Obj_t
*
pObj
;
int
i
;
if
(
!
pPars
->
fSilent
)
Abc_Print
(
1
,
"Assuming the current network is a single-output miter.
\n
"
);
if
(
fUseSim
)
{
abctime
clk
=
Abc_Clock
();
extern
int
Gia_ManCheckSimEquiv
(
Gia_Man_t
*
p
,
int
fVerbose
);
int
Status
=
Gia_ManCheckSimEquiv
(
pAbc
->
pGia
,
pPars
->
fVerbose
);
if
(
Status
==
1
)
Abc_Print
(
1
,
"Networks are equivalent. "
);
else
if
(
Status
==
0
)
Abc_Print
(
1
,
"Networks are NOT equivalent. "
);
else
Abc_Print
(
1
,
"Networks are UNDECIDED. "
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clk
);
return
0
;
}
// handle the case when the output is disproved by an all-0 primary input pattern
ABC_FREE
(
pAbc
->
pGia
->
pCexComb
);
Gia_ManSetPhase
(
pAbc
->
pGia
);
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