*** tpb has joined #openrisc | 00:00 | |
*** mafm has quit IRC | 00:59 | |
*** futarisIRCcloud has joined #openrisc | 03:49 | |
*** smaeul has quit IRC | 05:39 | |
*** futarisIRCcloud has quit IRC | 05:58 | |
*** smaeul has joined #openrisc | 06:02 | |
*** rohitksingh has joined #openrisc | 06:24 | |
*** rohitksingh has quit IRC | 06:46 | |
*** smaeul has quit IRC | 06:52 | |
*** smaeul has joined #openrisc | 06:54 | |
*** rohitksingh has joined #openrisc | 07:00 | |
*** smaeul has quit IRC | 07:15 | |
*** rohitksingh has quit IRC | 07:19 | |
*** smaeul has joined #openrisc | 07:24 | |
*** rohitksingh has joined #openrisc | 07:40 | |
*** rohitksingh has quit IRC | 09:04 | |
*** rohitksingh has joined #openrisc | 10:46 | |
*** mafm has joined #openrisc | 14:23 | |
*** heroux_ has joined #openrisc | 16:17 | |
*** mafm has quit IRC | 16:26 | |
*** heroux_ has quit IRC | 16:29 | |
*** rohitksingh has quit IRC | 17:29 | |
*** rohitksingh has joined #openrisc | 19:24 | |
*** X-Scale` has quit IRC | 20:29 | |
*** X-Scale has joined #openrisc | 20:29 | |
*** mafm has joined #openrisc | 20:40 | |
shorne | I am working on fixing up the or1k-tests cases | 21:16 |
---|---|---|
shorne | I first got them running with cappuccino pipeline, all are pretty much passing | 21:16 |
shorne | Now I am looking at espresso | 21:16 |
shorne | I figured I would document the status here | 21:16 |
shorne | Please feel free to comment / help | 21:17 |
shorne | https://github.com/openrisc/mor1kx/issues/71 | 21:17 |
tpb | Title: Espresso Tests Failing · Issue #71 · openrisc/mor1kx · GitHub (at github.com) | 21:17 |
shorne | First test failing is, https://github.com/openrisc/or1k-tests/blob/master/native/or1k/or1k-alignillegalinsn.S | 21:18 |
tpb | Title: or1k-tests/or1k-alignillegalinsn.S at master · openrisc/or1k-tests · GitHub (at github.com) | 21:18 |
shorne | tracing the VCD... I see 1. exection get to the first l.sh, which causes alignment | 21:19 |
shorne | exception. | 21:19 |
shorne | 2. alignment handler runs, and calls l.rfe | 21:19 |
shorne | 3. l.sh runs again with an address that shouldnt cause alignment exception, but everything stops there | 21:20 |
shorne | PC jumps to 0x0 | 21:20 |
shorne | Issue, seems now is setting NPC, when advancing pc_fetch_i is 0x0 | 21:29 |
shorne | I think I fixed it | 21:46 |
shorne | rtl/verilog/mor1kx_ctrl_espresso.v | 21:47 |
shorne | @@ -469,7 +469,7 @@ module mor1kx_ctrl_espresso | 21:47 |
shorne | if (rst) | 21:47 |
shorne | take_exception <= 0; | 21:47 |
shorne | else | 21: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 stepping | 21:47 |
shorne | Don't take the exception PC during RFE, we take the next PC | 21:47 |
shorne | Test gets further now dieing on first l.j | 21:48 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!