public IXILMapping TryAllocate(Component host, XILInstr instr, TypeDescriptor[] operandTypes, TypeDescriptor[] resultTypes, IProject targetProject) { if (instr.Name != InstructionCodes.Concat) { return(null); } int[] inWidths = operandTypes.Select(t => Marshal.SerializeForHW(t.GetSampleInstance()).Size).ToArray(); var key = new KeyClass(inWidths); InlineConcatMapperTransactionSite taSite = new InlineConcatMapperTransactionSite(this, host, inWidths); return(new ConcatMapping(taSite)); }
public ConcatProcessBuilder(InlineConcatMapperTransactionSite taSite) { _taSite = taSite; }
public ConcatMapping(InlineConcatMapperTransactionSite taSite) { _taSite = taSite; }
public IXILMapping TryAllocate(Component host, XILInstr instr, TypeDescriptor[] operandTypes, TypeDescriptor[] resultTypes, IProject targetProject) { if (instr.Name != InstructionCodes.Concat) return null; int[] inWidths = operandTypes.Select(t => Marshal.SerializeForHW(t.GetSampleInstance()).Size).ToArray(); var key = new KeyClass(inWidths); InlineConcatMapperTransactionSite taSite = new InlineConcatMapperTransactionSite(this, host, inWidths); return new ConcatMapping(taSite); }