[Libre-soc-bugs] [Bug 1207] evaluate compatibility with microwatt's sc

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Nov 9 02:50:21 GMT 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1207

Luke Kenneth Casson Leighton <lkcl at lkcl.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|IN_PROGRESS                 |RESOLVED

--- Comment #3 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #2)

> apparently you missed that...

yes. i am on the move (again).

> +++ b/src/openpower/decoder/isa/caller.py
> @@ -1357,6 +1357,11 @@ class ISACaller(ISACallerHelper, ISAFPHelpers,
> StepLoop):
>          TRAP function is callable from inside the pseudocode itself,
>          hence the default arguments.  when calling from inside ISACaller
>          it is best to use call_trap()
> +
> +        trap_addr: int | SelectableInt
> +            the address to go to (before any modifications from `KAIVB`)
> +        trap_bit: int | None
> +            the bit in `SRR1` to set, `None` means don't set any bits.
>          """
>          if isinstance(trap_addr, SelectableInt):
>              trap_addr = trap_addr.value

ahh looks really good. the default wasn't changed so td/tw etc are fine.

l.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list