targets/nexys4ddr: add ethernet via method instead of inheritance
authorGabriel Somlo <gsomlo@gmail.com>
Thu, 20 Feb 2020 01:10:32 +0000 (20:10 -0500)
committerGabriel Somlo <gsomlo@gmail.com>
Thu, 20 Feb 2020 01:16:13 +0000 (20:16 -0500)
commit7a2e33b817dad1b6f1163d7429e833ab8bc0c095
tree65b10a6805c13e4d05c284f723609d829c31f8fb
parent774a55a2aa7cefe6f617cce38697822508325c27
targets/nexys4ddr: add ethernet via method instead of inheritance

Switch adding LiteETH support to BaseSoc via a method instead of
inheritance. This allows further optional peripherals to be added
in the future, via additional methods.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/boards/targets/nexys4ddr.py