Purge get_standard_libraries method: it is not totally correct and is never used

parent 47b3bddc
......@@ -41,10 +41,6 @@ class ToolActiveHDL(ActionMakefile):
def detect_version(self, path):
pass
def get_standard_libraries(self):
ALDEC_STANDARD_LIBS = ['ieee', 'std']
return ALDEC_STANDARD_LIBS
def supported_files(self, fileset):
from hdlmake.srcfile import SourceFileSet
sup_files = SourceFileSet()
......
......@@ -47,9 +47,6 @@ class ToolDiamond(ActionMakefile):
def detect_version(self, path):
return 'unknown'
def get_standard_libraries(self):
return DIAMOND_STANDARD_LIBS
def generate_synthesis_makefile(self, top_mod, tool_path):
makefile_tmplt = string.Template("""PROJECT := ${project_name}
DIAMOND_CRAP := \
......
......@@ -24,6 +24,7 @@
import string
from hdlmake.action import ActionMakefile
GHDL_STANDARD_LIBS = ['ieee', 'std']
class ToolGHDL(ActionMakefile):
......@@ -39,10 +40,6 @@ class ToolGHDL(ActionMakefile):
def detect_version(self, path):
pass
def get_standard_libraries(self):
GHDL_STANDARD_LIBS = ['ieee', 'std']
return GHDL_STANDARD_LIBS
def supported_files(self, fileset):
from hdlmake.srcfile import SourceFileSet
sup_files = SourceFileSet()
......
......@@ -81,9 +81,6 @@ class ToolISE(ActionMakefile):
self.fileset = []
self.flist = []
def get_standard_libraries(self):
return ISE_STANDARD_LIBS
def detect_version(self, path):
is_windows = path_mod.check_windows()
......
......@@ -53,9 +53,6 @@ class ToolISim(ActionMakefile):
def __init__(self):
super(ToolISim, self).__init__()
def get_standard_libraries(self):
return ISIM_STANDARD_LIBS
def detect_version(self, path):
is_windows = path_mod.check_windows()
isim = Popen(
......
......@@ -49,9 +49,6 @@ class ToolIVerilog(ActionMakefile):
def __init__(self):
super(ToolIVerilog, self).__init__()
def get_standard_libraries(self):
return IVERILOG_STANDARD_LIBS
def detect_version(self, path):
is_windows = path_mod.check_windows()
iverilog = Popen("iverilog -v 2>/dev/null| awk '{if(NR==1) print $4}'",
......
......@@ -48,9 +48,6 @@ class ToolLibero(ActionMakefile):
def detect_version(self, path):
return 'unknown'
def get_standard_libraries(self):
return LIBERO_STANDARD_LIBS
def generate_synthesis_makefile(self, top_mod, tool_path):
makefile_tmplt = string.Template("""PROJECT := ${project_name}
LIBERO_CRAP := \
......
......@@ -52,13 +52,9 @@ class ToolModelsim(VsimMakefileWriter):
self.additional_clean.extend(
["./modelsim.ini", "transcript", "*.vcd", "*.wlf"])
def detect_version(self, path):
pass
def get_standard_libraries(self):
return MODELSIM_STANDARD_LIBS
def supported_files(self, fileset):
from hdlmake.srcfile import SourceFileSet
sup_files = SourceFileSet()
......
......@@ -49,9 +49,6 @@ class ToolPlanAhead(ActionMakefile):
def detect_version(self, path):
return 'unknown'
def get_standard_libraries(self):
return PLANAHEAD_STANDARD_LIBS
def generate_synthesis_makefile(self, top_mod, tool_path):
makefile_tmplt = string.Template("""PROJECT := ${project_name}
PLANAHEAD_CRAP := \
......
......@@ -53,9 +53,6 @@ class ToolQuartus(ActionMakefile):
def detect_version(self, path):
return 'unknown'
def get_standard_libraries(self):
return QUARTUS_STANDARD_LIBS
def generate_synthesis_makefile(self, top_mod, tool_path):
makefile_tmplt = string.Template("""PROJECT := ${project_name}
QUARTUS_CRAP := \
......
......@@ -76,9 +76,6 @@ class ToolRiviera(VsimMakefileWriter):
def detect_version(self, path):
pass
def get_standard_libraries(self):
return RIVIERA_STANDARD_LIBS
def supported_files(self, fileset):
from hdlmake.srcfile import SourceFileSet
sup_files = SourceFileSet()
......
......@@ -49,9 +49,6 @@ class ToolVivado(ActionMakefile):
def detect_version(self, path):
return 'unknown'
def get_standard_libraries(self):
return VIVADO_STANDARD_LIBS
def generate_synthesis_makefile(self, top_mod, tool_path):
makefile_tmplt = string.Template("""PROJECT := ${project_name}
VIVADO_CRAP := \
......
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