mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-04 08:45:29 +02:00
integer atom explicit sign cast support
This commit is contained in:
@@ -162,4 +162,9 @@ typeSigning :: Type -> Maybe Signing
|
||||
typeSigning (Net _ sg _) = Just sg
|
||||
typeSigning (Implicit sg _) = Just sg
|
||||
typeSigning (IntegerVector _ sg _) = Just sg
|
||||
typeSigning (IntegerAtom t sg ) =
|
||||
Just $ case (sg, t) of
|
||||
(Unspecified, TTime) -> Unsigned
|
||||
(Unspecified, _ ) -> Signed
|
||||
(_ , _ ) -> sg
|
||||
typeSigning _ = Nothing
|
||||
|
||||
Reference in New Issue
Block a user