Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

1Learning Outcomes

2Tracing the lui Datapath

(most unselected data lines omitted from lighting)

Note that the U-type instructions require left-shifting the immediate by 12 bits (e.g. lui is written as rd = imm << 12 on the reference card). This should already be done by your immediate generator, so your datapath doesn’t need to perform any extra shifting.

3Tracing the auipc Datapath

(most unselected data lines omitted from lighting)