From 53d1c2c3097c48e2daa62cce98304f67fa840cec Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 3 Oct 2020 17:05:27 +0100 Subject: nexus: Fix validity checking Signed-off-by: David Shah --- nexus/pack.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'nexus/pack.cc') diff --git a/nexus/pack.cc b/nexus/pack.cc index bd237117..eb740858 100644 --- a/nexus/pack.cc +++ b/nexus/pack.cc @@ -236,10 +236,10 @@ struct NexusPacker ff_rules[type].port_xform[id_SP] = id_CE; ff_rules[type].port_xform[id_Q] = id_Q; - ff_rules[id_FD1P3BX].default_params.emplace_back(id_CLKMUX, std::string("CLK")); - ff_rules[id_FD1P3BX].default_params.emplace_back(id_CEMUX, std::string("CE")); - ff_rules[id_FD1P3BX].default_params.emplace_back(id_LSRMUX, std::string("LSR")); - ff_rules[id_FD1P3BX].set_params.emplace_back(id_LSRMODE, std::string("LSR")); + ff_rules[type].default_params.emplace_back(id_CLKMUX, std::string("CLK")); + ff_rules[type].default_params.emplace_back(id_CEMUX, std::string("CE")); + ff_rules[type].default_params.emplace_back(id_LSRMUX, std::string("LSR")); + ff_rules[type].set_params.emplace_back(id_LSRMODE, std::string("LSR")); } // Async preload ff_rules[id_FD1P3BX].set_params.emplace_back(id_SRMODE, std::string("ASYNC")); @@ -275,6 +275,7 @@ bool Arch::pack() (NexusPacker(getCtx()))(); attrs[id("step")] = std::string("pack"); archInfoToAttributes(); + assignArchInfo(); return true; } -- cgit v1.2.3