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
947eeb95
Commit
947eeb95
authored
Sep 28, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Memory leaks.
parent
41c937e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/aig/gia/giaIf.c
+1
-0
src/aig/gia/giaScript.c
+3
-0
No files found.
src/aig/gia/giaIf.c
View file @
947eeb95
...
@@ -1987,6 +1987,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
...
@@ -1987,6 +1987,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
pFile
=
fopen
(
Buffer
,
"wb"
);
pFile
=
fopen
(
Buffer
,
"wb"
);
if
(
pFile
==
NULL
)
if
(
pFile
==
NULL
)
{
{
Vec_StrFree
(
vConfigsStr
);
printf
(
"Cannot open file
\"
%s
\"
.
\n
"
,
Buffer
);
printf
(
"Cannot open file
\"
%s
\"
.
\n
"
,
Buffer
);
return
pNew
;
return
pNew
;
}
}
...
...
src/aig/gia/giaScript.c
View file @
947eeb95
...
@@ -91,6 +91,7 @@ Gia_Man_t * Gia_ManAigSyn2( Gia_Man_t * pInit, int fOldAlgo, int fCoarsen, int f
...
@@ -91,6 +91,7 @@ Gia_Man_t * Gia_ManAigSyn2( Gia_Man_t * pInit, int fOldAlgo, int fCoarsen, int f
{
{
pNew
=
Gia_ManDup
(
p
);
pNew
=
Gia_ManDup
(
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
Gia_ManStop
(
p
);
return
pNew
;
return
pNew
;
}
}
// delay optimization
// delay optimization
...
@@ -164,6 +165,7 @@ Gia_Man_t * Gia_ManAigSyn3( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
...
@@ -164,6 +165,7 @@ Gia_Man_t * Gia_ManAigSyn3( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
{
{
pNew
=
Gia_ManDup
(
p
);
pNew
=
Gia_ManDup
(
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
Gia_ManStop
(
p
);
return
pNew
;
return
pNew
;
}
}
// perform balancing
// perform balancing
...
@@ -200,6 +202,7 @@ Gia_Man_t * Gia_ManAigSyn4( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
...
@@ -200,6 +202,7 @@ Gia_Man_t * Gia_ManAigSyn4( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
{
{
pNew
=
Gia_ManDup
(
p
);
pNew
=
Gia_ManDup
(
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
Gia_ManStop
(
p
);
return
pNew
;
return
pNew
;
}
}
//Gia_ManAigPrintPiLevels( p );
//Gia_ManAigPrintPiLevels( p );
...
...
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