-
Notifications
You must be signed in to change notification settings - Fork 1
GHDL download fails / wrong detection on Windows ARM → NullReferenceException crash #15
Description
When running OneWare Studio on Windows ARM (tested on a Snapdragon-based Windows tablet), GHDL cannot be downloaded via the built-in package manager. This leads to two major problems:
Package download always fails
The log shows that OWS tries to download GHDL from the package manager, even if a valid GHDL installation is already manually configured in the global settings.
GHDL execution path is ignored
Even with a working ghdl.exe configured (installed from the official GHDL repository — it runs fine standalone on Windows ARM), OneWare Studio still reports
“GHDL not found. Please set the path in the settings or (re)install it from the package manager.”
Tool invocation crashes OneWare Studio
Running e.g.
Right-click VHDL → GHDL → Convert to Verilog
causes a crash due to a NullReferenceException in GhdlService.SynthAsync():
System.NullReferenceException: Object reference not set to an instance of an object.
at OneWare.GhdlExtension.Services.GhdlService.SynthAsync(IProjectFile file, ...)
Expected Behavior
- OneWare Studio should use the configured external GHDL installation when present
- No attempt to download GHDL if the system/architecture is unsupported
- Tool invocation should never crash the IDE (error handling missing)
Actual Behavior
- GHDL package download fails (no ARM package available)
- Configured path is ignored
- Calling GHDL results in OneWare Studio crashing
System Information
| Component | Value |
|---|---|
| OneWare Version | 0.21.13.0 |
| OS | Windows 10 ARM64 |
| CPU | Snapdragon ARM |
| GHDL | Manual install from official repo — working standalone |