import argparse
from migen import (Signal, FSM, If, Display, Finish, NextValue, NextState)
+from migen import Display as D
from litex.build.generic_platform import Pins, Subsignal
from litex.build.sim import SimPlatform
"tests/decrementer/decrementer.bin"
#ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
# "hello_world/hello_world.bin"
- #ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
- # "tests/mmu/mmu.bin"
+ ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
+ "tests/mmu/mmu.bin"
#ram_fname = None
# reserve XICS ICP and XICS memory addresses.
If(regnum == 43, Display(" HSPRG1: %016x", dbg_dout),), # HSPRG1
If(regnum == 44, Display(" XER: %016x", dbg_dout),), # XER
If(regnum == 45, Display(" TAR: %016x", dbg_dout),), # TAR
+ #If(regnum == 46, Display(" SVSRR0: %016x", dbg_dout),), # SVSRR0
),
# also check if this is a "stat"
If(dbg_addr == 1, # requested a STAT