clash-lang / clash-prelude

CLaSH prelude library containing datatypes and functions for circuit design
http://www.clash-lang.org/
Other
31 stars 27 forks source link

Make `Bit` a newtype instead of a type alias #142

Closed christiaanb closed 6 years ago

christiaanb commented 6 years ago

So that we can map Bit to std_logic in VHDL, and map BitVector 1 to std_logic_vector(0 downto 0)