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
26b87c8c
Commit
26b87c8c
authored
Jan 06, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added warning when the network from file has no primary inputs.
parent
5a45a75d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/base/io/io.c
+5
-0
No files found.
src/base/io/io.c
View file @
26b87c8c
...
@@ -200,6 +200,11 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -200,6 +200,11 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
pNtk
=
Io_Read
(
pFileName
,
Io_ReadFileType
(
pFileName
),
fCheck
);
pNtk
=
Io_Read
(
pFileName
,
Io_ReadFileType
(
pFileName
),
fCheck
);
if
(
pNtk
==
NULL
)
if
(
pNtk
==
NULL
)
return
0
;
return
0
;
if
(
Abc_NtkPiNum
(
pNtk
)
==
0
)
{
Abc_Print
(
0
,
"The new network has no primary inputs. It is recommended
\n
"
);
Abc_Print
(
1
,
"to add a dummy PI to make sure all commands work correctly.
\n
"
);
}
// replace the current network
// replace the current network
Abc_FrameReplaceCurrentNetwork
(
pAbc
,
pNtk
);
Abc_FrameReplaceCurrentNetwork
(
pAbc
,
pNtk
);
Abc_FrameCopyLTLDataBase
(
pAbc
,
pNtk
);
Abc_FrameCopyLTLDataBase
(
pAbc
,
pNtk
);
...
...
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