Rework decode2
authorAnton Blanchard <anton@linux.ibm.com>
Tue, 3 Sep 2019 02:44:03 +0000 (12:44 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Tue, 3 Sep 2019 06:47:54 +0000 (16:47 +1000)
commit5e140298a57812ac58fe01b020da828d4bd6ce07
tree6127b1ac91f4382afb659e60d388e0f0f42dd6a1
parentd1fdc286c4760a10a5230b1abe7d951d98337c85
Rework decode2

The decode2 stage was spaghetti code and needed cleaning up.
Create a series of functions to pull fields from a ppc instruction
and also a series of helpers to extract values for the execution
units.

As suggested by Paul, we should pass all signals to the execution
units and only set the valid signal conditionally, which should
use less resources.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
Makefile
common.vhdl
decode2.vhdl
insn_helpers.vhdl [new file with mode: 0644]
microwatt.core