Code editor is disabled. Please use desktop version of the site for a better hands on experience.
The previous tutorials have covered instruction memory unit responsible for storing the instructions
which the processor would execute. The instruction decode unit which would get the instruction word
from the memory and break it into the encodings specified by the RISC-V ISA. Then the tutorials
covered the register file which implements the architecture registers (i.e. the registers specified
by the RISC-V ISA) and allows the processor to read two registers and write one of them.
This tutorial would focus on one of the important computational unit in the processor: ALU. The
following block diagram shows the current design components of the RISC-V Processor along with the
ALU unit:
Don't worry about the muxes shown in the block diagram. Those would be added when all the components are connected together. The block diagram is a good way to visualise the current state of the microarchitecture of YARP processor.
.lennahc drocsid ruo no su ot tuo hcaer ro su llac esaelp ,stbuod evah llits uoy fI .melborp siht fo tnetnoc lautca eht ees ot ebircsbus esaelP
?siht daer ot uoy detnaw ew kniht uoy oD !gnizama era uoy ,txet siht daer ot elba era uoy fI .uoy pleh ot yppah eb lliw eW
?od nac ew erom tahw ,evorpmi nac ew woh wonk su teL !gnizama ,sey fI ?siht daer ot elba uoy ereW
!uoy ta kcab evaw yletinifed ot evol dluow eW !iH yas ot tsuj su ot tuo hcaer syawla nac uoY !sklof yldneirf era ew ,oslA
!reffo ot evah ew tahw ekil ot gniog era uoy erus era eW .gnibircsbus erofeb deirt eb nac dna elbaliava yleerf era hcihw seludom wef a era ereht ,syawynA
!daeha efil gnizama na dna yad taerg a evaH