From 8db6a88b999c0b8e7a9de162edaa199696b3e382 Mon Sep 17 00:00:00 2001 From: Larry Ruckman Date: Tue, 26 Mar 2024 11:06:07 -0700 Subject: [PATCH] hiding 'advance debugging' registers in the GUI --- python/surf/xilinx/_AxiPciePhy.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/python/surf/xilinx/_AxiPciePhy.py b/python/surf/xilinx/_AxiPciePhy.py index f331169d56..80893dbcd6 100644 --- a/python/surf/xilinx/_AxiPciePhy.py +++ b/python/surf/xilinx/_AxiPciePhy.py @@ -47,6 +47,7 @@ def __init__( bitSize = 16, bitOffset = 0, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -55,6 +56,7 @@ def __init__( bitSize = 16, bitOffset = 16, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -63,6 +65,7 @@ def __init__( bitSize = 8, bitOffset = 0, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -71,6 +74,7 @@ def __init__( bitSize = 8, bitOffset = 8, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -79,6 +83,7 @@ def __init__( bitSize = 8, bitOffset = 16, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -87,6 +92,7 @@ def __init__( bitSize = 8, bitOffset = 24, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -95,6 +101,7 @@ def __init__( bitSize = 8, bitOffset = 0, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -103,6 +110,7 @@ def __init__( bitSize = 8, bitOffset = 8, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -111,6 +119,7 @@ def __init__( bitSize = 8, bitOffset = 16, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -119,6 +128,7 @@ def __init__( bitSize = 8, bitOffset = 24, mode = 'RO', + hidden = True, )) for i in range(6): @@ -128,6 +138,7 @@ def __init__( bitSize = 32, bitOffset = 0, mode = 'RO', + hidden = (i!=0), )) self.add(pr.RemoteVariable( @@ -136,6 +147,7 @@ def __init__( bitSize = 32, bitOffset = 0, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -160,6 +172,7 @@ def __init__( bitSize = 32, bitOffset = 0, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -168,6 +181,7 @@ def __init__( bitSize = 8, bitOffset = 0, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -176,6 +190,7 @@ def __init__( bitSize = 8, bitOffset = 0, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -184,6 +199,7 @@ def __init__( bitSize = 8, bitOffset = 8, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -192,6 +208,7 @@ def __init__( bitSize = 8, bitOffset = 16, mode = 'RO', + hidden = True, )) self.add(pr.RemoteVariable( @@ -200,6 +217,7 @@ def __init__( bitSize = 8, bitOffset = 24, mode = 'RO', + hidden = True, )) self.addRemoteVariables(