Plumb insn_type through to loadstore1
authorPaul Mackerras <paulus@ozlabs.org>
Fri, 3 Apr 2020 03:50:17 +0000 (14:50 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 28 Apr 2020 21:52:50 +0000 (07:52 +1000)
commit167e37d6675136d26acdb6f7aba0a7f7ad1e60d8
tree1a7cd529ab70f2ba69ddbe634718eed84c5cb53a
parent74db0710678d4871843a783edfa602ed621c91d1
Plumb insn_type through to loadstore1

In preparation for adding a TLB to the dcache, this plumbs the
insn_type from execute1 through to loadstore1, so that we can have
other operations besides loads and stores (e.g. tlbie) going to
loadstore1 and thence to the dcache.  This also plumbs the unit field
of the decode ROM from decode2 through to execute1 to simplify the
logic around which ops need to go to loadstore1.

The load and store data formatting are now not conditional on the
op being OP_LOAD or OP_STORE.  This eliminates the inferred latches
clocked by each of the bits of r.op that we were getting previously.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Makefile
common.vhdl
decode2.vhdl
execute1.vhdl
loadstore1.vhdl