hw/misc/mps2-fpgaio: Implement 1Hz and 100Hz counters
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:40 +0000 (13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:40 +0000 (13:17 +0100)
commita1982f90a42b22f2858e7d8497ab7223cd49b65d
treed4e99b6cab3fb3833247c95de02befca30765da0
parent299953b989878d8f9ea38c7ea2d6760d49c0325e
hw/misc/mps2-fpgaio: Implement 1Hz and 100Hz counters

The MPS2 FPGAIO block includes some simple free-running counters.
Implement these.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180820141116.9118-2-peter.maydell@linaro.org
hw/misc/mps2-fpgaio.c
include/hw/misc/mps2-fpgaio.h