Copyright | Luka Rahne |
---|---|
License | LGPL-3 (see the file LICENSE) |
Maintainer | Luka Rahne <luka.rahne@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
- type RpBusAddress = Unsigned 32
- type FullAddress = Unsigned 20
- type FullDataIn = Unsigned 32
- type FullDataOut = Unsigned 32
- type WriteByteSel = Unsigned 4
- data RpBusSysIn = RpBusSysIn {}
- data RpBusSysOut = RpBusSysOut {}
- data ReadWrite
- type BusIn = Maybe (FullAddress, ReadWrite, FullDataIn)
- type BusOut = Maybe FullDataOut
- defTopRedPitayaSimple :: TopEntity
- rpSimpleBind :: (Signal BusIn -> Signal BusOut) -> Signal RpBusSysIn -> Signal RpBusSysOut
- addrLow :: Signal BusIn -> Signal BusIn
Documentation
type RpBusAddress = Unsigned 32 Source #
type FullAddress = Unsigned 20 Source #
type FullDataIn = Unsigned 32 Source #
type FullDataOut = Unsigned 32 Source #
type WriteByteSel = Unsigned 4 Source #
data RpBusSysIn Source #
type BusIn = Maybe (FullAddress, ReadWrite, FullDataIn) Source #
type BusOut = Maybe FullDataOut Source #
defTopRedPitayaSimple :: TopEntity Source #
this definition should be used to define bus that can be directly build with fpga core defined in redpitaya branch clash https://github.com/ra1u/RedPitaya/tree/clash
rpSimpleBind :: (Signal BusIn -> Signal BusOut) -> Signal RpBusSysIn -> Signal RpBusSysOut Source #
provide redPitayaSimple interface ovet simplified bus where redPitayaSimple is bus as defined https://github.com/ra1u/RedPitaya/blob/clash/fpga/rtl/red_pitaya_top.v