need to start re-thinking structure of uart etc

This commit is contained in:
Yehowshua Immanuel 2025-04-18 19:42:03 -04:00
parent d03cceb283
commit 44324eb803
5 changed files with 4 additions and 4 deletions

View file

@ -15,8 +15,8 @@ serialize ftdiState dataReg =
_ -> 1'b1
interface (ISerializer :: # -> # -> *) clkFreq baudRate =
putBit8 :: (Bit 8) -> Action {-# always_enabled, always_ready #-}
bitLineOut :: Bit 1 {-# always_ready #-}
putBit8 :: (Bit 8) -> Action
bitLineOut :: Bit 1
mkSerialize :: Handle -> Module (ISerializer clkFreq baudRate)
mkSerialize fileHandle = do