public void PersonalizePlan(HLSPlan plan) { _plan = plan; _romFactory = plan.ProgramROMFactory; _bcu = new BCU(_romLatency + (_staged ? (_registered ? 2 : 1) : 0)); _plan.AddXILMapper(new BCUMapper(_bcu)); _plan.XILMappers.RemoveAll(xm => xm is ConstLoadingXILMapper); _plan.AddXILMapper(new SignalConstLoadingXILMapper()); }
public void PersonalizePlan(HLSPlan plan) { _bcuMapper = new InlineBCUMapper(); plan.AddXILMapper(_bcuMapper); }