-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathlion-soc.cabal
76 lines (73 loc) · 2 KB
/
lion-soc.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
cabal-version: 2.4
name: lion-soc
version: 0.1.0.0
synopsis: Lion SoC
description: System-on-Chip using Lion and targeting the VELDT FPGA development board.
bug-reports: https://github.com/standardsemiconductor/lion/issues
license: BSD-3-Clause
author: dopamane
maintainer: dopamane <standard.semiconductor@gmail.com>
copyright: (c) 2021-2023 David Cox
category: Hardware
extra-source-files: CHANGELOG.md
library
exposed-modules: Soc
other-modules: Bus
, Uart
, Spram
, Spi
hs-source-dirs: src
default-language: Haskell2010
build-depends:
base >= 4.13 && < 4.21,
clash-prelude >= 1.4 && < 1.7,
generic-monoid >= 0.1 && < 0.2,
ice40-prim >= 0.3 && < 0.3.1.4,
lens,
lion >= 0.4 && < 0.5,
mtl >= 2.2 && < 2.4,
ghc-typelits-natnormalise,
ghc-typelits-extra,
ghc-typelits-knownnat
ghc-options:
-Wall -Werror -Wcompat
-haddock
-fplugin GHC.TypeLits.Extra.Solver
-fplugin GHC.TypeLits.Normalise
-fplugin GHC.TypeLits.KnownNat.Solver
-fexpose-all-unfoldings
-fno-worker-wrapper
default-extensions:
BinaryLiterals
DataKinds
DeriveAnyClass
DeriveGeneric
DerivingStrategies
DerivingVia
FlexibleContexts
GADTs
KindSignatures
LambdaCase
MagicHash
NoImplicitPrelude
NoStarIsType
ViewPatterns
TemplateHaskell
TypeOperators
executable soc
main-is: Main.hs
build-depends: base
, bytestring
, clash-ghc
, shake
hs-source-dirs: app
default-language: Haskell2010
executable com
main-is: Com.hs
build-depends: async >= 2.2 && < 2.3
, base
, serialport >= 0.5 && < 0.6
hs-source-dirs: app
default-extensions:
LambdaCase
default-language: Haskell2010