genlib/record: add eq
genlib/record: use getattr instead of __dict__
bank/description/Register: add get_size
bank/csrgen/BankArray: retain name information