cpu: Adding "variant" support.
authorTim 'mithro' Ansell <mithro@mithis.com>
Tue, 26 Sep 2017 00:01:36 +0000 (10:01 +1000)
committerTim 'mithro' Ansell <me@mith.ro>
Sat, 30 Dec 2017 00:18:51 +0000 (01:18 +0100)
commit44650dffd8f82018840922ddbbb6570c8c1e6b08
tree5d6f6ae4fc83e4cabb1429726fa20c0fbe4f28ec
parent2cc6a3036ca31ed8631693ae84ef62ff59aa1124
cpu: Adding "variant" support.

It is useful to support slightly different variants of the CPU
configurations. This adds a "cpu_variant" option.

For the mor1k we now have the default mor1k configuration and the
"linux" variant which enables the features needed for Linux support on
the mor1k.

Currently there are no variants for the lm32, but we will likely add a
"tiny" variant for usage on the iCE40.
litex/soc/cores/cpu/lm32/core.py
litex/soc/cores/cpu/mor1kx/core.py
litex/soc/integration/soc_core.py