
Revision: triplicated synchronous command controllers with independent feedback voters and shared request/data CDC. Read architecture.md for the threat model, block diagram, protocol constraints, fault-injection command table, acceptance criteria and outstanding verification cases. Read cdc.md for timing requirements.
Storage is 3 x 8-bit separately declared register banks with separate write,
injection and scrub enables. Each bank has a distinct 2-of-3 majority voter for
scrubbing. An additional, shared output voter drives uo_out[7:0] except during
idle diagnostic selection. All three bank voting functions are logically the
same, but must survive synthesis as physically independent instances.
req_meta and req_sync synchronize the asynchronous REQ input into clk.
Three controller instances each contain a completion flip-flop and separate
command decode. Each lane's controls are connected only to that lane's
register, and ACK is a 2-of-3 vote over the completion states.
The producers' input data and command bits are bundled data; they are not
individually synchronized and must remain stable through the handshake.
The default build has independent voters. Defining
TINYTMR_SHARED_FEEDBACK selects the shared feedback-voter comparison.
The optional selector-4/5/6 commands emulate a faulty controller's decoding
with a wrong lane-local action at one edge.
The idle diagnostic selector is bank=3,selector=7,REQ=0, returning
{mismatch_cycles[3:0],last_outliers[2:0],sticky}. The counter records
clock cycles of disagreement (not radiation strikes) and saturates at 15.
Telemetry, diagnostic mux, output voter and ACK voter are not triplicated.
uio[7] is ACK; there is no dedicated live mismatch pin.
done flop can lead to repeated execution in that
lane while REQ stays high; ACK voting does not establish a single-commit
guarantee during faults.| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | data_0 | voted_0 | async_req_in |
| 1 | data_1 | voted_1 | load_mode_in |
| 2 | data_2 | voted_2 | bank_sel_0 |
| 3 | data_3 | voted_3 | bank_sel_1 |
| 4 | data_4 | voted_4 | bit_sel_0 |
| 5 | data_5 | voted_5 | bit_sel_1 |
| 6 | data_6 | voted_6 | bit_sel_2 |
| 7 | data_7 | voted_7 | ack_out |