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

Cesar Strauss cestrauss at gmail.com
Thu Sep 24 12:57:53 BST 2020


Em 22/09/2020 08:26, Cesar Strauss escreveu:
> Em 22/09/2020 07:26, Luke Kenneth Casson Leighton escreveu:
>>> Per discussion above, found a way to conditionally switch to cxxsim,
>>> without losing backwards compatibility with earlier nMigen git versions.
>>
>> fantastic.  i wonder, perhaps that can go into nmutils for now?
> 
> Sure.
> 

Done.

nmutil code at:

src/nmutil/sim_tmp_alternative.py

https://git.libre-soc.org/?p=nmutil.git;a=blob;f=src/nmutil/sim_tmp_alternative.py;h=4af3c07bd909a8d2ff1fcd0b8b07ddc0a92f70ab;hb=HEAD

Try:

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

and

$ NMIGEN_SIM_MODE=cxxsim python ~/src/soc/src/soc/experiment/alu_fsm.py
$ gtkwave test_shifter.gtkw

Regards,

Cesar



More information about the Libre-soc-dev mailing list