Skip to content

Add minimal Verilog frontend#40

Merged
rollrat merged 19 commits into
masterfrom
codex/verilog-frontend
May 25, 2026
Merged

Add minimal Verilog frontend#40
rollrat merged 19 commits into
masterfrom
codex/verilog-frontend

Conversation

@rollrat
Copy link
Copy Markdown
Member

@rollrat rollrat commented May 24, 2026

Summary

  • add a minimal Verilog frontend for assign-based combinational modules
  • lower parsed Verilog into LogicGraph, including simple bit-select flattening and named module instance inlining
  • wire .v CLI loading and tiny-circuit NBT export, with main flow simplified using early returns

Test Plan

  • cargo test --release
  • cargo test --release verilog::
  • cargo run --release --bin redstone-compiler -- test/half-adder.v
  • cargo run --release --bin redstone-compiler -- test/half-adder.v test/half-adder-generated-from-verilog.nbt

@rollrat rollrat force-pushed the codex/verilog-frontend branch 8 times, most recently from baa3d31 to 34a0894 Compare May 25, 2026 02:54
@rollrat rollrat force-pushed the codex/verilog-frontend branch from 34a0894 to 2124c30 Compare May 25, 2026 03:36
@rollrat rollrat marked this pull request as ready for review May 25, 2026 04:03
@rollrat rollrat merged commit cae8171 into master May 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant