Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (26 loc) · 1.73 KB

ALU.md

File metadata and controls

33 lines (26 loc) · 1.73 KB

Rocket ALU implementation.


class ALU

Rocket ALU

  • I/O, type and Paramter
name type direction description
p Parameters param configuration
dw Bits I datawidth: DW_64 DW_32
fn Bits I ALU function
in1 UInt I ALU input 1
in2 UInt I ALU input 2
out UInt O ALU output
adder_out UInt O address for D$
cmp_out Bool O compare result




Last updated: 08/07/2017
CC BY-NC-SA 4.0, © (2017) Wei Song
Apache 2.0, © (2016-2017) SiFive, Inc
BSD, © (2012-2014, 2016) The Regents of the University of California (Regents)