packages feed

clash-ghc-0.5.2: clash-ghc.cabal

Name:                 clash-ghc
Version:              0.5.2
Synopsis:             CAES Language for Synchronous Hardware
Description:
  CλaSH (pronounced ‘clash’) is a functional hardware description language that
  borrows both its syntax and semantics from the functional programming language
  Haskell. The merits of using a functional language to describe hardware comes
  from the fact that combinational circuits can be directly modelled as
  mathematical functions and that functional languages lend themselves very well
  at describing and (de-)composing mathematical functions.
  .
  This package provides:
  .
  * CλaSH Compiler binary using GHC/Haskell as a frontend
  .
  .
  Prelude library: <http://hackage.haskell.org/package/clash-prelude>
Homepage:             http://www.clash-lang.org/
bug-reports:          http://github.com/clash-lang/clash-compiler/issues
License:              BSD2
License-file:         LICENSE
Author:               Christiaan Baaij
Maintainer:           Christiaan Baaij <christiaan.baaij@gmail.com>
Copyright:            Copyright © 2012-2015 University of Twente
Category:             Hardware
Build-type:           Simple

Extra-source-files:   README.md,
                      CHANGELOG.md,
                      LICENSE_GHC,
                      src-bin/HsVersions.h,
                      src-bin/PosixSource.h

Cabal-version:        >=1.10

source-repository head
  type: git
  location: https://github.com/clash-lang/clash-compiler.git

Executable clash
  HS-Source-Dirs:     src-ghc src-bin
  Main-Is:            Main.hs

  default-language:   Haskell2010
  GHC-Options:        -Wall -fno-warn-name-shadowing
  CPP-Options:        -DGHCI
  default-extensions: ForeignFunctionInterface
                      UnboxedTuples
                      FlexibleInstances
                      MagicHash
                      CPP
                      PatternGuards
                      NondecreasingIndentation

  Build-Depends:      array                     >= 0.4,
                      base                      >= 4.3.1.0 && < 5,
                      bifunctors                >= 4.1.1,
                      bytestring                >= 0.9,
                      containers                >= 0.5.4.0,
                      directory                 >= 1.2,
                      filepath                  >= 1.3,
                      ghc                       >= 7.10.1,
                      process                   >= 1.2,
                      hashable                  >= 1.1.2.3,
                      haskeline                 >= 0.7.0.3,
                      lens                      >= 4.0.5,
                      mtl                       >= 2.1.1,
                      text                      >= 0.11.3.1,
                      transformers              >= 0.4.2,
                      unbound-generics          >= 0.1,
                      unordered-containers      >= 0.2.1.0,

                      clash-lib                 >= 0.5,
                      clash-vhdl                >= 0.5,
                      clash-systemverilog       >= 0.5,
                      clash-prelude             >= 0.7.2,
                      ghc-typelits-natnormalise >= 0.1.2

  if os(windows)
    Build-Depends:    Win32
  else
    Build-Depends:    unix

  C-Sources:          src-bin/hschooks.c

  Other-Modules:      InteractiveUI
                      GhciMonad
                      GhciTags

                      CLaSH.GHC.Evaluator
                      CLaSH.GHC.GenerateBindings
                      CLaSH.GHC.GHC2Core
                      CLaSH.GHC.LoadInterfaceFiles
                      CLaSH.GHC.LoadModules
                      CLaSH.GHC.NetlistTypes
                      Paths_clash_ghc