Skip to content

Commit 1d17547

Browse files
yportne13mrcmry
authored andcommitted
doc(sv interface): add notSVIF method
1 parent 36a2e03 commit 1d17547

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

source/SpinalHDL/Data types/SVIF.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,8 @@ Definition Name
164164
~~~~~~~~~~~~~~~
165165

166166
you can use ``setDefinitionName`` to set the definition name. But remember to use it before any clone of this interface
167+
168+
Not Interface
169+
~~~~~~~~~~~~~
170+
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()``.

0 commit comments

Comments
 (0)