cpus: remove common cpu variants/extensions definition and simplify variant check.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 26 May 2020 07:36:44 +0000 (09:36 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 26 May 2020 07:36:44 +0000 (09:36 +0200)
commit67cf67034ca114faae91bf802424276b093df525
tree2f2f867435bd3543e6e063d4caaf1f04302681d2
parent062ff67e12a3072c06b12a5f3c0c3a209dba3c91
cpus: remove common cpu variants/extensions definition and simplify variant check.

Having common cpu variants/extensions has no real additional value since we are supporting
very various CPUs where minimal/standard/full have different meanings. Checking against
common variants/extensions has also cause more issues recently when adding new CPUs than
the additional value it was supported to provide.

So let's just simplify things: a CPU provide the supported variants and we just check
against that.
13 files changed:
litex/soc/cores/cpu/__init__.py
litex/soc/cores/cpu/blackparrot/core.py
litex/soc/cores/cpu/cv32e40p/core.py
litex/soc/cores/cpu/lm32/core.py
litex/soc/cores/cpu/microwatt/core.py
litex/soc/cores/cpu/minerva/core.py
litex/soc/cores/cpu/mor1kx/core.py
litex/soc/cores/cpu/picorv32/core.py
litex/soc/cores/cpu/rocket/core.py
litex/soc/cores/cpu/serv/core.py
litex/soc/cores/cpu/vexriscv/core.py
litex/soc/integration/soc.py
litex/soc/integration/soc_core.py