[Libre-soc-isa] [Bug 686] create Power ISA test API
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Tue Sep 7 14:48:56 BST 2021
https://bugs.libre-soc.org/show_bug.cgi?id=686
--- Comment #3 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-soc.org/?p=soc.git;a=commitdiff;h=885c9aa6fd7871d12eafd0a8e4a023eff5843ff0
i've added in some TODO comments which show what needs doing,
but *work incrementally* towards the goal: don't do absolutely
everything at once.
suggest creating a class which takes core as a constructor argument:
class CoreTestingThing:
def __init__(self, core):
self.core = core
and add a function get_gpr_regs():
def get_gpr_regs(self):
self.intregs = []
blah blah
the reason is because "yield from" will otherwise get thooorrroughly in the
way.
i suggest starting with the *simulator* variant of that, first.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libre-SOC-ISA
mailing list