library->updateComboScene();
params->isCurrentProject = true;
enableProjectActions(true, PROJECT_CLOSE | PROJECT_SAVE | PROJECT_SAVEAS | PROJECT_LIB, OP_RAZ);
- enableAnalysisActions(true, ANALYSIS_ANALYZE, OP_RAZ);
+ enableAnalysisActions(true, ANALYSIS_ANALYZE | ANALYSIS_GENERATE, OP_RAZ);
}
else {
QMessageBox msgBox;
}
void MainWindow::slotGenerateVHDL() {
+
try {
- params->getGraph()->generateVHDL(params->projectPath);
+ dispatcher->generateVHDL();
}
catch(Exception e) {
cerr << qPrintable(e.getMessage()) << endl;