예제 #1
0
        private void OpenFileCommand()
        {
            var openFileDialog = new OpenFileDialog
            {
                Filter           = "Verilog files (*.v)|*.v|Text files (*.txt)|*.txt|All files (*.*)|*.*",
                InitialDirectory = AppDomain.CurrentDomain.BaseDirectory
            };

            if (openFileDialog.ShowDialog() == true)
            {
                NetlistReadFilePath = openFileDialog.FileName;
                _netlistReadCommand = true;
                _toolRunner.ReadNetlist(NetlistReadFilePath);
            }
        }