Copyright | (C) 2017 Google Inc |
---|---|
License | BSD2 (see the file LICENSE) |
Maintainer | Christiaan Baaij <christiaan.baaij@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
PLL and other clock-related components for Intel (Altera) FPGAs
Documentation
:: SSymbol name | Name of the component, must correspond to the name entered in the QSys dialog. For example, when you entered "altPLL50", instantiate as follows: SSymbol @ "altPLL50" |
-> Clock pllIn Source | Free running clock (i.e. a clock pin connected to a crystal) |
-> Reset pllIn Asynchronous | Reset for the PLL |
-> (Clock pllOut Source, Signal pllOut Bool) | (Stable PLL clock, PLL lock) |
A clock source that corresponds to the Intel/Quartus "ALTPLL" component
with settings to provide a stable Clock
from a single free-running input
Only works when configured with:
- 1 reference clock
- 1 output clock
- a reset port
- a locked port
You must use type applications to specify the output clock domain, e.g.:
type Dom100MHz = Dom "A" 10000
-- outputs a clock running at 100 MHz
altpll @Dom100MHz (SSymbol
@"altpll50to100") clk50 rst
:: SSymbol name | Name of the component, must correspond to the name entered in the QSys dialog. For example, when you entered "alteraPLL50", instantiate as follows: SSymbol @ "alteraPLL50" |
-> Clock pllIn Source | Free running clock (i.e. a clock pin connected to a crystal) |
-> Reset pllIn Asynchronous | Reset for the PLL |
-> (Clock pllOut Source, Signal pllOut Bool) | (Stable PLL clock, PLL lock) |
A clock source that corresponds to the Intel/Quartus "Altera PLL"
component with settings to provide a stable Clock
from a single
free-running input
Only works when configured with:
- 1 reference clock
- 1 output clock
- a reset port
- a locked port
You must use type applications to specify the output clock domain, e.g.:
type Dom100MHz = Dom "A" 10000
-- outputs a clock running at 100 MHz
alteraPll @Dom100MHz (SSymbol
@"alteraPll50to100") clk50 rst