soc/cores/cpu: add add_sources static method
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 12 Jun 2018 08:54:20 +0000 (10:54 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 12 Jun 2018 08:54:20 +0000 (10:54 +0200)
commit3e723d152a34a2f550a47a4f280b4da67e7596be
tree0ed256762cf6254e1af4220a2d62e1ccde5cbffa
parentc534250c43791612da2a03c1c93f992115d11f8c
soc/cores/cpu: add add_sources static method

When creating SoC with multiple sub-SoC already generated, we need an
easy way to add cpu sources.
litex/soc/cores/cpu/lm32/core.py
litex/soc/cores/cpu/mor1kx/core.py
litex/soc/cores/cpu/picorv32/core.py
litex/soc/cores/cpu/vexriscv/core.py