[VTA][Config] hotfix denano10 (#3918)
authorLuis Vega <vegaluisjose@users.noreply.github.com>
Mon, 9 Sep 2019 17:31:31 +0000 (10:31 -0700)
committerThierry Moreau <moreau@uw.edu>
Mon, 9 Sep 2019 17:31:31 +0000 (10:31 -0700)
vta/config/vta_config.py

index 8c1f0af..1c2f050 100644 (file)
@@ -133,7 +133,7 @@ def main():
         cflags_str = " ".join(pkg.cflags)
         if pkg.TARGET == "pynq":
             cflags_str += " -DVTA_TARGET_PYNQ"
-        elif cfg.TARGET == "de10nano":
+        elif pkg.TARGET == "de10nano":
             cflags_str += " -DVTA_TARGET_DE10_NANO"
         elif pkg.TARGET == "ultra96":
             cflags_str += " -DVTA_TARGET_ULTRA96"