| Copyright | KTH/ICT/ELE/ESY 2017 | 
|---|---|
| License | BSD-style (see the file LICENSE) | 
| Maintainer | ingo@kth.se | 
| Stability | experimental | 
| Portability | portable | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
ForSyDe.Shallow.MoC.MoCInterface
Description
This module defines models of computation interfaces between the different MOCs.
Interfaces between Synchronous MoC and Continuous Time MoC
Arguments
| :: (Fractional a, Show a) | |
| => DACMode | Mode of conversion  | 
| -> Rational | Duration of input signal  | 
| -> Signal a | Input signal (untimed MoC)  | 
| -> Signal (SubsigCT a) | Output signal (continuous time MoC)  | 
The MoC interface sy2ct converts a synchronous signal into a
 continuous time signal. It uses the d2aConverter function, which
 currently is defined in the CT library.
Arguments
| :: (Num a, Show a) | |
| => Rational | Sampling Period  | 
| -> Signal (SubsigCT a) | Input signal (continuous time)  | 
| -> Signal a | Output signal (untimed) = d2aConverter  | 
The MoC interface ct2sy converts a synchronous signal into a
 continuous time signal. It uses the a2dConverter function, which
 currently is defined in the CT library.