Why TUDA Matters to TapeOut: From On-Chain Digital Circuits to Verifiable Computing Infrastructure
Over the past few days, I've noticed that many community members are still trying to understand what TUDA actually does and why I believe it matters to the long-term development of TapeOut.
With our latest experimental results, I'd like to share some of my thinking from both a technical and an industry perspective. 🧑🔬
01 | What Has TapeOut Already Solved?
TapeOut has accomplished something quite interesting: enabling digital circuits to be represented, constructed, deployed, and executed directly on-chain.
With NAND, LATCH, and netlists, we can build logic circuits, state machines, and even entire processors on a blockchain. TAP-02, proposed by Alda, further standardizes the representation and evaluation semantics of these circuits.
However, if we want TapeOut to support commercial applications at scale, we need to address a practical challenge: interpreting digital circuits gate by gate on-chain is computationally expensive.
Making circuits executable is one thing. Making them economically viable at scale is another.
Looking back at the history of computing, from interpreted to compiled execution and from sequential to parallel computing, major improvements in computational efficiency have often unlocked entirely new applications.
This is where my research into TUDA (TapeOut Unified Device Architecture) began.
02 | What Does TUDA Actually Do?
In simple terms, TUDA takes TAP-02-compliant digital circuits, applies compiler optimizations, and generates bytecode that can execute directly on the EVM.
It also leverages the EVM's native 256-bit word to execute 256 independent circuit instances through bit-parallel computing.
Take RV32 Core-A as an example. In our local BSC fork experiments (whole-transaction gas, including the 21,000 base fee and calldata):
• TapeOut Processor: 11,149,075 gas per clock cycle for one instance.
• TUDA EVM256: 184,270 gas per clock cycle for 256 instances.
• Amortized cost at full utilization: about 719.8 gas per instance.
That represents an approximately 15,489× difference in amortized per-instance gas cost for this particular workload.
This improvement comes from both compiler optimization and parallel execution. It does not mean that single-threaded execution is 15,489× faster. The comparison is against the Processor's gate-by-gate interpretation, not against a hand-written contract.
RV32 Core-A (4,788 gates) is the largest of the 20 Part 1 packages; the smallest, a single gate, shows 527×. This uses the same basis as the published Part 1 (inputs at clock cycle 16); with all-zero cycle-0 inputs it is 184,000 gas and about 15,512×, and the difference is calldata only.
What matters is that when computational costs change by orders of magnitude, previously uneconomical applications can become viable, potentially opening entirely new markets.
For TapeOut, this is more than a performance improvement. It could fundamentally change the types of applications the ecosystem can support.
03 | Does TUDA Replace the TapeOut Processor?
Quite the opposite. I believe TUDA could significantly expand the value of the TapeOut Processor.
A compiler can optimize computation, but how do we establish that the optimized bytecode preserves the semantics of the original digital circuit? What happens if someone submits a maliciously modified compilation artifact?
This is why we designed TapEquiv.
Routine computation can follow the optimized EVM256 execution path, while the TapeOut Processor serves as the native reference engine for equivalence challenges and dispute resolution.
In our latest experiments, both local BSC and Base forks achieved:
• All 20 tampered stakes successfully slashed.
• Zero honest cases incorrectly penalized.
• All 20 tested trapdoor cases rejected.
On both forks the referee was the TapeOut Processor already deployed on that chain. Part 1 on BSC used the actual BEM token contract on the fork as the bond; the Base run and its BSC control used a stand-in token. Only one class of trapdoor (code that reads the caller) was tested.
The underlying idea resembles optimistic computing: separating frequent execution from less frequent verification while retaining a canonical reference for computational correctness.
Although native gate-by-gate execution is expensive, its transparent and explicit circuit semantics make the Processor particularly valuable as an independent reference against which optimized compilation artifacts can be challenged.
These experiments do not constitute a formal proof of equivalence for arbitrary circuits and inputs.
Nevertheless, I think this direction is particularly important.
The future value of the TapeOut Processor may be measured not only by how much computation it performs, but also by how much computation it can help verify.
TUDA is designed to address TapeOut's computational scalability, not to create a separate computing protocol that replaces it.
04 | Why Do I Keep Talking About an "On-Chain CUDA"?
Looking at NVIDIA's history, its competitive advantage extends far beyond the GPU itself. CUDA, compilers, runtimes, libraries, and the surrounding developer ecosystem have all played critical roles.
Hardware architectures need software toolchains to unlock their full industrial potential.
I see a similar opportunity with TapeOut.
NAND, LATCH, the Processor, and TAP-02 provide the underlying digital circuit architecture. TUDA is an attempt to build the compiler, runtime, parallel execution, and verification toolchain around it.
These are not technically equivalent architectures, but the industry dynamics are worth studying.
More importantly, what if traditional hardware engineers could bring their existing Verilog, RTL, RISC-V designs, and open-source hardware IP into the TapeOut ecosystem? TapeOut's potential developers would no longer be limited to Web3.
In our recent experiment, we transcribed the Verilog from the screenshot in Vitalik's leanSeal ASIC post (the transcription is ours; he was not involved in this experiment).
TUDA processed the R24 design containing 570,638 NAND gates, compiled it into 98 EVM execution segments, and achieved bit-exact results across all 256 parallel instances, matching reference Keccak-256, on a local anvil node. At this size the design is far larger than a single TapeOut circuit can hold today, so it would have to be split into blocks, and no on-chain dispute has been run on it yet.
The purpose was not to outperform the EVM's native KECCAK256 opcode, but to explore whether traditional hardware designs could be brought into a unified on-chain circuit representation and execution framework.
The traditional digital hardware industry has accumulated decades of engineering knowledge and reusable design assets: processors, cryptographic circuits, controllers, state machines, and open-source hardware IP.
If these assets can enter TapeOut through TUDA, we don't necessarily have to build the entire digital circuit ecosystem from scratch.
From an industry perspective, this could significantly expand the range of developers and applications TapeOut can reach.
I think this is a direction worth exploring seriously.
05 | What Do the Latest Multichain Experiments Tell Us?
On November 27, we completed comparative TUDA experiments on local forks of BSC, Ethereum, and Base.
The results are quite interesting:
• All 20 circuit packages passed on all three networks.
• Identical compilation artifacts and code hashes.
• Bit-exact execution across 256 parallel instances and 32 clock cycles.
• Identical execution, transaction, and deployment gas for the compiled EVM256 code of all 20 packages.
• Identical native Processor execution gas on BSC and Base (whole-transaction gas on Base is 12 lower, because the circuit id has one fewer non-zero calldata byte).
• Successful TapEquiv experiments on both BSC and Base (stand-in bond token).
All three forks ran inside anvil under the same EVM rules. This shows the compiled code is portable; it does not test each chain's own client.
The Ethereum fork shows that TAP-02-based circuits and TUDA compilation artifacts are portable across EVM networks. But on Ethereum the code can execute, not be adjudicated: there is no TapeOut deployment there, so there is no Processor to referee a challenge, and we did not deploy one. Trust still comes from the TapeOut Processor.
Base shows what happens where TapeOut already runs: the Processor there gave the same execution gas as on BSC, and TapEquiv slashed every tampered stake and refused every trapdoor, just as on BSC. TapeOut's adjudication layer can follow the compiled code to another EVM chain, wherever TapeOut is present.
Circuit registration, native verification, dispute resolution, and BEM-based economic security on Ethereum would still require a corresponding TapeOut Protocol deployment and integration, which is for the TapeOut team and community to decide.
I believe this provides a meaningful technical foundation should TapeOut choose to expand into Ethereum.
Compile Once, Execute Across EVM Chains.
But portable execution is only the beginning.
The broader objective is to extend TapeOut's circuit standards, native verification capabilities, and economic framework across more EVM networks.
This is also why I believe TAP-02 has the potential to evolve into a cross-EVM intermediate representation (IR) for digital circuits.
If more tools, developers, and applications adopt TAP-02 and integrate with TapeOut's native verification infrastructure, the network effects of the protocol itself could become significantly stronger.
06 | What Does This Mean for TapeOut and BEM?
One question I've been thinking about for a long time is this: we can create a large number of digital circuit assets, but who will actually use them? Where does sustainable demand come from?
TUDA approaches this problem from the perspective of computational efficiency and real application demand.
At the same time, economic security has already been incorporated into our TapEquiv architecture.
TapeOut provides canonical circuits and their execution semantics. TUDA provides efficient compilation and execution. TapEquiv introduces staking, challenges, and slashing to establish economic accountability for the correctness of compilation artifacts.
Our TUDA Part I experiments already tested staking and slashing using the actual BEM token contract on a local BSC fork (balances on the fork were set by writing to the contract's storage; no real BEM moved). The latest multichain experiments used a stand-in token to further validate the portability of the mechanism.
Moving forward, I would like to explore an idea I call TapeOut Certified Computing. It is a proposal, not an official TapeOut program, and it would need the TapeOut team and community to shape it together.
Developers should be able to freely compile and test circuits through TUDA. Applications that require trusted circuit certification could then integrate TapeOut's native circuits, TapEquiv verification, and BEM-based economic security.
Standalone compilation and execution are technical capabilities of the toolchain. A computing ecosystem anchored in native verification and economic security is what I ultimately want TUDA to help build for TapeOut.
BEM does not need to be consumed by every computation to play a meaningful role in securing it.
As more developers build and use digital circuits, new protocol demand could emerge around circuit deployment, reusable hardware IP, compilation artifact certification, equivalence challenges, and dispute resolution.
A certified circuit could potentially be reused by many applications and serve as a building block for other circuits.
This opens up an interesting direction for BEM: extending its utility beyond the existing digital circuit ecosystem into the economic security layer of verifiable computing.
So far this creates possible uses for BEM; it has not shown that those uses bring demand. Computational activity does not automatically translate into BEM demand. Certification fees, staking requirements, and challenge incentives still need to be refined around actual applications.
Ultimately, I would like to see sustainable BEM demand driven by developers and applications that genuinely need the services provided by TapeOut Protocol.
This is why I've consistently emphasized ecosystem development and the creation of real demand.
07 | My Long-Term View of TapeOut
If TapeOut solves how digital circuits can exist, execute, and be verified on-chain, TUDA is an attempt to solve how those circuits can execute efficiently, operate across different EVM networks, and support applications at scale.
In the architecture I envision:
• TAP-02 defines the circuit representation and computational semantics.
• TapeOut Protocol provides native circuit assets and reference execution.
• TUDA provides compiler optimization and high-performance computing.
• TapEquiv provides equivalence challenges and dispute resolution.
• BEM provides a potential economic security layer for circuit certification and verification.
These components complement one another, forming a more complete computing ecosystem.
I hope TapeOut can eventually become more than an On-Chain Digital Circuit Protocol. It has the potential to evolve into Verifiable Computing Infrastructure for the broader EVM ecosystem.
The significance of TUDA is not simply making TapeOut circuits run faster. It is helping TapeOut provide common circuit standards, native verification, and economic security for a much larger universe of computational activity.
TUDA remains a community-driven research prototype, not an official TapeOut product. All experiments were conducted locally, with no transactions broadcast to public networks. The contracts have not been audited, and significant work remains around data availability, large-circuit verification, challenge mechanisms, and economic security. Nothing here is investment advice or a view on BEM's price.
But the latest experimental results give us a concrete reason to continue exploring this direction.
Still early. Much more to build. 🧑💻
Build. Prove. Grow. 🌊
Experimental data and research evidence:
t.co/dmWsWBN8nU
#TapeOut #TUDA #EVM #VerifiableComputing