Skip to content

Commit 3808aca

Browse files
yportne13mrcmry
andcommitted
Apply review minor fixes
Co-authored-by: mrcmry <marc.emery@amnis.ch>
1 parent 1d17547 commit 3808aca

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

source/SpinalHDL/Data types/SVIF.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
.. _SVIF:
22

33
SVIF
4-
======
4+
====
55

66
Description
77
^^^^^^^^^^^
88

9-
The ``SVIF`` type specifically targets system Verilog designs.This type extends from ``Bundle``.When generating Verilog or VHDL, the behavior of this type is exactly the same as that of ``Bundle``.However, when generating System Verilog and enabling the ``svInterface`` option in SpinalConfig, this type will be generated as an Interface.
9+
The ``SVIF`` type specifically targets system Verilog designs. This type extends from ``Bundle``. When generating Verilog or VHDL, the behavior of this type is exactly the same as that of ``Bundle``. However, when generating System Verilog and enabling the ``svInterface`` option in SpinalConfig, this type will be generated as an ``Interface``.
1010

11-
This type is still an experimental feature
11+
This type is still an experimental feature.
1212

1313
Declaration
1414
^^^^^^^^^^^
@@ -76,9 +76,9 @@ Parameter
7676
.. code-block:: scala
7777
7878
case class Color(channelWidth: Int) extends SVIF {
79-
val width = addGeneric("WIDTH", channelWidth)// or addParameter
79+
val width = addGeneric("WIDTH", channelWidth) // or addParameter
8080
val r, g, b = UInt(channelWidth bits)
81-
tieGeneric(r, width)// or tieParameter
81+
tieGeneric(r, width) // or tieParameter
8282
tieGeneric(g, width)
8383
tieGeneric(b, width)
8484
@@ -110,7 +110,7 @@ Parameter
110110
def slv = asSlave
111111
}
112112
113-
this will generate system verilog code as below:
113+
This will generate system verilog code as below:
114114

115115
.. code-block:: scala
116116
@@ -163,9 +163,9 @@ this will generate system verilog code as below:
163163
Definition Name
164164
~~~~~~~~~~~~~~~
165165

166-
you can use ``setDefinitionName`` to set the definition name. But remember to use it before any clone of this interface
166+
You can use ``setDefinitionName`` to set the definition name. But remember to use it before any clone of this interface.
167167

168168
Not Interface
169169
~~~~~~~~~~~~~
170170

171-
If you have used a certain interface in multiple places, and at one of those locations ``sigA``, you wish to flatten it instead of generating an interface, you can achieve this by calling ``sigA.notSVIF()`` to fully flatten the signal. If the signal has nested interfaces and you only want to expand the outermost layer, you can use ``sigA.notSVIFthisLevel()``.
171+
If you have used a certain interface in multiple places, and at one of those locations ``mySignal``, you wish to flatten it instead of generating an interface, you can achieve this by calling ``mySignal.notSVIF()`` to fully flatten the signal. If the signal has nested interfaces and you only want to expand the outermost layer, you can use ``mySignal.notSVIFthisLevel()``.

0 commit comments

Comments
 (0)