summaryrefslogtreecommitdiff
path: root/blocks_xcos/Checker.py
diff options
context:
space:
mode:
Diffstat (limited to 'blocks_xcos/Checker.py')
-rwxr-xr-xblocks_xcos/Checker.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/blocks_xcos/Checker.py b/blocks_xcos/Checker.py
deleted file mode 100755
index ab7187c..0000000
--- a/blocks_xcos/Checker.py
+++ /dev/null
@@ -1,18 +0,0 @@
-import os
-
-# Blocks SUPER_f ,INIMPL_f ,IN_f ,OUTIMPL_f ,OUT_f ,CLKSOMV_f ,CLKINV_f and CLKOUTV_f don't contain simulationFunctionName attribute as their name
-# hence these blocks must be handled separately
-
-
-
-nameList=os.listdir("xcos")
-script_dir = os.path.dirname(__file__)
-rel_path = "xcos"
-abs_file_path = os.path.join(script_dir, rel_path)
-for i in nameList:
- ob=open(os.path.join(abs_file_path,i),"r")
- name=i[:-5]
- fileVal=ob.readline()
-
- if fileVal.find(name)==-1:
- print(name)