An interactive single cycle rv32i datapath. comb read, clocked write memories and register file. click and drag the circles and lines around for fun :) , and toggle the move slider to reshape the datapath and wires.
rv32i (single cycle)
Radd sub sll slt sltu xor srl sra or and
Mmul mulh div divu rem remu
Iaddi slti sltiu xori ori andi slli srli srai
Loadlb lh lw lbu lhu
Storesb sh sw
Branchbeq bne blt bge bltu bgeu
Jumpjal jalr
Upperlui auipc
Pseudoli mv not neg nop j jr ret ble bgt bleu bgtu beqz bnez blez bgez bltz bgtz
Stopecall ebreak