Skip to content

demo: Silicon Live FPGA evidence TUI - #22

Draft
Th0rgal wants to merge 4 commits into
agent/add-ulx3s-lsc1-harnessfrom
demo/silicon-live-tui
Draft

demo: Silicon Live FPGA evidence TUI#22
Th0rgal wants to merge 4 commits into
agent/add-ulx3s-lsc1-harnessfrom
demo/silicon-live-tui

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Jul 26, 2026

Copy link
Copy Markdown
Member

Summary

Safety and scope

Exact starting base: bae5e4e3edaa5447210b66992466bddea6520394. All implementation and documentation paths are inside silicon_live/. The sole unavoidable exception is root SHA256SUMS: the repository CI requires its mechanically generated file manifest to include every new tracked file. It changes no runtime, protocol, RTL, or FPGA behavior. No hardware, JTAG, UART load, merge, rebase, or force-push.

Tests

72 passed, 1 skipped, 15 subtests passed in 11.98s

Visual evidence

  • silicon_live/docs/screenshots/01-initial-shell.svg
  • silicon_live/docs/screenshots/02-active-middle-step.svg
  • silicon_live/docs/screenshots/03-narrow-terminal.svg
  • silicon_live/docs/screenshots/04-prefix-match.svg
  • silicon_live/docs/VISUAL_QA.md

@Th0rgal

Th0rgal commented Jul 26, 2026

Copy link
Copy Markdown
Member Author

@codex review

Please perform a fresh review of exact head 6ee727a12ed69b075a7bd43d906db64e50879e5c. This remains a draft PR. Scope is visual polish under silicon_live/ only; no event semantics, replay results, runtime/protocol/FPGA behavior, or hardware operation changed.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6ee727a12e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread silicon_live/app.py
Comment on lines +208 to +209
term.update(f"[#80d98b b]PREFIX MATCH ✓[/] [#d7f4dc]expected execution prefix reproduced exactly[/]\n"
f"[#9aa3b2]evidence replay · no board[/] [#f0c36a]LIMITATION —[/] {ev.reason}")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Render failures instead of prefix-match success

When a compatible evidence file has a response or final-memory mismatch, Replay sets terminal to MISMATCH, but this branch unconditionally renders PREFIX MATCH ✓ and says the prefix was reproduced exactly. The error class does not correct the false result text, so failed evidence is presented as successful; render the success card only for the prefix-match terminal and show the actual failure otherwise.

Useful? React with 👍 / 👎.

Comment thread silicon_live/app.py
tag = "[on #5a451e #ffe2a1 b] READ [/]" if active and address in active.reads else (
"[on #214b2c #aaf5b4 b] WRITE[/]" if active and address in active.writes else " ")
exact = f"{value:032x}"
grouped = f"{exact[:8]} · {exact[8:16]} · {exact[-8:]}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore the omitted middle memory digits

For a compatible evidence file whose u128 cells have nonzero bits in the third eight-digit group, this formatting displays only exact[0:16] and exact[24:32], silently omitting exact[16:24]. Distinct 128-bit values can therefore appear identical in the panel labeled as exact; include all four eight-digit groups.

Useful? React with 👍 / 👎.

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