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
547de096
Unverified
Commit
547de096
authored
Apr 04, 2022
by
alanminko
Committed by
GitHub
Apr 04, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #145 from QuantamHD/fix_internal_pins
Fixes internal pin parsing error in ASAP7 liberty file.
parents
5405003a
f288c4d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/map/scl/sclLiberty.c
+5
-1
No files found.
src/map/scl/sclLiberty.c
View file @
547de096
...
@@ -955,6 +955,8 @@ int Scl_LibertyReadPinDirection( Scl_Tree_t * p, Scl_Item_t * pPin )
...
@@ -955,6 +955,8 @@ int Scl_LibertyReadPinDirection( Scl_Tree_t * p, Scl_Item_t * pPin )
return
0
;
return
0
;
if
(
!
strcmp
(
pToken
,
"output"
)
)
if
(
!
strcmp
(
pToken
,
"output"
)
)
return
1
;
return
1
;
if
(
!
strcmp
(
pToken
,
"internal"
)
)
return
2
;
break
;
break
;
}
}
return
-
1
;
return
-
1
;
...
@@ -1525,7 +1527,7 @@ Vec_Str_t * Scl_LibertyReadSclStr( Scl_Tree_t * p, int fVerbose, int fVeryVerbos
...
@@ -1525,7 +1527,7 @@ Vec_Str_t * Scl_LibertyReadSclStr( Scl_Tree_t * p, int fVerbose, int fVeryVerbos
float
CapOne
,
CapRise
,
CapFall
;
float
CapOne
,
CapRise
,
CapFall
;
if
(
Scl_LibertyReadPinFormula
(
p
,
pPin
)
!=
NULL
)
// skip output pin
if
(
Scl_LibertyReadPinFormula
(
p
,
pPin
)
!=
NULL
)
// skip output pin
continue
;
continue
;
assert
(
Scl_LibertyReadPinDirection
(
p
,
pPin
)
==
0
);
assert
(
Scl_LibertyReadPinDirection
(
p
,
pPin
)
==
0
||
Scl_LibertyReadPinDirection
(
p
,
pPin
)
==
2
);
pName
=
Scl_LibertyReadString
(
p
,
pPin
->
Head
);
pName
=
Scl_LibertyReadString
(
p
,
pPin
->
Head
);
Vec_PtrPush
(
vNameIns
,
Abc_UtilStrsav
(
pName
)
);
Vec_PtrPush
(
vNameIns
,
Abc_UtilStrsav
(
pName
)
);
Vec_StrPutS_
(
vOut
,
pName
);
Vec_StrPutS_
(
vOut
,
pName
);
...
@@ -1546,6 +1548,8 @@ Vec_Str_t * Scl_LibertyReadSclStr( Scl_Tree_t * p, int fVerbose, int fVeryVerbos
...
@@ -1546,6 +1548,8 @@ Vec_Str_t * Scl_LibertyReadSclStr( Scl_Tree_t * p, int fVerbose, int fVeryVerbos
{
{
if
(
!
Scl_LibertyReadPinFormula
(
p
,
pPin
)
)
// skip input pin
if
(
!
Scl_LibertyReadPinFormula
(
p
,
pPin
)
)
// skip input pin
continue
;
continue
;
if
(
Scl_LibertyReadPinDirection
(
p
,
pPin
)
==
2
)
// skip internal pin
continue
;
assert
(
Scl_LibertyReadPinDirection
(
p
,
pPin
)
==
1
);
assert
(
Scl_LibertyReadPinDirection
(
p
,
pPin
)
==
1
);
pName
=
Scl_LibertyReadString
(
p
,
pPin
->
Head
);
pName
=
Scl_LibertyReadString
(
p
,
pPin
->
Head
);
Vec_StrPutS_
(
vOut
,
pName
);
Vec_StrPutS_
(
vOut
,
pName
);
...
...
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