code wiki / _hdl_build / nx_decode_kind_test.nx
nx_decode_kind_test.nx
buildroot/runtime/_hdl_build/nx_decode_kind_test.nx
about
nx_decode_kind_test.nx -- EXHAUSTIVE proof of the RV64IM decoder gate-network
(nx_decode_kind_synth) vs the behavioral nx_rv64im_decode_kind. decode_kind
depends only on {opcode[6:0], funct3[14:12], funct7[31:25]} (17 bits), so this
sweeps ALL 2^17 = 131072 combinations -- a complete proof, not a sample.
Known answer: "131072 131072" (ok total), exit 0.
dependencies 1 imports · 0 importers
imports: nx_decode_kind.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
| 9 | func _emit_dec(v: i64) -> i64 called by 1: main |
| 17 | func _nl() -> i64 { let z: *u8 = sys_mmap(2); z[0] = 10; sys_write(1, z, 1); return 0 } called by 1: main |
| 19 | func main() -> i64 |