-
Notifications
You must be signed in to change notification settings - Fork 0
/
thiccrv32.cabal
91 lines (85 loc) · 1.88 KB
/
thiccrv32.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
cabal-version: 3.0
name: thiccrv32
version: 0.1.0.0
license-file: LICENSE
author: Øystein Hovind
maintainer: [email protected]
build-type: Simple
extra-source-files: README.md, CHANGELOG.md
common common-options
default-extensions:
BinaryLiterals,
DataKinds,
DeriveAnyClass,
DeriveGeneric,
DuplicateRecordFields,
NoImplicitPrelude,
TypeApplications,
TypeFamilies,
TypeOperators,
ghc-options:
-fexpose-all-unfoldings
-fplugin GHC.TypeLits.Extra.Solver
-fplugin GHC.TypeLits.Normalise
-fplugin GHC.TypeLits.KnownNat.Solver
-fno-worker-wrapper
-fwarn-tabs
-fwarn-unused-imports
-fwarn-missing-signatures
-fwarn-name-shadowing
-fwarn-incomplete-patterns
-Wall -Wcompat
default-language: Haskell2010
build-depends:
base,
clash-prelude >= 1.2.5 && < 1.6,
ghc-typelits-natnormalise,
ghc-typelits-extra,
ghc-typelits-knownnat,
library
import: common-options
exposed-modules:
Core,
Clash.RISCV,
Clash.RISCV.Asm,
Clash.RISCV.Decode
hs-source-dirs: src
executable clash
main-is: bin/Clash.hs
ghc-options:
-dynamic
build-depends:
base,
clash-ghc,
thiccrv32,
default-language: Haskell2010
executable clashi
main-is: bin/Clashi.hs
ghc-options:
-dynamic
build-depends:
base,
clash-ghc,
thiccrv32,
default-language: Haskell2010
test-suite test-library
import: common-options
default-language: Haskell2010
hs-source-dirs: tests
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: Test.hs
other-modules:
Tests.Clash.RISCV.Decode
Tests.Clash.RISCV.Spec
build-depends:
thiccrv32,
binary-strict,
bytestring,
directory,
elf,
hedgehog,
QuickCheck,
tasty,
tasty-hedgehog,
tasty-hunit,