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

@ -60,7 +60,7 @@ $(BDPI_OBJ): $(BDPI_SRC)
BSC_LINK_FLAGS += -keep-fires
BSC_PATHS = -p bs/Bus/:bs/:bs/Tests/:bsv/:+
BSC_PATHS = -p bs/Uart/:bs/Bus/:bs/:bs/Tests/:bsv/:+
.PHONY: help
help:
@ -159,7 +159,7 @@ v_sim_vcd:
# ----------------------------------------------------------------
fpga:
make -C ulx3s_fpga mkTop.bit
make -C ulx3s_fpga mkTop.bit prog
.PHONY: clean
clean:

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