You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only source file whitespace changes, the generated site is exactly the
same before and after (actual bug-for-bug compatiblity, including what
is obviously a formatting error X-D. I'll take care of it in another
PR.)
`wdiff` was used to verify the generated files were identical save white
space.
Check invariants while debugging and print warnings / errors which may be useful, such as alterting when unexpected changes occur or when a transformation introduces free variables / shadowing.
52
49
53
50
-fclash-debug-info
54
-
Specify the information to show about individual transformations while
55
-
debugging. From least to most information, these are
51
+
Specify the information to show about individual transformations while debugging.
52
+
From least to most information, these are
56
53
57
54
-`None` to show no information
58
55
@@ -62,25 +59,22 @@ debugging. From least to most information, these are
62
59
63
60
-`AppliedTerm` to show the result of applied transformations
64
61
65
-
-`TryName` to show the names of attempted transforamtions, as well as
66
-
the result of any transformations which are applied
62
+
-`TryName` to show the names of attempted transforamtions, as well as the result of any transformations which are applied
67
63
68
-
-`TryTerm` to show the names and results of all transformations
69
-
attempted whether they were applied or not
64
+
-`TryTerm` to show the names and results of all transformations attempted whether they were applied or not
70
65
71
66
**Default:**`None`
72
67
73
68
-fclash-debug-count-transformations
74
-
Count the transformations that are applied and print a summary at the
75
-
end of the normalization phase.
69
+
Count the transformations that are applied and print a summary at the end of the normalization phase.
76
70
77
71
-fclash-debug-history\[=FILENAME\]
78
-
Saves all applied rewrites into `FILENAME`, for later analysis with the
79
-
clash-term tool. When no filename is given it defaults to `history.dat`.
72
+
Saves all applied rewrites into `FILENAME`, for later analysis with the clash-term tool.
73
+
When no filename is given it defaults to `history.dat`.
80
74
81
75
-fclash-debug-transformations
82
-
List the transformations that are to be debugged. This is given as a
83
-
comma-separated list of transformations, e.g.
76
+
List the transformations that are to be debugged.
77
+
This is given as a comma-separated list of transformations, e.g.
Specify the directory that generated HDL is written into. For example
104
+
Specify the directory that generated HDL is written into.
105
+
For example
111
106
112
107
```bash
113
108
clash -fclash-hdldir build/hdl
114
109
```
115
110
116
111
will create a directory `build/hdl`
117
112
118
-
**Default:** Either `vhdl`, `verilog`, or `systemverilog` depending on
119
-
the synthesis target.
113
+
**Default:** Either `vhdl`, `verilog`, or `systemverilog` depending on the synthesis target.
120
114
121
115
-fclash-hdlsyn
122
-
Specify the HDL synthesis tool which will be used. Available options are
123
-
`Vivado`, `Quartus` and `Other`, but some synonyms for these exist
124
-
(`Xilinx` and `ISE` are synonyms for `Vivado`, `Altera` and `Intel` are
125
-
synyonyms for `Quartus`).
116
+
Specify the HDL synthesis tool which will be used.
117
+
Available options are `Vivado`, `Quartus` and `Other`, but some synonyms for these exist (`Xilinx` and `ISE` are synonyms for `Vivado`, `Altera` and `Intel` are synyonyms for `Quartus`).
126
118
127
119
**Default:**`Other`
128
120
129
121
-fclash-no-cache
130
-
Don't reuse previously generated output from Clash, instead generating
131
-
HDL from a clean state. While this leads to longer builds, it can be
132
-
useful in development.
122
+
Don't reuse previously generated output from Clash, instead generating HDL from a clean state.
123
+
While this leads to longer builds, it can be useful in development.
133
124
134
125
<divclass="warning">
135
126
@@ -139,25 +130,22 @@ Warning
139
130
140
131
</div>
141
132
142
-
Previously this flag was called `-fclash-nocache`, however this is now
143
-
deprecated.
133
+
Previously this flag was called `-fclash-nocache`, however this is now deprecated.
144
134
145
135
</div>
146
136
147
137
**Default:** Cache generated HDL
148
138
149
139
-fclash-no-check-inaccessible-idirs
150
-
Check that all include directories (containing primitives) exist when
151
-
running Clash. If any directory does not exist, an error is thrown.
140
+
Check that all include directories (containing primitives) exist when running Clash.
141
+
If any directory does not exist, an error is thrown.
152
142
153
143
**Default:** Check directories
154
144
155
145
-fclash-clear
156
146
Remove HDL directories before writing to them (if cache can't be used).
157
-
By default, Clash will only write to non-empty directories if it can
158
-
prove all files in it are generated by a previous run. This option
159
-
applies to directories of the various top entities, i.e., the
160
-
subdirectories made in the directory passed in with `-fclash-hdldir`.
147
+
By default, Clash will only write to non-empty directories if it can prove all files in it are generated by a previous run.
148
+
This option applies to directories of the various top entities, i.e., the subdirectories made in the directory passed in with `-fclash-hdldir`.
161
149
162
150
**Default:** Clean before build
163
151
@@ -179,27 +167,27 @@ Change the number of times a function can undergo specialization.
179
167
**Default:** 20
180
168
181
169
-fclash-inline-limit
182
-
Change the number of times a function `f` can undergo inlining inside
183
-
some other function `g`. This prevents the size of `g` growing
184
-
dramatically.
170
+
Change the number of times a function `f` can undergo inlining inside some other function `g`.
171
+
This prevents the size of `g` growing dramatically.
185
172
186
173
**Default:** 20
187
174
188
175
-fclash-inline-function-limit
189
-
Set the threshold for function size. Below this threshold functions are
190
-
always inlined (if it is not recursive).
176
+
Set the threshold for function size.
177
+
Below this threshold functions are always inlined (if it is not recursive).
191
178
192
179
**Default:** 15
193
180
194
181
-fclash-inline-constant-limit
195
-
Set the threshold for constant size. Below this threshold constants are
196
-
always inlined. A value of 0 inlines all constants.
182
+
Set the threshold for constant size.
183
+
Below this threshold constants are always inlined.
184
+
A value of 0 inlines all constants.
197
185
198
186
**Default:** 0
199
187
200
188
-fclash-evaluator-fuel-limit
201
-
Set the threshold for unfolding potentially non-terminating bindings in
202
-
the evaluator. A value of 0 only unfolds terminating bindings.
189
+
Set the threshold for unfolding potentially non-terminating bindings in the evaluator.
190
+
A value of 0 only unfolds terminating bindings.
203
191
204
192
**Default:** 20
205
193
@@ -211,21 +199,20 @@ The only allowed values are 32 or 64.
211
199
**Default:** Machine word size (`WORD_SIZE_IN_BITS`)
212
200
213
201
-fclash-error-extra
214
-
Print additional information with compiler errors if it as available. If
215
-
there is extra information and this flag is not enabled, a message will
216
-
be printed suggesting this flag.
202
+
Print additional information with compiler errors if it as available.
203
+
If there is extra information and this flag is not enabled, a message will be printed suggesting this flag.
217
204
218
205
**Default:** False
219
206
220
207
-fclash-float-support
221
-
Enable support for floating point numbers. If this is disabled, Clash
222
-
will not attempt to convert Float and Double values for hardware.
208
+
Enable support for floating point numbers.
209
+
If this is disabled, Clash will not attempt to convert Float and Double values for hardware.
223
210
224
211
**Default:** False
225
212
226
213
-fclash-component-prefix
227
-
Prefix the names of generated HDl components with a string. For example
228
-
a component `foo` would be called `xcorp_foo` if run with
214
+
Prefix the names of generated HDl components with a string.
215
+
For example a component `foo` would be called `xcorp_foo` if run with
0 commit comments