X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;ds=sidebyside;f=clash%2FData%2FParam%2FInteger.hs;fp=clash%2FData%2FParam%2FInteger.hs;h=b4b1ec8a9a5e89bb40fa2bde5e0f225413a7e1e2;hb=04f836932ad17dd557af0ba388a12d2b74c1e7d7;hp=0000000000000000000000000000000000000000;hpb=75978cf28a619d14ae27ea2bb4a53246b6a0bcd8;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/clash/Data/Param/Integer.hs b/clash/Data/Param/Integer.hs new file mode 100644 index 0000000..b4b1ec8 --- /dev/null +++ b/clash/Data/Param/Integer.hs @@ -0,0 +1,13 @@ +module Data.Param.Integer + ( Signed(..) + , Unsigned(..) + , Index (..) + ) where + +import Types + +newtype (NaturalT nT) => Signed nT = Signed Integer + +newtype (NaturalT nT) => Unsigned nT = Unsigned Integer + +newtype (NaturalT upper) => Index upper = Index Integer \ No newline at end of file