blarney
Copyright(c) Alexandre Joannou 2019
LicenseMIT
Maintaineralexandre.joannou@gmail.com
Stabilityexperimental
Safe HaskellSafe-Inferred

Blarney.Connectable

Description

The Connectable class provides a standard way to connect hardware modules

Synopsis

Connectable class

class Connectable a b where Source #

Methods

makeConnection Source #

Arguments

:: a

First interface to connect

-> b

Second interface to connect

-> Module ()

Module with no interface, implementing the connection

Connects two interfaces that can be connected

Instances

Instances details
Connectable (Source t) (Sink t) #

Connectable instance for Source t and Sink t

Instance details

Defined in Blarney.SourceSink

Methods

makeConnection :: Source t -> Sink t -> Module () Source #

Connectable (Client req_t resp_t) (Server req_t resp_t) # 
Instance details

Defined in Blarney.ClientServer

Methods

makeConnection :: Client req_t resp_t -> Server req_t resp_t -> Module () Source #