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
3f77172a
Commit
3f77172a
authored
Sep 24, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding API to set the number of flops after reading MiniAIG.
parent
f1bc3468
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
src/aig/miniaig/abcapis.h
+1
-0
src/base/abci/abcMini.c
+11
-1
No files found.
src/aig/miniaig/abcapis.h
View file @
3f77172a
...
...
@@ -52,6 +52,7 @@ extern int Cmd_CommandExecute( void * pAbc, char * pCommandLine );
// procedures to input/output 'mini AIG'
extern
void
Abc_NtkInputMiniAig
(
void
*
pAbc
,
void
*
pMiniAig
);
extern
void
*
Abc_NtkOutputMiniAig
(
void
*
pAbc
);
extern
void
Abc_NtkSetFlopNum
(
void
*
pAbc
,
int
nFlops
);
// procedures to set CI/CO arrival/required times
extern
void
Abc_NtkSetCiArrivalTime
(
void
*
pAbc
,
int
iCi
,
float
Rise
,
float
Fall
);
...
...
src/base/abci/abcMini.c
View file @
3f77172a
...
...
@@ -175,7 +175,17 @@ void * Abc_NtkOutputMiniAig( Abc_Frame_t * pAbc )
printf
(
"Current network in ABC framework is not defined.
\n
"
);
return
Abc_NtkToMiniAig
(
pNtk
);
}
void
Abc_NtkSetFlopNum
(
Abc_Frame_t
*
pAbc
,
int
nFlops
)
{
extern
void
Abc_NtkMakeSeq
(
Abc_Ntk_t
*
pNtk
,
int
nFlops
);
Abc_Ntk_t
*
pNtk
;
if
(
pAbc
==
NULL
)
printf
(
"ABC framework is not initialized by calling Abc_Start()
\n
"
);
pNtk
=
Abc_FrameReadNtk
(
pAbc
);
if
(
pNtk
==
NULL
)
printf
(
"Current network in ABC framework is not defined.
\n
"
);
Abc_NtkMakeSeq
(
pNtk
,
nFlops
);
}
/**Function*************************************************************
...
...
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