Saturday, 2019-01-12

*** tpb has joined #openrisc00:00
*** mafm has quit IRC00:59
*** futarisIRCcloud has joined #openrisc03:49
*** smaeul has quit IRC05:39
*** futarisIRCcloud has quit IRC05:58
*** smaeul has joined #openrisc06:02
*** rohitksingh has joined #openrisc06:24
*** rohitksingh has quit IRC06:46
*** smaeul has quit IRC06:52
*** smaeul has joined #openrisc06:54
*** rohitksingh has joined #openrisc07:00
*** smaeul has quit IRC07:15
*** rohitksingh has quit IRC07:19
*** smaeul has joined #openrisc07:24
*** rohitksingh has joined #openrisc07:40
*** rohitksingh has quit IRC09:04
*** rohitksingh has joined #openrisc10:46
*** mafm has joined #openrisc14:23
*** heroux_ has joined #openrisc16:17
*** mafm has quit IRC16:26
*** heroux_ has quit IRC16:29
*** rohitksingh has quit IRC17:29
*** rohitksingh has joined #openrisc19:24
*** X-Scale` has quit IRC20:29
*** X-Scale has joined #openrisc20:29
*** mafm has joined #openrisc20:40
shorneI am working on fixing up the or1k-tests cases21:16
shorneI first got them running with cappuccino pipeline, all are pretty much passing21:16
shorneNow I am looking at espresso21:16
shorneI figured I would document the status here21:16
shornePlease feel free to comment / help21:17
shornehttps://github.com/openrisc/mor1kx/issues/7121:17
tpbTitle: Espresso Tests Failing · Issue #71 · openrisc/mor1kx · GitHub (at github.com)21:17
shorneFirst test failing is, https://github.com/openrisc/or1k-tests/blob/master/native/or1k/or1k-alignillegalinsn.S21:18
tpbTitle: or1k-tests/or1k-alignillegalinsn.S at master · openrisc/or1k-tests · GitHub (at github.com)21:18
shornetracing the VCD... I see 1. exection get to the first l.sh, which causes alignment21:19
shorneexception.21:19
shorne2. alignment handler runs, and calls l.rfe21:19
shorne3. l.sh runs again with an address that shouldnt cause alignment exception, but everything stops there21:20
shornePC jumps to 0x021:20
shorneIssue, seems now is setting NPC, when advancing pc_fetch_i is 0x021:29
shorneI think I fixed it21:46
shornertl/verilog/mor1kx_ctrl_espresso.v21:47
shorne@@ -469,7 +469,7 @@ module mor1kx_ctrl_espresso21:47
shorne      if (rst)21:47
shorne        take_exception <= 0;21:47
shorne      else21:47
shorne-       take_exception <= (exception_pending | exception_r | doing_rfe_r) &21:47
shorne+       take_exception <= (exception_pending | exception_r) &21:47
shorne                          (fetch_advance |21:47
shorne                           // Cause exception to always be 'taken' if stepping21:47
shorneDon't take the exception PC during RFE, we take the next PC21:47
shorneTest gets further now dieing on first l.j21:48

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!