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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Thu Sep 24 13:28:09 BST 2020


On Thu, Sep 24, 2020 at 12:58 PM Cesar Strauss <cestrauss at gmail.com> wrote:

> Try:
>
> $ NMIGEN_SIM_MODE=pysim python ~/src/soc/src/soc/experiment/alu_fsm.py
> $ gtkwave test_shifter.gtkw

excellent, this worked (on the nmigen location where i have currently
checked out).

i know it is a pain, it's just one of the things of working with
in-development code

oh one thing that looks a lot cleaner in python i feel is this:
from nmutil.sim_tmp_alternative import (Simulator, is_engine_pysim,
                                         nmigen_sim_top_module)

rather than use a backslash.

l.



More information about the Libre-soc-dev mailing list