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
8f5c823f
Unverified
Commit
8f5c823f
authored
Jul 07, 2022
by
Catherine
Committed by
GitHub
Jul 07, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17 from YosysHQ/wasi-wlnRtl
Add support for WASI platform in Wln_ConvertToRtl
parents
f159bef6
5f40c470
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/base/wln/wlnRtl.c
+4
-0
No files found.
src/base/wln/wlnRtl.c
View file @
8f5c823f
...
@@ -121,6 +121,9 @@ char * Wln_GetYosysName()
...
@@ -121,6 +121,9 @@ char * Wln_GetYosysName()
}
}
int
Wln_ConvertToRtl
(
char
*
pCommand
,
char
*
pFileTemp
)
int
Wln_ConvertToRtl
(
char
*
pCommand
,
char
*
pFileTemp
)
{
{
#if defined(__wasm)
return
0
;
#else
FILE
*
pFile
;
FILE
*
pFile
;
if
(
system
(
pCommand
)
==
-
1
)
if
(
system
(
pCommand
)
==
-
1
)
{
{
...
@@ -134,6 +137,7 @@ int Wln_ConvertToRtl( char * pCommand, char * pFileTemp )
...
@@ -134,6 +137,7 @@ int Wln_ConvertToRtl( char * pCommand, char * pFileTemp )
}
}
fclose
(
pFile
);
fclose
(
pFile
);
return
1
;
return
1
;
#endif
}
}
Rtl_Lib_t
*
Wln_ReadSystemVerilog
(
char
*
pFileName
,
char
*
pTopModule
,
int
fCollapse
,
int
fVerbose
)
Rtl_Lib_t
*
Wln_ReadSystemVerilog
(
char
*
pFileName
,
char
*
pTopModule
,
int
fCollapse
,
int
fVerbose
)
{
{
...
...
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