code wiki / _hdl_build / nx_rtype_control_mem_test.nx
nx_rtype_control_mem_test.nx
buildroot/runtime/_hdl_build/nx_rtype_control_mem_test.nx
about
nx_rtype_control_mem_test.nx -- FUNCTIONAL gate-level verify of the R-type ALU-op control.
Builds nx_rtype_op_aluop_build into a MEM sink, then exhaustively over funct3 in 0..7 x funct7 in
{0, 1, 0x20} runs the gate-sim and diffs the alu-op net against the behavioral oracle
nx_rv64im_sim_alu_select(OP, funct3, funct7). All 24 combos must match. KATs: add/sub/sra/mul.
Proves the decode->execute control glue is correct at the gate level. Sovereign.
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_rtype_control.nxrv64im_min_sim.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func _emit_cstr(s: *u8) -> i64 called by 1: main |
| 16 | func _emit_dec(v: i64) -> i64 called by 1: main |
| 30 | func main() -> i64 |