Update vivado.py
authorWilliam D. Jones <thor0505@comcast.net>
Tue, 30 Oct 2018 03:43:32 +0000 (23:43 -0400)
committerGitHub <noreply@github.com>
Tue, 30 Oct 2018 03:43:32 +0000 (23:43 -0400)
Fix regression which caused Vivado to not be run at all.

litex/build/xilinx/vivado.py

index 115fd8fa5249d51b716637a69276603348dbdab9..a1f94d9fb3a767dd71faf579c5f84f67a173bc07 100644 (file)
@@ -243,11 +243,8 @@ class XilinxVivadoToolchain:
         if run:
             if synth_mode == "yosys":
                 common._run_yosys(platform.device, sources, platform.verilog_include_paths, build_name)
-            else:
-                raise OSError("Error!")
             _run_vivado(build_name, toolchain_path, source)
 
-
         os.chdir(cwd)
 
         return v_output.ns