Skip to content

Mira Graphical 0.9.3 - signed ALU expressions

Pre-release
Pre-release

Choose a tag to compare

@Lithium357 Lithium357 released this 24 Oct 23:18

Mira Graphical 0.9.3 fixes the reported ALU failing to load at $signed(...).

  • Supports $signed, $unsigned, >>>, and signed comparison/extension rules in the bounded Verilog/SystemVerilog expression subset.
  • Casts render as single-input components and survive rewiring, clipboard operations, guarded patches and native VS Code Undo.
  • Preserves independent signedness and unknown-condition behavior in SystemVerilog procedural if copies; supports === and !== for known/unknown pattern comparisons.
  • Flags arithmetic right shifts that are coerced to unsigned and therefore zero-fill.

Install Mira-Graphical-Setup-0.9.3-x64.exe and update the bundled VS Code companion through Setup help > Show VS Code extension. Both sides need the updated parser for guarded graph edits. The installer remains unsigned and checks an existing Mira installation before replacing it.

For the reported unsigned ternary ALU chain, use this arm when sign fill is intended:

(opcode == 4'b0111) ? $unsigned($signed(OPc) >>> OPd) :

The outer $unsigned freezes the signed shift result before the unsigned mux context can coerce it. The app follows Verilog behavior and does not rewrite source automatically. Signed net declarations, signed based literals and general system functions remain outside this release's documented subset.

Validation: full unit and three-language soak checks, 11,234 Icarus output comparisons, actual Windows desktop/packaged runtime, installer upgrades and source/installed VS Code companion checks.
Source revision: 793b80c
CI: https://github.com/Lithium357/Mira-Graphical/actions/runs/40141291972

The exact corresponding source, build manifest and SHA256SUMS accompany the installer.