yield Settle()
yield from wait_addr(port1) # wait until addr ok
yield from wait_addr(port1) # wait until addr ok
- exc_happened = yield port1.exc_o.happened
- if exc_happened:
- print("print fast exception happened")
- yield port1.is_st_i.eq(0) # end
- yield port1.addr.ok.eq(0) # set !ok
- yield port1.is_dcbz_i.eq(0) # reset dcbz too
- return "fast"
# yield # not needed, just for checking
# yield # not needed, just for checking
yield port1.st.ok.eq(1)
yield
yield port1.st.ok.eq(0)
+ exc_happened = yield port1.exc_o.happened
+ if exc_happened:
+ print("print fast exception happened")
+ yield port1.is_st_i.eq(0) # end
+ yield port1.addr.ok.eq(0) # set !ok
+ yield port1.is_dcbz_i.eq(0) # reset dcbz too
+ return "fast"
yield from wait_busy(port1,debug="pi_st_E") # wait while busy
- # TODO: fast exception handling
-
# can go straight to reset.
yield port1.is_st_i.eq(0) # end
yield port1.addr.ok.eq(0) # set !ok