projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e6ebe
)
Disabled vhdl2verilog command for win32 builds
author
Clifford Wolf
<clifford@clifford.at>
Sat, 11 Oct 2014 08:46:19 +0000
(10:46 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 11 Oct 2014 08:46:19 +0000
(10:46 +0200)
frontends/vhdl2verilog/vhdl2verilog.cc
patch
|
blob
|
history
diff --git
a/frontends/vhdl2verilog/vhdl2verilog.cc
b/frontends/vhdl2verilog/vhdl2verilog.cc
index b408d621bb12998c13c86363a8825188749774dd..a8c411c7b000ec1ac35574b0efe9ae2eaf89b53d 100644
(file)
--- a/
frontends/vhdl2verilog/vhdl2verilog.cc
+++ b/
frontends/vhdl2verilog/vhdl2verilog.cc
@@
-120,6
+120,10
@@
struct Vhdl2verilogPass : public Pass {
if (top_entity.empty())
log_cmd_error("Missing -top option.\n");
+#ifdef _WIN32
+ #warning Fixme: The vhdl2veriog command has not been ported to win32.
+ log_cmd_error("The vhdl2veriog command has not been ported to win32.\n");
+#else
char tempdir_name[] = "/tmp/yosys-vhdl2verilog-XXXXXX";
char *p = mkdtemp(tempdir_name);
log("Using temp directory %s.\n", tempdir_name);
@@
-189,6
+193,7
@@
struct Vhdl2verilogPass : public Pass {
log_error("Execution of \"rm -rf '%s'\" failed!\n", tempdir_name);
log_pop();
+#endif
}
} Vhdl2verilogPass;