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
24d9ce6b
Commit
24d9ce6b
authored
Dec 06, 2019
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Special case in Verilog parser.
parent
95a6aa28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
src/base/ver/verCore.c
+2
-0
src/base/ver/verStream.c
+18
-0
No files found.
src/base/ver/verCore.c
View file @
24d9ce6b
...
...
@@ -1329,6 +1329,7 @@ int Ver_ParseAssign( Ver_Man_t * pMan, Abc_Ntk_t * pNtk )
***********************************************************************/
int
Ver_ParseGateStandard
(
Ver_Man_t
*
pMan
,
Abc_Ntk_t
*
pNtk
,
Ver_GateType_t
GateType
)
{
extern
void
Ver_StreamMove
(
Ver_Stream_t
*
p
);
Ver_Stream_t
*
p
=
pMan
->
pReader
;
Abc_Obj_t
*
pNet
,
*
pNode
;
char
*
pWord
,
Symbol
;
...
...
@@ -1336,6 +1337,7 @@ int Ver_ParseGateStandard( Ver_Man_t * pMan, Abc_Ntk_t * pNtk, Ver_GateType_t Ga
// convert from the blackbox into the network with local functions representated by AIGs
if
(
!
Ver_ParseConvertNetwork
(
pMan
,
pNtk
,
pMan
->
fMapped
)
)
return
0
;
Ver_StreamMove
(
p
);
// this is gate name - throw it away
if
(
Ver_StreamPopChar
(
p
)
!=
'('
)
...
...
src/base/ver/verStream.c
View file @
24d9ce6b
...
...
@@ -441,6 +441,24 @@ char * Ver_StreamGetWord( Ver_Stream_t * p, char * pCharsToStop )
return
NULL
;
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void
Ver_StreamMove
(
Ver_Stream_t
*
p
)
{
if
(
!
strncmp
(
p
->
pBufferCur
+
1
,
"z_g_"
,
4
)
)
while
(
p
->
pBufferCur
[
0
]
!=
'('
)
p
->
pBufferCur
++
;
}
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////
...
...
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