def elaborate(self, platform):
m = Module()
- m.submodules.ppick = ppick = PriorityPicker(8)#reverse_i=True)
+ m.submodules.ppick = ppick = PriorityPicker(8, reverse_i=True,
+ reverse_o=True)
comb = m.d.comb
op = self.dec.op
def __setitem__(self, key, value):
if isinstance(key, SelectableInt):
key = key.value
- print("setitem", key, self.bits, hex(self.value), hex(value.value))
+ print("setitem", key, self.bits, hex(self.value))
if isinstance(key, int):
assert key < self.bits
assert key >= 0
# "hello_world/hello_world.bin"
ram_fname = "/home/lkcl/src/libresoc/microwatt/" \
"tests/1.bin"
+ #ram_fname = "/tmp/test.bin"
#ram_fname = None
ram_init = []
)
if cpu == "libresoc":
- self.comb += active_dbg_cr.eq((0x10300 <= pc) & (pc <= 0x105ec))
+ self.comb += active_dbg_cr.eq((0x10300 <= pc) & (pc <= 0x1094c))
#self.comb += active_dbg_cr.eq(1)
# get the CR