Commit fbf98eec authored by Tristan Gingold's avatar Tristan Gingold

srcfile: remove unused function.

parent 72cec82e
......@@ -63,16 +63,6 @@ class VHDLFile(SourceFile):
from hdlmake.vhdl_parser import VHDLParser
self.parser = VHDLParser(self)
def _check_encryption(self):
"""Check if the VHDL is encrypted (in Xilinx toolchain)"""
file_aux = open(self.path, "rb")
text = file_aux.read(3)
file_aux.close()
if text == b'Xlx':
return True
else:
return False
class VerilogFile(SourceFile):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment