From 887c8344dad8329049613141e24fb18767d284f5 Mon Sep 17 00:00:00 2001 From: wangzilu Date: Mon, 1 Apr 2024 15:10:37 +0800 Subject: [PATCH] doc(sv interface): add notSVIF method --- source/SpinalHDL/Data types/SVIF.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/SpinalHDL/Data types/SVIF.rst b/source/SpinalHDL/Data types/SVIF.rst index e08e2a42604..7b6c3c861cc 100644 --- a/source/SpinalHDL/Data types/SVIF.rst +++ b/source/SpinalHDL/Data types/SVIF.rst @@ -164,3 +164,8 @@ Definition Name ~~~~~~~~~~~~~~~ you can use ``setDefinitionName`` to set the definition name. But remember to use it before any clone of this interface + +Not Interface +~~~~~~~~~~~~~ + +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()``.