From 9cd7de7bbb70bff385c1f0f3ba3a45a1a10789e7 Mon Sep 17 00:00:00 2001
From: ROBBE Patrick <robbe@lal.in2p3.fr>
Date: Tue, 17 Dec 2019 09:33:44 +0100
Subject: [PATCH] Remove readPLLRegister script

---
 Scripts/readPLLRegister.py | 68 --------------------------------------
 1 file changed, 68 deletions(-)
 delete mode 100755 Scripts/readPLLRegister.py

diff --git a/Scripts/readPLLRegister.py b/Scripts/readPLLRegister.py
deleted file mode 100755
index d215b8c..0000000
--- a/Scripts/readPLLRegister.py
+++ /dev/null
@@ -1,68 +0,0 @@
-"""
-   readPLLRegister.py -- module to read external PLLs registers via i2c
-
-   Author
-    PR: First version
-
-"""
-import time
-import os
-import pathtocomponents
-import sys
-
-
-from fpga_comp import Arria10
-from si534x_comp import Si534x
-from xcvr_comp import xcvr
-
-
-def main():
-   if (len(sys.argv) != 2):
-      print "Missing argument"
-      print "Syntax : config_PLLs <Nb_of_card> where Nb_of_pcie_slot"
-      exit()
-   elif (sys.argv[1] == "0"):
-      print
-      print "===== Target board = 0"
-      dev = 0
-   elif (sys.argv[1] == "2"):
-      print
-      print "===== Target board = 2"
-      dev = 2
-   else:
-      print "Wrong argument"
-      print "Syntax : config_PLLs <Nb_of_card> where Nb_of_pcie_slot = 0 or 2"
-      exit()
-
-   # Program PLLs
-   devices = \
-       {1: "SI5345_U23",
-        2: "SI5345_U48",
-        3: "SI5344_U54"
-        }
-   ports = \
-       {1: [0, 1, 2, 3],
-        2: [0, 1, 3, 4, 8],
-        3: [0, 1]
-        }
-        
-   #dev = 0  # Creates a list of objects with the 3 PLLs
-   add = 0x68
-   pll = [Si534x(dev, bus, add) for bus in devices.keys()]
-   print
-   
-   for i in devices.keys():  # programs the 3 PLLs
-      print "-----------------------------------------------"
-      status, val = pll[i-1].read_part_number()
-      print "..... Type of chip =", format(val,'x')
-      status, val = pll[i-1].read_device_revision()
-      print "..... Revision =", val
-
-   print "-----------------------------------------------"
-
-
-   # Measure clocks
-
-
-if __name__ == "__main__":
-    main()
-- 
GitLab