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
b46749de
Commit
b46749de
authored
Mar 09, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the bug in Gia_ManRo/Gia_ManRo.
parent
6a48812d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/aig/gia/gia.h
+2
-2
No files found.
src/aig/gia/gia.h
View file @
b46749de
...
@@ -296,8 +296,8 @@ static inline Gia_Obj_t * Gia_ManCi( Gia_Man_t * p, int v ) { return Gia_ManO
...
@@ -296,8 +296,8 @@ static inline Gia_Obj_t * Gia_ManCi( Gia_Man_t * p, int v ) { return Gia_ManO
static
inline
Gia_Obj_t
*
Gia_ManCo
(
Gia_Man_t
*
p
,
int
v
)
{
return
Gia_ManObj
(
p
,
Vec_IntEntry
(
p
->
vCos
,
v
)
);
}
static
inline
Gia_Obj_t
*
Gia_ManCo
(
Gia_Man_t
*
p
,
int
v
)
{
return
Gia_ManObj
(
p
,
Vec_IntEntry
(
p
->
vCos
,
v
)
);
}
static
inline
Gia_Obj_t
*
Gia_ManPi
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManPiNum
(
p
)
);
return
Gia_ManCi
(
p
,
v
);
}
static
inline
Gia_Obj_t
*
Gia_ManPi
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManPiNum
(
p
)
);
return
Gia_ManCi
(
p
,
v
);
}
static
inline
Gia_Obj_t
*
Gia_ManPo
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManPoNum
(
p
)
);
return
Gia_ManCo
(
p
,
v
);
}
static
inline
Gia_Obj_t
*
Gia_ManPo
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManPoNum
(
p
)
);
return
Gia_ManCo
(
p
,
v
);
}
static
inline
Gia_Obj_t
*
Gia_ManRo
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManRegNum
(
p
)
);
return
Gia_ManCi
(
p
,
Gia_Man
Reg
Num
(
p
)
+
v
);
}
static
inline
Gia_Obj_t
*
Gia_ManRo
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManRegNum
(
p
)
);
return
Gia_ManCi
(
p
,
Gia_Man
Pi
Num
(
p
)
+
v
);
}
static
inline
Gia_Obj_t
*
Gia_ManRi
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManRegNum
(
p
)
);
return
Gia_ManCo
(
p
,
Gia_Man
Reg
Num
(
p
)
+
v
);
}
static
inline
Gia_Obj_t
*
Gia_ManRi
(
Gia_Man_t
*
p
,
int
v
)
{
assert
(
v
<
Gia_ManRegNum
(
p
)
);
return
Gia_ManCo
(
p
,
Gia_Man
Po
Num
(
p
)
+
v
);
}
static
inline
int
Gia_ObjIsTerm
(
Gia_Obj_t
*
pObj
)
{
return
pObj
->
fTerm
;
}
static
inline
int
Gia_ObjIsTerm
(
Gia_Obj_t
*
pObj
)
{
return
pObj
->
fTerm
;
}
static
inline
int
Gia_ObjIsAndOrConst0
(
Gia_Obj_t
*
pObj
)
{
return
!
pObj
->
fTerm
;
}
static
inline
int
Gia_ObjIsAndOrConst0
(
Gia_Obj_t
*
pObj
)
{
return
!
pObj
->
fTerm
;
}
...
...
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