# can go straight to reset.
yield port1.is_st_i.eq(0) # end
yield port1.addr.ok.eq(0) # set !ok
- yield port1.is_dcbz.eq(0) # reset dcbz too
+ yield port1.is_dcbz_i.eq(0) # reset dcbz too
# copy of pi_st
yield port1.is_st_i.eq(1) # indicate ST
yield port1.msr_pr.eq(msr_pr) # MSR PR bit (1==>virt, 0==>real)
- yield port1.is_dcbz.eq(1) # set dcbz
+ yield port1.is_dcbz_i.eq(1) # set dcbz #FIXME
yield port1.addr.data.eq(addr) # set address
yield port1.addr.ok.eq(1) # set ok
# can go straight to reset.
yield port1.is_st_i.eq(0) # end
yield port1.addr.ok.eq(0) # set !ok
- yield port1.is_dcbz.eq(0) # reset dcbz too
+ yield port1.is_dcbz_i.eq(0) # reset dcbz too
def pi_ld(port1, addr, datalen, msr_pr=0):
# address: use sync to avoid long latency
sync += pi.addr.data.eq(addr_r) # EA from adder
sync += Display("EA from adder %i op_is_dcbz %i",addr_r,op_is_dcbz)
- sync += pi.is_dcbz.eq(op_is_dcbz) # set dcbz
+ ## do not use ### sync += pi.is_dcbz.eq(op_is_dcbz) # set dcbz
sync += pi.addr.ok.eq(alu_ok & lsd_l.q) # "do address stuff" (once)
comb += self.exc_o.eq(pi.exc_o) # exception occurred
self.is_ld_i = Signal(reset_less=True)
self.is_st_i = Signal(reset_less=True)
self.is_dcbz_i = Signal(reset_less=True)
- self.is_dcbz = self.is_dcbz_i # renamed signal hack
+ ## self.is_dcbz = self.is_dcbz_i # renamed signal hack
# LD/ST data length (TODO: other things may be needed)
self.data_len = Signal(4, reset_less=True)
return [self.is_ld_i.eq(inport.is_ld_i),
self.is_st_i.eq(inport.is_st_i),
self.is_nc.eq(inport.is_nc),
- self.is_dcbz.eq(inport.is_dcbz),
+ self.is_dcbz_i.eq(inport.is_dcbz_i),
self.data_len.eq(inport.data_len),
self.go_die_i.eq(inport.go_die_i),
self.addr.data.eq(inport.addr.data),
m.d.comb += self.req.virt_mode.eq(msr_pr) # problem-state ==> virt
m.d.comb += self.req.align_intr.eq(misalign)
- dcbz = self.pi.is_dcbz
- with m.If(dcbz):
- m.d.comb += Display("set_wr_addr: is_dcbz")
- m.d.comb += self.req.dcbz.eq(dcbz)
-
# option to disable the cache entirely for write
if self.disable_cache:
m.d.comb += self.req.nc.eq(1)