Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
* [libre-riscv-dev] [Bug 261] New: power_enums.py to read SPRs from sprs.csv
@ 2020-03-18 12:11 bugzilla-daemon
  2020-03-18 13:31 ` [libre-riscv-dev] [Bug 261] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2020-03-18 12:11 UTC (permalink / raw)
  To: libre-riscv-dev

http://bugs.libre-riscv.org/show_bug.cgi?id=261

            Bug ID: 261
           Summary: power_enums.py to read SPRs from sprs.csv
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Specification
          Assignee: lkcl@lkcl.net
          Reporter: lkcl@lkcl.net
                CC: libre-riscv-dev@lists.libre-riscv.org
   NLnet milestone: ---

power_enums.py SPRs Enum to read from this:
http://libre-riscv.org/openpower/isatables/sprs.csv

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [libre-riscv-dev] [Bug 261] power_enums.py to read SPRs from sprs.csv
  2020-03-18 12:11 [libre-riscv-dev] [Bug 261] New: power_enums.py to read SPRs from sprs.csv bugzilla-daemon
@ 2020-03-18 13:31 ` " bugzilla-daemon
  2020-03-18 13:59 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2020-03-18 13:31 UTC (permalink / raw)
  To: libre-riscv-dev

http://bugs.libre-riscv.org/show_bug.cgi?id=261

Michael Nolan <mtnolan2640@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtnolan2640@gmail.com
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michael Nolan <mtnolan2640@gmail.com> ---
Done: 474eb33c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [libre-riscv-dev] [Bug 261] power_enums.py to read SPRs from sprs.csv
  2020-03-18 12:11 [libre-riscv-dev] [Bug 261] New: power_enums.py to read SPRs from sprs.csv bugzilla-daemon
  2020-03-18 13:31 ` [libre-riscv-dev] [Bug 261] " bugzilla-daemon
@ 2020-03-18 13:59 ` bugzilla-daemon
  2020-03-18 14:31 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2020-03-18 13:59 UTC (permalink / raw)
  To: libre-riscv-dev

http://bugs.libre-riscv.org/show_bug.cgi?id=261

--- Comment #2 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
(In reply to Michael Nolan from comment #1)
> Done: 474eb33c

ah magic that was quick! :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [libre-riscv-dev] [Bug 261] power_enums.py to read SPRs from sprs.csv
  2020-03-18 12:11 [libre-riscv-dev] [Bug 261] New: power_enums.py to read SPRs from sprs.csv bugzilla-daemon
  2020-03-18 13:31 ` [libre-riscv-dev] [Bug 261] " bugzilla-daemon
  2020-03-18 13:59 ` bugzilla-daemon
@ 2020-03-18 14:31 ` bugzilla-daemon
  2020-03-18 14:40 ` bugzilla-daemon
  2020-03-18 15:46 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2020-03-18 14:31 UTC (permalink / raw)
  To: libre-riscv-dev

http://bugs.libre-riscv.org/show_bug.cgi?id=261

--- Comment #3 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
oops i'd forgotten to put in the extra fields (length, priv yes/no), added them
to the csv file and *then* discovered you'd learned that the key-names aren't
unique.  had a lovely time re-introducing the suffixes you added, michael :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [libre-riscv-dev] [Bug 261] power_enums.py to read SPRs from sprs.csv
  2020-03-18 12:11 [libre-riscv-dev] [Bug 261] New: power_enums.py to read SPRs from sprs.csv bugzilla-daemon
                   ` (2 preceding siblings ...)
  2020-03-18 14:31 ` bugzilla-daemon
@ 2020-03-18 14:40 ` bugzilla-daemon
  2020-03-18 15:46 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2020-03-18 14:40 UTC (permalink / raw)
  To: libre-riscv-dev

http://bugs.libre-riscv.org/show_bug.cgi?id=261

--- Comment #4 from Michael Nolan <mtnolan2640@gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #3)
> oops i'd forgotten to put in the extra fields (length, priv yes/no), added
> them to the csv file and *then* discovered you'd learned that the key-names
> aren't unique.  had a lovely time re-introducing the suffixes you added,
> michael :)

Oh no! 
I'm thinking I could either make the enum value a namedstruct/SPR object that
contains the length/privelages, or make a separate dict of structs/objects for
that information. Thoughts on which way to go?

Side note, why would they make them duplicate anyhow? That seems somewhat
nutty.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [libre-riscv-dev] [Bug 261] power_enums.py to read SPRs from sprs.csv
  2020-03-18 12:11 [libre-riscv-dev] [Bug 261] New: power_enums.py to read SPRs from sprs.csv bugzilla-daemon
                   ` (3 preceding siblings ...)
  2020-03-18 14:40 ` bugzilla-daemon
@ 2020-03-18 15:46 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2020-03-18 15:46 UTC (permalink / raw)
  To: libre-riscv-dev

http://bugs.libre-riscv.org/show_bug.cgi?id=261

--- Comment #5 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
(In reply to Michael Nolan from comment #4)

> Oh no!

:) ehh it was fiiine

> I'm thinking I could either make the enum value a namedstruct/SPR object
> that contains the length/privelages, or make a separate dict of
> structs/objects for that information. Thoughts on which way to go?

hmmm... separate doesn't make a lot of sense, people might think they're
somehow not related.

> Side note, why would they make them duplicate anyhow? That seems somewhat
> nutty.

sigh i know, welcome to an "organically-grown" ISA.  they should have put a
prefix "H" or "S" in front of them, with "U" for "userspace".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18 12:11 [libre-riscv-dev] [Bug 261] New: power_enums.py to read SPRs from sprs.csv bugzilla-daemon
2020-03-18 13:31 ` [libre-riscv-dev] [Bug 261] " bugzilla-daemon
2020-03-18 13:59 ` bugzilla-daemon
2020-03-18 14:31 ` bugzilla-daemon
2020-03-18 14:40 ` bugzilla-daemon
2020-03-18 15:46 ` bugzilla-daemon

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git