[Libre-soc-dev] Running the libre-soc CPU under cxxsim

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat Sep 19 22:58:23 BST 2020


---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

On Sat, Sep 19, 2020 at 10:41 PM Cesar Strauss <cestrauss at gmail.com> wrote:

> Note that "nmigen.sim.pysim" and "nmigen.sim.cxxsim" were never present
> in a released nMigen version, so the change in API, in the middle of a
> development cycle, is warranted.

ok so we need a big patch to get up-to-date, first.  i am holding
back, not updating nmigen master regularly in case it introduces bugs
(like it did 2 months ago).

> > really this should be an environment variable
> >
> > import os
> >       sim = Simulator(m, engine=os.environ.get('NMIGEN_SIM_MODE"))
> >
>
> This is exactly the way that the simulator API now works.

excellent.



More information about the Libre-soc-dev mailing list