IRC logs for #openrisc Saturday, 2019-01-12

--- Log opened Sat Jan 12 00:00:24 2019
shorneI am working on fixing up the or1k-tests cases16:10
shorneI first got them running with cappuccino pipeline, all are pretty much passing16:11
shorneNow I am looking at espresso16:11
shorneI figured I would document the status here16:11
shornePlease feel free to comment / help16:11
shornehttps://github.com/openrisc/mor1kx/issues/7116:12
tpbTitle: Espresso Tests Failing · Issue #71 · openrisc/mor1kx · GitHub (at github.com)16:12
shorneFirst test failing is, https://github.com/openrisc/or1k-tests/blob/master/native/or1k/or1k-alignillegalinsn.S16:12
tpbTitle: or1k-tests/or1k-alignillegalinsn.S at master · openrisc/or1k-tests · GitHub (at github.com)16:12
shornetracing the VCD... I see 1. exection get to the first l.sh, which causes alignment16:13
shorneexception.16:13
shorne2. alignment handler runs, and calls l.rfe16:14
shorne3. l.sh runs again with an address that shouldnt cause alignment exception, but everything stops there16:14
shornePC jumps to 0x016:14
shorneIssue, seems now is setting NPC, when advancing pc_fetch_i is 0x016:23
shorneI think I fixed it16:40
shornertl/verilog/mor1kx_ctrl_espresso.v16:41
shorne@@ -469,7 +469,7 @@ module mor1kx_ctrl_espresso16:41
shorne      if (rst)16:41
shorne        take_exception <= 0;16:41
shorne      else16:41
shorne-       take_exception <= (exception_pending | exception_r | doing_rfe_r) &16:41
shorne+       take_exception <= (exception_pending | exception_r) &16:41
shorne                          (fetch_advance |16:41
shorne                           // Cause exception to always be 'taken' if stepping16:41
shorneDon't take the exception PC during RFE, we take the next PC16:42
shorneTest gets further now dieing on first l.j16:42
--- Log closed Sun Jan 13 00:00:26 2019

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