[pymtl] update pymtl.datatypes.Bits (details)
[pymtl] update pymtl.datatypes.Bits (details)

- Display hex instead of decimal in __repr__
- Add .bin(), .oct(), .hex() methods with leading zeros
- Temporarily overload __hex__ and __oct__ methods with a deprecation
  warning, these magic methods are deprecated in Python 3.
  Also, no __bin__ method exists so this approach does not work for bin().

jck/pymtl,jjffryan/pymtl,12yujim/pymtl,jck/pymtl,cornell-brg/pymtl,cfelton/pymtl,jjffryan/pymtl,Glyfina-Fernando/pymtl,cornell-brg/pymtl,jck/pymtl,cfelton/pymtl,tj93/pymtl,jjffryan/pymtl,tj93/pymtl,12yujim/pymtl,Glyfina-Fernando/pymtl,cfelton/pymtl,12yujim/pymtl,Glyfina-Fernando/pymtl,cornell-brg/pymtl,tj93/pymtl