code wiki / _hdl_build / nx_fpga_rtype_gate.nx

nx_fpga_rtype_gate.nx

buildroot/runtime/_hdl_build/nx_fpga_rtype_gate.nx

8864 B159 linesdepth 7pulls 14 transitivereach 0 importersview sourcekind gate/prooftopic fpga
docsdependenciesstructsconstsfunctions

dependencies 8 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_fpga_decode.nx nx_fpga_alu.nx nx_fpga_cmp.nx nx_fpga_shift.nx rv64im_min_alu.nx nx_syscalls.nx nx_fpga_rtype_gate.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_fpga_decode.nxnx_fpga_alu.nxnx_fpga_cmp.nxnx_fpga_shift.nxrv64im_min_alu.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write sys_mmap fab_build_decode r9_sub r9_msel0 r9_msel1 r9_right r9_arith r9_uns r9_class sys_mmap ↻ fab_build_alu fl_gate_to_lut4 fl_gate_ref lut4_index fab_parity3_init fab_maj3_init fab_build_cmp fl_gate_to_lut4 ↻ fab_parity3_init ↻ fab_maj3_init ↻ fab_build_shifter fl_gate_to_lut4 ↻ sys_mmap ↻ ref_aluop r9_exec fab_decode_run fab_eval fab_resolve lut4_eval lut4_index ↻ fab_po fab_resolve ↻ fab_alu_run fab_eval ↻ fab_po ↻ fab_shift_run fab_eval ↻

structs

none

consts

none

functions

19func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
22func ref_aluop(f3: i64, f7b5: i64) -> i64
35func r9_exec(ctx: *i64, f3: i64, f7b5: i64, rs1: i64, rs2: i64) -> i64
45func main() -> i64