Skip to content

Commit

Permalink
Merge pull request #32 from clash-lang/swap-fwd-bwd
Browse files Browse the repository at this point in the history
Switch `Fwd` and `Bwd` to make `M`/`S` relation consistent
  • Loading branch information
hydrolarus authored Apr 8, 2024
2 parents 8c7f90a + 5bf5998 commit f7ed59b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clash-vexriscv/src/VexRiscv.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ data CpuOut = CpuOut
data Jtag (dom :: Domain)

instance Protocol (Jtag dom) where
type Fwd (Jtag dom) = Signal dom JtagOut
type Bwd (Jtag dom) = Signal dom JtagIn
type Fwd (Jtag dom) = Signal dom JtagIn
type Bwd (Jtag dom) = Signal dom JtagOut


-- When passing S2M values from Haskell to VexRiscv over the FFI, undefined
Expand Down

0 comments on commit f7ed59b

Please sign in to comment.