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
508565ff
Commit
508565ff
authored
Mar 10, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a warning when the current network or AIG has no POs.
parent
716b8cc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/base/abci/abc.c
+2
-0
src/base/main/mainFrame.c
+3
-0
No files found.
src/base/abci/abc.c
View file @
508565ff
...
...
@@ -575,6 +575,8 @@ void Abc_FrameUpdateGia( Abc_Frame_t * pAbc, Gia_Man_t * pNew )
Abc_Print
(
-
1
,
"Abc_FrameUpdateGia(): Tranformation has failed.
\n
"
);
return
;
}
if
(
Gia_ManPoNum
(
pNew
)
==
0
)
Abc_Print
(
0
,
"The current GIA has no primary outputs. Some commands may not work correctly.
\n
"
);
if
(
pNew
==
pAbc
->
pGia
)
return
;
// transfer names
src/base/main/mainFrame.c
View file @
508565ff
...
...
@@ -494,6 +494,9 @@ void Abc_FrameReplaceCurrentNetwork( Abc_Frame_t * p, Abc_Ntk_t * pNtk )
if
(
pNtk
==
NULL
)
return
;
if
(
Abc_NtkPoNum
(
pNtk
)
==
0
)
Abc_Print
(
0
,
"The current network has no primary outputs. Some commands may not work correctly.
\n
"
);
// transfer the parameters to the new network
if
(
p
->
pNtkCur
&&
Abc_FrameIsFlagEnabled
(
"backup"
)
)
{
...
...
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