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
adb3044f
Commit
adb3044f
authored
Feb 17, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Python API n_area() to report area after standard cell mapping.
parent
2140c129
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/python/pyabc.i
+14
-0
No files found.
src/python/pyabc.i
View file @
adb3044f
...
...
@@ -115,6 +115,19 @@ int n_levels()
return -1;
}
double n_area()
{
Abc_Frame_t* pAbc = Abc_FrameGetGlobalFrame();
Abc_Ntk_t * pNtk = Abc_FrameReadNtk(pAbc);
if ( pNtk && Abc_NtkHasMapping(pNtk) )
{
return Abc_NtkGetMappedArea(pNtk);
}
return -1;
}
int has_comb_model()
{
Abc_Frame_t* pAbc = Abc_FrameGetGlobalFrame();
...
...
@@ -660,6 +673,7 @@ int n_pis();
int n_pos();
int n_latches();
int n_levels();
double n_area();
int run_command(char* cmd);
...
...
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