[Libre-soc-dev] pia as cycle accurate simulator?

Lauri Kasanen cand at gmx.com
Thu Oct 15 07:46:52 BST 2020


On Wed, 14 Oct 2020 18:51:09 -0700
Jacob Lifshay <programmerjake at gmail.com> wrote:

> > my thoughts here are, it's pretty close to becoming the core of an
> > actual simulator.
> >
>
> I think we should have the simulator be a separate crate built on top of
> power-instruction-analyzer. we'd probably need a few kloc more to implement
> a simulator, since pia doesn't have an instruction decoder and doesn't
> handle reading/writing registers -- it just implements the ALU-portion of
> the instructions.

I'd like to repeat my request for the simulator to be based on
something existing (qemu, pearpc, etc) in C/C++.

- Lauri



More information about the Libre-soc-dev mailing list