Skip to content

Commit ee58196

Browse files
committed
Add extra blackbox policy doc
see SpinalHDL/SpinalHDL#1715
1 parent 23ec982 commit ee58196

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

source/SpinalHDL/Sequential logic/memory.rst

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,23 @@ There are multiple policies that you can use to select which memory you want to
227227
- Description
228228
* - ``blackboxAll``
229229
- | Blackbox all memory.
230-
| Throw an error on unblackboxable memory
230+
| Throw an error on unblackboxable memory.
231231
* - ``blackboxAllWhatsYouCan``
232-
- Blackbox all memory that is blackboxable
232+
- Blackbox every memory that is replaceable.
233233
* - ``blackboxRequestedAndUninferable``
234234
- | Blackbox memory specified by the user and memory that is known to be uninferable (mixed-width, ...).
235-
| Throw an error on unblackboxable memory
235+
| Throw an error on unblackboxable memory.
236236
* - ``blackboxOnlyIfRequested``
237-
- | Blackbox memory specified by the user
238-
| Throw an error on unblackboxable memory
237+
- | Blackbox memory specified by the user.
238+
| Throw an error on unblackboxable memory.
239+
* - ``blackboxByteEnables``
240+
- | Blackbox every memory which use write port with byte mask.
241+
| Useful because synthesis tool don't support an unified way to infer byte mask in verilog/VHDL.
242+
| Throw an error on unblackboxable memory.
243+
* - ``blackboxOnlyIfRequested``
244+
- | Blackbox memory specified by the user.
245+
| Throw an error on unblackboxable memory.
246+
239247

240248

241249
To explicitly set a memory to be blackboxed, you can use its ``generateAsBlackBox`` function.

0 commit comments

Comments
 (0)