diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-11 10:46:19 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-11 10:46:19 +0200 |
commit | 0a651f112fe62fdf86e4b288988a9ed9ac90068d (patch) | |
tree | 9dcbaf90568da099825d33241aaf131d1effa2f5 /frontends/vhdl2verilog | |
parent | 93e6ebe771c675280742adf6905298301575d0a7 (diff) | |
download | yosys-0a651f112fe62fdf86e4b288988a9ed9ac90068d.tar.gz yosys-0a651f112fe62fdf86e4b288988a9ed9ac90068d.tar.bz2 yosys-0a651f112fe62fdf86e4b288988a9ed9ac90068d.zip |
Disabled vhdl2verilog command for win32 builds
Diffstat (limited to 'frontends/vhdl2verilog')
-rw-r--r-- | frontends/vhdl2verilog/vhdl2verilog.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/vhdl2verilog/vhdl2verilog.cc b/frontends/vhdl2verilog/vhdl2verilog.cc index b408d621b..a8c411c7b 100644 --- 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; |