1
0
mirror of https://github.com/olofk/serv.git synced 2026-02-08 00:31:17 +00:00

Document and clean up interface of serv_immdec

This commit is contained in:
Olof Kindgren
2020-12-29 23:35:17 +01:00
parent 14cbe03a61
commit ca1a07f684
5 changed files with 35 additions and 19 deletions

View File

@@ -95,6 +95,17 @@ serv_decode is responsible for decoding the operation word coming from ibus into
.. image:: serv_decode_int.png
serv_immdec
^^^^^^^^^^^
.. image:: serv_immdec.png
The main responsibility of serv_immdec is to stitch together the pieces of immediates from the instruction word and push it out in the correct order. When a new instruction arrives, the relevant parts are placed into a number of shift registers, and the connections between the registers are setup differently depending on the type of operation.
serv_immdec also extracts the register addresses from the operation word.
.. image:: serv_immdec_int.png
serv_mem_if
^^^^^^^^^^^

BIN
doc/serv_immdec.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
doc/serv_immdec_int.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB