コード例 #1
0
        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));
        }
コード例 #2
0
 public ConcatProcessBuilder(InlineConcatMapperTransactionSite taSite)
 {
     _taSite = taSite;
 }
コード例 #3
0
 public ConcatMapping(InlineConcatMapperTransactionSite taSite)
 {
     _taSite = taSite;
 }
コード例 #4
0
 public ConcatProcessBuilder(InlineConcatMapperTransactionSite taSite)
 {
     _taSite = taSite;
 }
コード例 #5
0
        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);
        }
コード例 #6
0
 public ConcatMapping(InlineConcatMapperTransactionSite taSite)
 {
     _taSite = taSite;
 }