Skip to content

Fix EJTAG UART plain Verilog lint compatibility#18

Merged
lcapossio merged 1 commit into
mainfrom
fix/ejtaguart-verilog-block-decls
May 15, 2026
Merged

Fix EJTAG UART plain Verilog lint compatibility#18
lcapossio merged 1 commit into
mainfrom
fix/ejtaguart-verilog-block-decls

Conversation

@lcapossio

Copy link
Copy Markdown
Owner

Summary

  • Move EJTAG UART baud-check scratch declarations out of an unnamed procedural block so the RTL parses as plain Verilog.
  • Change the RTL lint pass from iverilog -g2012 to iverilog -g2001 so CI catches SystemVerilog-only constructs in .v files.

Validation

  • python tools\sync_version.py --check
  • ruff check .
  • fcapz --help
  • python sim\run_sim.py --lint-only
  • python sim\run_sim.py
  • python -m pytest tests\ -v --tb=short
  • wsl -e bash -lc "cd /mnt/c/Projects/fpgacapZero && python3 sim/run_verilator_lint.py --self-test"

Verilator lint passed for 37 RTL targets and confirmed the intentional MULTIDRIVEN self-test.

@lcapossio lcapossio merged commit f4fe4e9 into main May 15, 2026
7 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