示例#1
0
        public RemoveBufferRequest MakeRemoveBufferRequest()
        {
            var bufferData = UserData1.CommaSeparatedStringToList();

            return(new RemoveBufferRequest
            {
                SourceNetlist = SelectedNetlist,
                TargetNetlist = TargetSaveFile,
                BufferName = bufferData[0],
                InputPort = bufferData[1],
                OutputPort = bufferData[2]
            });
        }
示例#2
0
        public LibraryGateReplaceRequest MakeModuleReplaceRequest()
        {
            var oldData = UserData1.CommaSeparatedStringToList();
            var newData = UserData2.CommaSeparatedStringToList();

            return(new LibraryGateReplaceRequest
            {
                SourceNetlist = SelectedNetlist,
                TargetNetlist = TargetSaveFile,
                GateToReplace = oldData[0],
                NewGate = newData[0],
                PortsMapping = MakePortMapping(oldData, newData)
            });
        }