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
1afd156d
Commit
1afd156d
authored
Oct 07, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New command &stochsyn for stochastic synthesis.
parent
e56a7676
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
src/aig/gia/giaStoch.c
+0
-0
src/misc/vec/vecWec.h
+9
-0
No files found.
src/aig/gia/giaStoch.c
View file @
1afd156d
This diff is collapsed.
Click to expand it.
src/misc/vec/vecWec.h
View file @
1afd156d
...
@@ -303,6 +303,15 @@ static inline void Vec_WecPush( Vec_Wec_t * p, int Level, int Entry )
...
@@ -303,6 +303,15 @@ static inline void Vec_WecPush( Vec_Wec_t * p, int Level, int Entry )
}
}
Vec_IntPush
(
Vec_WecEntry
(
p
,
Level
),
Entry
);
Vec_IntPush
(
Vec_WecEntry
(
p
,
Level
),
Entry
);
}
}
static
inline
void
Vec_WecPushTwo
(
Vec_Wec_t
*
p
,
int
Level
,
int
Entry1
,
int
Entry2
)
{
if
(
p
->
nSize
<
Level
+
1
)
{
Vec_WecGrow
(
p
,
Abc_MaxInt
(
2
*
p
->
nSize
,
Level
+
1
)
);
p
->
nSize
=
Level
+
1
;
}
Vec_IntPushTwo
(
Vec_WecEntry
(
p
,
Level
),
Entry1
,
Entry2
);
}
static
inline
Vec_Int_t
*
Vec_WecPushLevel
(
Vec_Wec_t
*
p
)
static
inline
Vec_Int_t
*
Vec_WecPushLevel
(
Vec_Wec_t
*
p
)
{
{
if
(
p
->
nSize
==
p
->
nCap
)
if
(
p
->
nSize
==
p
->
nCap
)
...
...
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