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
fd5b7e8b
Commit
fd5b7e8b
authored
Jul 08, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in programmable cell parser and minor tuning.
parent
609be7a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/base/abci/abc.c
+2
-1
src/map/if/ifTune.c
+2
-1
No files found.
src/base/abci/abc.c
View file @
fd5b7e8b
...
@@ -29234,6 +29234,7 @@ int Abc_CommandAbc9Synch2( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -29234,6 +29234,7 @@ int Abc_CommandAbc9Synch2( Abc_Frame_t * pAbc, int argc, char ** argv )
int
nRelaxRatio
=
20
;
int
nRelaxRatio
=
20
;
// set defaults
// set defaults
Dch_ManSetDefaultParams
(
pPars
);
Dch_ManSetDefaultParams
(
pPars
);
pPars
->
nBTLimit
=
100
;
Extra_UtilGetoptReset
();
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"WCSKRfvh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"WCSKRfvh"
)
)
!=
EOF
)
{
{
...
@@ -31259,7 +31260,7 @@ usage:
...
@@ -31259,7 +31260,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-s : toggle using sequential verification [default = %s]
\n
"
,
fSeq
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-s : toggle using sequential verification [default = %s]
\n
"
,
fSeq
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-v : toggle verbose output [default = %s]
\n
"
,
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-v : toggle verbose output [default = %s]
\n
"
,
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-h : print the command usage
\n
"
);
Abc_Print
(
-
2
,
"
\t
-h : print the command usage
\n
"
);
Abc_Print
(
-
2
,
"
\t
<file> : optional file name with the spec [default = not used
\n
"
);
Abc_Print
(
-
2
,
"
\t
<file> : optional file name with the spec [default = not used
]
\n
"
);
return
1
;
return
1
;
}
}
src/map/if/ifTune.c
View file @
fd5b7e8b
...
@@ -73,7 +73,7 @@ struct Ifn_Ntk_t_
...
@@ -73,7 +73,7 @@ struct Ifn_Ntk_t_
int
nObjs
;
// objects
int
nObjs
;
// objects
Ifn_Obj_t
Nodes
[
2
*
IFN_INS
];
// nodes
Ifn_Obj_t
Nodes
[
2
*
IFN_INS
];
// nodes
// constraints
// constraints
int
pConstr
[
IFN_INS
];
// constraint pairs
int
pConstr
[
IFN_INS
*
IFN_INS
];
// constraint pairs
int
nConstr
;
// number of pairs
int
nConstr
;
// number of pairs
// user data
// user data
int
nVars
;
// variables
int
nVars
;
// variables
...
@@ -429,6 +429,7 @@ void Ifn_NtkParseConstraints( char * pStr, Ifn_Ntk_t * p )
...
@@ -429,6 +429,7 @@ void Ifn_NtkParseConstraints( char * pStr, Ifn_Ntk_t * p )
for
(
k
=
0
;
pStr
[
k
];
k
++
)
for
(
k
=
0
;
pStr
[
k
];
k
++
)
if
(
pStr
[
k
]
==
'A'
+
i
&&
pStr
[
k
-
1
]
==
';'
)
if
(
pStr
[
k
]
==
'A'
+
i
&&
pStr
[
k
-
1
]
==
';'
)
{
{
assert
(
p
->
nConstr
<
IFN_INS
*
IFN_INS
);
p
->
pConstr
[
p
->
nConstr
++
]
=
((
int
)(
pStr
[
k
]
-
'A'
)
<<
16
)
|
(
int
)(
pStr
[
k
+
1
]
-
'A'
);
p
->
pConstr
[
p
->
nConstr
++
]
=
((
int
)(
pStr
[
k
]
-
'A'
)
<<
16
)
|
(
int
)(
pStr
[
k
+
1
]
-
'A'
);
// printf( "Added constraint (%c < %c)\n", pStr[k], pStr[k+1] );
// printf( "Added constraint (%c < %c)\n", pStr[k], pStr[k+1] );
}
}
...
...
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