-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.yaml
202 lines (183 loc) · 4.09 KB
/
package.yaml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
name: clash-compucolor2
version: 0.1.0
synopsis: "Compucolor II home computer"
homepage: https://github.com/gergoerdi/clash-compucolor2
license: MIT
author: Gergő Érdi
maintainer: gergo@erdi.hu
copyright: 2020 Gergő Érdi
category: Hardware
extra-source-files:
- LICENSE
- README.md
data-files:
- image/*
custom-setup:
dependencies:
- base
- Cabal
- clashilator
dependencies:
- base >= 4.7 && < 5
- clash-prelude
- ghc-typelits-natnormalise
- ghc-typelits-extra
- ghc-typelits-knownnat
- retroclash-lib
- clash-shake
- intel8080
- regex-applicative
- filtrable
- mtl
- transformers
- array
- lens
- barbies
- barbies-th
- tuple
- extra
- template-haskell
# Anything that Clash uses by default should go here
default-extensions:
- BinaryLiterals
- ConstraintKinds
- DataKinds
- DeriveAnyClass
- DeriveGeneric
- DeriveLift
- DerivingStrategies
- ExplicitForAll
- ExplicitNamespaces
- FlexibleContexts
- FlexibleInstances
- KindSignatures
- MagicHash
- MonoLocalBinds
- NoImplicitPrelude
- NoStarIsType
- NoStrictData
- NoStrict
- QuasiQuotes
- ScopedTypeVariables
- TemplateHaskellQuotes
- TemplateHaskell
- TypeApplications
- TypeFamilies
- TypeOperators
ghc-options:
-fexpose-all-unfoldings -fno-worker-wrapper
-fplugin GHC.TypeLits.KnownNat.Solver
-fplugin GHC.TypeLits.Normalise
-fplugin GHC.TypeLits.Extra.Solver
flags:
sim:
manual: True
default: True
verilator:
manual: True
default: False
library:
source-dirs: src
exposed-modules:
- Hardware.Compucolor2
- Hardware.Compucolor2.CRT5027
- Hardware.Compucolor2.TMS5501
- Hardware.Compucolor2.Video
- Hardware.Compucolor2.Video.Plot
- Hardware.Compucolor2.Sim
executables:
compucolor2-font:
source-dirs: sim
main: font.hs
other-modules: []
dependencies:
- clash-compucolor2
- retroclash-sim
- bytestring
when:
- condition: "!flag(sim)"
buildable: false
compucolor2-screen:
source-dirs: sim
main: screen.hs
other-modules: []
dependencies:
- clash-compucolor2
- retroclash-sim
- bytestring
when:
- condition: "!flag(sim)"
buildable: false
compucolor2-cpu-screen:
source-dirs: sim
main: cpu-screen.hs
dependencies:
- clash-compucolor2
- retroclash-sim
- bytestring
- terminal
when:
- condition: "!flag(sim)"
buildable: false
compucolor2-cpu-screen-verilator:
source-dirs: sim
main: cpu-screen-verilator.hs
dependencies:
- clash-compucolor2
- retroclash-sim
- bytestring
- terminal
verbatim:
x-clashilator-top-is: Hardware.Compucolor2
x-clashilator-entity: simEntity
when:
- condition: "!(flag(sim) && flag(verilator))"
buildable: false
compucolor2-cpu-textscreen:
source-dirs: sim
main: cpu-textscreen.hs
dependencies:
- clash-compucolor2
- retroclash-sim
- terminal
when:
- condition: "!flag(sim)"
buildable: false
compucolor2-cpu-textscreen-verilator:
source-dirs: sim
main: cpu-textscreen-verilator.hs
other-modules:
- Hardware.Compucolor2.Sim.Terminal
dependencies:
- clash-compucolor2
- retroclash-sim
- terminal
verbatim:
x-clashilator-top-is: Hardware.Compucolor2
x-clashilator-entity: simEntity
when:
- condition: "!(flag(sim) && flag(verilator))"
buildable: false
compucolor2-sim:
source-dirs: sim
main: sim.hs
other-modules: []
dependencies:
- clash-compucolor2
- retroclash-sim
when:
- condition: "!flag(sim)"
buildable: false
compucolor2-verilator:
source-dirs: sim
main: verilator.hs
other-modules: []
dependencies:
- clash-compucolor2
- retroclash-sim
- extra
verbatim:
x-clashilator-top-is: Hardware.Compucolor2
when:
- condition: "!(flag(sim) && flag(verilator))"
buildable: false