soc/integration/cpu_interface: improve code legibility
authorGabriel L. Somlo <gsomlo@gmail.com>
Wed, 29 May 2019 14:07:43 +0000 (10:07 -0400)
committerGabriel L. Somlo <gsomlo@gmail.com>
Wed, 29 May 2019 14:07:43 +0000 (10:07 -0400)
commit273a3ea15df5a81b306755adff7e1cac08c165c7
tree5573f5228849c3babe9e4b0743c42fc2c4306204
parent08a811b1a5040d9d864ed388363587f4c7040d0a
soc/integration/cpu_interface: improve code legibility

Factor out code appearing in both branches of an if/else.
litex/soc/integration/cpu_interface.py