diff --git a/techlibs/nanoxplore/brams.txt b/techlibs/nanoxplore/brams.txt index 046f54c23..d151cffa4 100644 --- a/techlibs/nanoxplore/brams.txt +++ b/techlibs/nanoxplore/brams.txt @@ -9,7 +9,7 @@ ram block $__NX_RAM_ { abits 14; widths 2 per_port; } - ifdef IS_NG_LARGE { + ifndef IS_NG_MEDIUM { option "STD_MODE" "NOECC_16kx3" { abits 14; widths 3 per_port; @@ -20,7 +20,7 @@ ram block $__NX_RAM_ { abits 13; widths 4 per_port; } - ifdef IS_NG_LARGE { + ifndef IS_NG_MEDIUM { option "STD_MODE" "NOECC_8kx6" { abits 13; widths 6 per_port; diff --git a/techlibs/nanoxplore/synth_nanoxplore.cc b/techlibs/nanoxplore/synth_nanoxplore.cc index 2d80a4189..b54b0e0d9 100644 --- a/techlibs/nanoxplore/synth_nanoxplore.cc +++ b/techlibs/nanoxplore/synth_nanoxplore.cc @@ -264,8 +264,8 @@ struct SynthNanoXplorePass : public ScriptPass if (check_label("map_ram")) { std::string args = ""; - if (family == "large") - args += " -D IS_NG_LARGE"; + if (family == "medium") + args += " -D IS_NG_MEDIUM"; if (nobram) args += " -no-auto-block"; if (norfram)