mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-06 09:00:54 +00:00
WASI now support filesystem
This commit is contained in:
parent
d7093743b8
commit
5f2456ac03
2 changed files with 0 additions and 10 deletions
|
|
@ -4621,11 +4621,7 @@ struct ReadPass : public Pass {
|
|||
if (use_verific) {
|
||||
args[0] = "verific";
|
||||
} else {
|
||||
#if !defined(__wasm)
|
||||
args[0] = "read_verilog_file_list";
|
||||
#else
|
||||
cmd_error(args, 1, "Command files are not supported on this platform.\n");
|
||||
#endif
|
||||
}
|
||||
Pass::call(design, args);
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -26,9 +26,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#if !defined(__wasm)
|
||||
#include <filesystem>
|
||||
#endif
|
||||
|
||||
#include "verilog_frontend.h"
|
||||
#include "verilog_lexer.h"
|
||||
|
|
@ -709,8 +707,6 @@ struct VerilogDefines : public Pass {
|
|||
}
|
||||
} VerilogDefines;
|
||||
|
||||
#if !defined(__wasm)
|
||||
|
||||
static void parse_file_list(const std::string &file_list_path, RTLIL::Design *design, bool relative_to_file_list_path)
|
||||
{
|
||||
std::ifstream flist(file_list_path);
|
||||
|
|
@ -790,6 +786,4 @@ struct VerilogFileList : public Pass {
|
|||
}
|
||||
} VerilogFilelist;
|
||||
|
||||
#endif
|
||||
|
||||
YOSYS_NAMESPACE_END
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue