예제 #1
0
        void waveformUserControl1_Run(Schematix.Waveform.WaveformCore waveformCore)
        {
            if ((Core != null) && (Core.IsCompilerBusy == false))
            {
                //1. Сохраняем VCD файл
                waveformUserControl1.SaveVCDFile(ProjectElement.Path);

                //2. Генерируем тест
                string TBPath       = Core.CurrentCompiler.GenerateTestBenchFileName(waveformCore.FileName, waveformCore.EntityName, waveformCore.ArchitectureName);
                string TBArchName   = "testbench_architecture";
                string TBEntityName = string.Format("{0}_testbench", waveformCore.EntityName);
                waveformCore.GenerateTestBench(TBPath);

                string VCDPath = Core.CurrentCompiler.GenerateVCDFileName(waveformCore.FileName, waveformCore.EntityName, waveformCore.ArchitectureName);


                if (Core.CmdConsole != null)
                {
                    Core.CurrentCompiler.ProcessInterface = Core.CmdConsole.ProcessInterface;
                }
                Core.CurrentCompiler.CreateTestBenchDiagram(VCDPath, TBPath, TBEntityName, TBArchName, waveformCore.FileName, waveformCore.EntityName, waveformCore.ArchitectureName);
            }
        }
예제 #2
0
 private void CustomRunCommandHandler(Schematix.Waveform.WaveformCore core)
 {
 }