From a632fd4164ff18dd7e1ee563933c15ac58cc2810 Mon Sep 17 00:00:00 2001 From: Sebastian Wittlich Date: Thu, 26 Mar 2026 12:49:03 +0100 Subject: [PATCH] Add Release 1.0.3 and fix PreCompileStep for Verilog Toolchain --- Extension.md | 5 ++++- oneware-extension.json | 9 +++++++++ .../GhdlVhdlToVerilogPreCompileStep.cs | 2 +- src/OneWare.GhdlExtension/OneWare.GhdlExtension.csproj | 8 ++++---- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Extension.md b/Extension.md index 89dac5e..0f9af22 100644 --- a/Extension.md +++ b/Extension.md @@ -10,4 +10,7 @@ ### Use as Precompile Step to convert VHDL to Verilog -> Coming soon! +Simply select the yosys toolchain, and the VHDL code will be automatically +recognised and GHDL will be used. +However, this only works with the trial version of OneWare Studio. +It requires OneWare Studio version 1.0.14 or later. diff --git a/oneware-extension.json b/oneware-extension.json index f33c9a6..42ef401 100644 --- a/oneware-extension.json +++ b/oneware-extension.json @@ -147,6 +147,15 @@ "target": "all" } ] + }, + { + "version": "1.0.3", + "minStudioVersion": "1.0.0", + "targets": [ + { + "target": "all" + } + ] } ] } diff --git a/src/OneWare.GhdlExtension/GhdlVhdlToVerilogPreCompileStep.cs b/src/OneWare.GhdlExtension/GhdlVhdlToVerilogPreCompileStep.cs index e9d85da..f03c88a 100644 --- a/src/OneWare.GhdlExtension/GhdlVhdlToVerilogPreCompileStep.cs +++ b/src/OneWare.GhdlExtension/GhdlVhdlToVerilogPreCompileStep.cs @@ -16,7 +16,7 @@ public class GhdlVhdlToVerilogPreCompileStep(GhdlService ghdlService, ILogger lo public async Task PerformPreCompileStepAsync(UniversalFpgaProjectRoot project, FpgaModel fpga) { - if (project.TopEntity == null || !project.TopEntity.EndsWith(".vhd")) return false; + if (project.TopEntity == null || !project.TopEntity.EndsWith(".vhd")) return true; try { diff --git a/src/OneWare.GhdlExtension/OneWare.GhdlExtension.csproj b/src/OneWare.GhdlExtension/OneWare.GhdlExtension.csproj index 2440c43..21daa4c 100644 --- a/src/OneWare.GhdlExtension/OneWare.GhdlExtension.csproj +++ b/src/OneWare.GhdlExtension/OneWare.GhdlExtension.csproj @@ -1,7 +1,7 @@ - 1.0.2 + 1.0.3 net10.0 enable enable @@ -11,9 +11,9 @@ - - - + + +