migen/test: if SimCase is a TestCase, it's run in every module that imports it
genlib/cordic: cleanup, documentation, unittests