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
f59de3de
Commit
f59de3de
authored
Sep 20, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to Verilog parser.
parent
723f85ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
src/base/abc/abc.h
+2
-2
src/base/io/io.c
+6
-0
src/base/ver/verCore.c
+1
-1
No files found.
src/base/abc/abc.h
View file @
f59de3de
...
@@ -192,8 +192,8 @@ struct Abc_Ntk_t_
...
@@ -192,8 +192,8 @@ struct Abc_Ntk_t_
int
iStep
;
// the generation number for the given network
int
iStep
;
// the generation number for the given network
// hierarchy
// hierarchy
Abc_Lib_t
*
pDesign
;
Abc_Lib_t
*
pDesign
;
short
fHieVisited
;
// flag to mark the visited network
int
fHieVisited
;
// flag to mark the visited network
short
fHiePath
;
// flag to mark the network on the path
int
fHiePath
;
// flag to mark the network on the path
int
Id
;
// model ID
int
Id
;
// model ID
double
dTemp
;
// temporary value
double
dTemp
;
// temporary value
// miscellaneous data members
// miscellaneous data members
...
...
src/base/io/io.c
View file @
f59de3de
...
@@ -197,6 +197,12 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -197,6 +197,12 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
for
(
pTemp
=
pFileName
;
*
pTemp
;
pTemp
++
)
for
(
pTemp
=
pFileName
;
*
pTemp
;
pTemp
++
)
if
(
*
pTemp
==
'>'
)
if
(
*
pTemp
==
'>'
)
*
pTemp
=
'\\'
;
*
pTemp
=
'\\'
;
// check if the library is available
if
(
glo_fMapped
&&
Abc_FrameReadLibGen
()
==
NULL
)
{
Abc_Print
(
1
,
"Cannot read mapped design when the library is not given.
\n
"
);
return
0
;
}
// read the file using the corresponding file reader
// read the file using the corresponding file reader
pNtk
=
Io_Read
(
pFileName
,
Io_ReadFileType
(
pFileName
),
fCheck
);
pNtk
=
Io_Read
(
pFileName
,
Io_ReadFileType
(
pFileName
),
fCheck
);
if
(
pNtk
==
NULL
)
if
(
pNtk
==
NULL
)
...
...
src/base/ver/verCore.c
View file @
f59de3de
...
@@ -2538,7 +2538,7 @@ int Ver_ParseDriveFormal( Ver_Man_t * pMan, Abc_Ntk_t * pNtk, Ver_Bundle_t * pBu
...
@@ -2538,7 +2538,7 @@ int Ver_ParseDriveFormal( Ver_Man_t * pMan, Abc_Ntk_t * pNtk, Ver_Bundle_t * pBu
Vec_PtrForEachEntry
(
Abc_Obj_t
*
,
pBundle
->
vNetsActual
,
pNetAct
,
m
)
Vec_PtrForEachEntry
(
Abc_Obj_t
*
,
pBundle
->
vNetsActual
,
pNetAct
,
m
)
if
(
Abc_ObjFaninNum
(
pNetAct
)
>
0
)
if
(
Abc_ObjFaninNum
(
pNetAct
)
>
0
)
{
{
sprintf
(
pMan
->
sError
,
"
Internal error while trying to connect undefined boxes. It is likely that the algorithm currently used has its limitations."
);
sprintf
(
pMan
->
sError
,
"
Missing specification of the I/Os of undefined box
\"
%s
\"
."
,
Abc_NtkName
(
pNtk
)
);
Ver_ParsePrintErrorMessage
(
pMan
);
Ver_ParsePrintErrorMessage
(
pMan
);
return
0
;
return
0
;
}
}
...
...
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