jeanthom / gram

DDR3 controller for nMigen (WIP)
Other
14 stars 1 forks source link

Avoid usage of getattr #12

Closed jeanthom closed 4 years ago

jeanthom commented 4 years ago

Getattr is omnipresent in LiteDRAM code and I think that it is generally a bad practice. We should use whenever possible arrays instead.

jeanthom commented 4 years ago

getattr has been removed in many places, but not everywhere because it would be too complicated.