Skip to content

Commit

Permalink
Fix faulty code-block in blackbox doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcmry committed Apr 19, 2024
1 parent 2964080 commit 745b5b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/SpinalHDL/Structuring/blackbox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ By default the ports of the blackbox are considered clock-less, meaning no clock
You can also apply the tag to the whole bundle with :

.. code-block:: scala
val io = new Bundle{
val io = new Bundle {
val clk, rst = in Bool()
val a = in Bool()
val b = out Bool()
Expand All @@ -193,7 +194,8 @@ You can also apply the tag to the whole bundle with :
You can also apply the current clock domain to all the ports using (SpinalHDL 1.10.2):

.. code-block:: scala
val io = new Bundle{
val io = new Bundle {
val clk, rst = in Bool()
val a = in Bool()
val b = out Bool()
Expand Down

0 comments on commit 745b5b9

Please sign in to comment.