Skip to content

Commit 01d1406

Browse files
authored
Merge pull request #28 from FEntwumS/prepare/release-1.0.3
Add Release 1.0.3 and fix PreCompileStep for Verilog Toolchain
2 parents 2e4bb8b + a632fd4 commit 01d1406

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

Extension.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@
1010

1111
### Use as Precompile Step to convert VHDL to Verilog
1212

13-
> Coming soon!
13+
Simply select the yosys toolchain, and the VHDL code will be automatically
14+
recognised and GHDL will be used.
15+
However, this only works with the trial version of OneWare Studio.
16+
It requires OneWare Studio version 1.0.14 or later.

oneware-extension.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@
147147
"target": "all"
148148
}
149149
]
150+
},
151+
{
152+
"version": "1.0.3",
153+
"minStudioVersion": "1.0.0",
154+
"targets": [
155+
{
156+
"target": "all"
157+
}
158+
]
150159
}
151160
]
152161
}

src/OneWare.GhdlExtension/GhdlVhdlToVerilogPreCompileStep.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class GhdlVhdlToVerilogPreCompileStep(GhdlService ghdlService, ILogger lo
1616

1717
public async Task<bool> PerformPreCompileStepAsync(UniversalFpgaProjectRoot project, FpgaModel fpga)
1818
{
19-
if (project.TopEntity == null || !project.TopEntity.EndsWith(".vhd")) return false;
19+
if (project.TopEntity == null || !project.TopEntity.EndsWith(".vhd")) return true;
2020

2121
try
2222
{

src/OneWare.GhdlExtension/OneWare.GhdlExtension.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>1.0.2</Version>
4+
<Version>1.0.3</Version>
55
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
@@ -11,9 +11,9 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="OneWare.Essentials" Version="1.0.3" Private="false" ExcludeAssets="runtime;Native" />
15-
<PackageReference Include="OneWare.UniversalFpgaProjectSystem" Version="1.0.3" Private="false" ExcludeAssets="runtime;Native" />
16-
<PackageReference Include="OneWare.OssCadSuiteIntegration" Version="1.0.3" Private="true" ExcludeAssets="runtime;Native" />
14+
<PackageReference Include="OneWare.Essentials" Version="1.0.10" Private="false" ExcludeAssets="runtime;Native" />
15+
<PackageReference Include="OneWare.UniversalFpgaProjectSystem" Version="1.0.10" Private="false" ExcludeAssets="runtime;Native" />
16+
<PackageReference Include="OneWare.OssCadSuiteIntegration" Version="1.0.10" Private="true" ExcludeAssets="runtime;Native" />
1717
</ItemGroup>
1818

1919
<Target Name="GenerateCompatibilityFile" AfterTargets="Build">

0 commit comments

Comments
 (0)