typo and dead code

This commit is contained in:
Pepijn de Vos 2020-09-29 15:24:36 +02:00
parent 95564b7475
commit dd2b1f21f0
1 changed files with 1 additions and 5 deletions

View File

@ -62,10 +62,6 @@ class GowinToolchain():
def __init__(self): def __init__(self):
self.options = {} self.options = {}
def attr_translate(*args):
print(args)
pass
def build(self, platform, fragment, def build(self, platform, fragment,
build_dir = "build", build_dir = "build",
build_name = "top", build_name = "top",
@ -90,7 +86,7 @@ class GowinToolchain():
platform.add_source(v_file) platform.add_source(v_file)
if platform.verilog_include_paths: if platform.verilog_include_paths:
self.options['includ_path'] = '{' + ';'.join(platform.verilog_include_paths) + '}' self.options['include_path'] = '{' + ';'.join(platform.verilog_include_paths) + '}'
# Generate constraints file (.cst) # Generate constraints file (.cst)
_build_cst( _build_cst(