message: ToBasicHdlSimModelExpr.visit_HdlIntValue: support for str + base
diff: @@ -96,6 +96,7 @@ class ToBasicHdlSimModelExpr(ToHdlCommon):
  w(str(o.val))
  else:
  b = o.base
  + if isinstance(o.val, int):
  if b == 2:
  f = "0b{0:b}"
  elif b == 8:
  @@ -104,6 +105,16 @@ class ToBasicHdlSimModelExpr(ToHdlCommon):
  f = "0x{0:x}"
  else:
  raise NotImplementedError(b)
  + else:
  + if b == 2:
  + f = "0b{0}"
  + elif b == 8:
  + f = "0o{0}"
  + elif b == 16:
  + f = "0x{0}"
  + else:
  + raise NotImplementedError(b)
  +
  w(f.format(o.val))
  def visit_iHdlExpr(self, o):
  