vexriscv: reset wishbone bus on CPU reset
authorSean Cross <sean@xobs.io>
Fri, 27 Jul 2018 07:02:31 +0000 (15:02 +0800)
committerSean Cross <sean@xobs.io>
Fri, 27 Jul 2018 07:24:43 +0000 (15:24 +0800)
commitf17b8324d4838807eb00a358de210a62db5fc087
treef6df429d06fa053e0d9b756beea2bcc981a392ac
parentc87ca4f1c313895f49bee6afb6a7f60df959832a
vexriscv: reset wishbone bus on CPU reset

If the CPU is resetting during a Wishbone transfer, assert the ERR line.

Because the resetOut line is likely multiple cycles long, this should
give Wishbone enough time to finish its transfer, which will cause d.stb
and i.stb to go to 0, which will return d_err and i_err to 0.

Signed-off-by: Sean Cross <sean@xobs.io>
litex/soc/cores/cpu/vexriscv/core.py