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
37b6b5f1
Commit
37b6b5f1
authored
May 14, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making sure 0-input LUTs are supported by the DSD matching code.
parent
a39ef307
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/base/abc/abcHieCec.c
+1
-1
src/base/abc/abcHieNew.c
+1
-1
src/map/if/ifTune.c
+5
-5
No files found.
src/base/abc/abcHieCec.c
View file @
37b6b5f1
...
...
@@ -642,7 +642,7 @@ int Abc_NtkCheckRecursive( Abc_Ntk_t * pNtk )
Abc_NtkForEachObj
(
pModel
,
pObj
,
k
)
if
(
Abc_ObjIsBox
(
pObj
)
&&
pObj
->
pData
==
(
void
*
)
pModel
)
{
printf
(
"WARNING: Model
\"
%s
\"
contains a recursive defition.
\n
"
,
Abc_NtkName
(
pModel
)
);
printf
(
"WARNING: Model
\"
%s
\"
contains a recursive defi
ni
tion.
\n
"
,
Abc_NtkName
(
pModel
)
);
RetValue
=
1
;
break
;
}
...
...
src/base/abc/abcHieNew.c
View file @
37b6b5f1
...
...
@@ -676,7 +676,7 @@ int Au_NtkCheckRecursive( Au_Ntk_t * pNtk )
Au_NtkForEachObj
(
pModel
,
pObj
,
k
)
if
(
Au_ObjIsBox
(
pObj
)
&&
Au_ObjModel
(
pObj
)
==
pModel
)
{
printf
(
"WARNING: Model
\"
%s
\"
contains a recursive defition.
\n
"
,
Au_NtkName
(
pModel
)
);
printf
(
"WARNING: Model
\"
%s
\"
contains a recursive defi
ni
tion.
\n
"
,
Au_NtkName
(
pModel
)
);
RetValue
=
1
;
break
;
}
...
...
src/map/if/ifTune.c
View file @
37b6b5f1
...
...
@@ -400,15 +400,15 @@ int Ifn_NtkParseInt2( char * pStr, Ifn_Ntk_t * p )
else
if
(
pStr
[
k
+
2
]
==
'{'
)
p
->
Nodes
[
i
].
Type
=
IFN_DSD_PRIME
,
Next
=
'}'
;
else
return
Ifn_ErrorMessage
(
"Cannot find openning operation symbol in the defi
tion of
of signal
\'
%c
\'
.
\n
"
,
'a'
+
i
);
return
Ifn_ErrorMessage
(
"Cannot find openning operation symbol in the defi
nition
of signal
\'
%c
\'
.
\n
"
,
'a'
+
i
);
for
(
n
=
k
+
3
;
pStr
[
n
];
n
++
)
if
(
pStr
[
n
]
==
Next
)
break
;
if
(
pStr
[
n
]
==
0
)
return
Ifn_ErrorMessage
(
"Cannot find closing operation symbol in the defi
tion of
of signal
\'
%c
\'
.
\n
"
,
'a'
+
i
);
return
Ifn_ErrorMessage
(
"Cannot find closing operation symbol in the defi
nition
of signal
\'
%c
\'
.
\n
"
,
'a'
+
i
);
nFans
=
n
-
k
-
3
;
if
(
nFans
<
1
||
nFans
>
8
)
return
Ifn_ErrorMessage
(
"Cannot find matching operation symbol in the defi
tion of
of signal
\'
%c
\'
.
\n
"
,
'a'
+
i
);
if
(
nFans
>
8
)
return
Ifn_ErrorMessage
(
"Cannot find matching operation symbol in the defi
nition
of signal
\'
%c
\'
.
\n
"
,
'a'
+
i
);
for
(
f
=
0
;
f
<
nFans
;
f
++
)
{
iFan
=
pStr
[
k
+
3
+
f
]
-
'a'
;
...
...
@@ -524,7 +524,7 @@ Gia_Man_t * Ifn_ManStrFindModel( Ifn_Ntk_t * p )
{
int
n
,
Step
,
pVarsData
[
256
];
int
nMints
=
(
1
<<
nFans
);
assert
(
nFans
>=
1
&&
nFans
<=
8
);
assert
(
nFans
>=
0
&&
nFans
<=
8
);
for
(
k
=
0
;
k
<
nMints
;
k
++
)
pVarsData
[
k
]
=
pVarMap
[
iFanin
+
k
];
for
(
Step
=
1
,
k
=
0
;
k
<
nFans
;
k
++
,
Step
<<=
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