[Libre-soc-bugs] [Bug 1039] add hardware-cycle-accurate stastistical modelling to ISACaller for an in-order core

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon May 29 12:11:05 BST 2023


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

--- Comment #18 from Andrey Miroshnikov <andrey at technepisteme.xyz> ---
It is not obvious in what format 'writeregs' and 'readregs' are supposed to be.
Are 'get_input_regs()' and 'get_output_regs()' supposed to produce a set of
Hazard objects (with actions 'r' and 'w' respectively)?

I ask this because on line #216, you're using the 'difference_update' method,
which is part of a set() object.
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/cyclemodel/inorder.py;hb=999c11ee9159222343945e3850b1e2c4a64a8623#l216


Also, Fetch's 'process_instructions()' has to be run twice initially. First to
store the trace into stages[0], and then again for stages[0] to propagate to
the Decode (via add_instruction). I'm assuming this is expected behaviour
because fetch and decode of the same instruction cannot happen at the same
time.

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


More information about the libre-soc-bugs mailing list