timer: inherit ModuleDoc
authorSean Cross <sean@xobs.io>
Tue, 24 Sep 2019 06:34:41 +0000 (14:34 +0800)
committerSean Cross <sean@xobs.io>
Tue, 24 Sep 2019 06:34:41 +0000 (14:34 +0800)
commit68cea8c32fc87750dc1c567af4f3cc7769cb503c
treecab179ae49a4bc8ba3bb9808b4081afc851e802d
parent131971986c56d92b963e374d1fc416f9771e0274
timer: inherit ModuleDoc

With the new ModuleDoc class, we can inherit `ModuleDoc` and
automatically get module-level documentation.

This patch also corrects a typo in `timer` that causes an error in
sphinx.

Signed-off-by: Sean Cross <sean@xobs.io>
litex/soc/cores/timer.py