-
Notifications
You must be signed in to change notification settings - Fork 8
/
clash-riscv.cabal
71 lines (68 loc) · 2.44 KB
/
clash-riscv.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
-- Initial clash-riscv.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: clash-riscv
version: 0.1.0.0
synopsis: RISC-V core written in Clash
description: RISC-V core written in Clash
license: BSD3
license-file: LICENSE
author: Adam Walker
maintainer: [email protected]
copyright: 2017 Adam Walker
category: Hardware
build-type: Simple
extra-source-files: ChangeLog.md, Readme.md
cabal-version: >=1.10
library
exposed-modules: Core.Pipeline, Core.Debug, Core.Mem, Core.RegFile, Core.Compare, Core.ALU, Core.Decode, Cache.ICache, Cache.Replacement, Cache.PseudoLRUTree
-- other-modules:
other-extensions: DataKinds, NoImplicitPrelude, TypeOperators, DeriveGeneric, DeriveAnyClass, RecordWildCards, OverloadedStrings, BinaryLiterals, ScopedTypeVariables, TemplateHaskell
build-depends:
base >=4.9 && <5,
riscv-isa >=0.1 && <0.2,
clash-prelude >=0.99 && <1,
text >=1.2 && <1.3,
deepseq >=1.4 && <1.5,
hspec >=2.3 && <2.6,
singletons >=2.2 && <2.5,
ghc-typelits-natnormalise,
ghc-typelits-knownnat,
ghc-typelits-extra
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
ScopedTypeVariables,
NoImplicitPrelude,
TypeOperators,
DataKinds,
FlexibleContexts,
TypeApplications,
BinaryLiterals,
GADTs,
KindSignatures,
TypeFamilies
ghc-options: -fplugin=GHC.TypeLits.Normalise -fplugin=GHC.TypeLits.KnownNat.Solver -fplugin GHC.TypeLits.Extra.Solver
Test-Suite test
type: exitcode-stdio-1.0
main-is: TestSuite.hs
other-modules: CacheTest, Program, TestUtils
build-depends:
base >=4.6 && <5,
clash-prelude >=0.99 && <1,
hspec,
QuickCheck,
riscv-isa,
clash-riscv
hs-source-dirs: test
default-language: Haskell2010
default-extensions:
ScopedTypeVariables,
TypeOperators,
DataKinds,
FlexibleContexts,
TypeApplications,
BinaryLiterals,
GADTs,
KindSignatures,
TypeFamilies,
RecordWildCards