Ansoft Corp, Pittsburgh-based maker of electronic design automation software, says it has acquired Compact Software Inc in a cash and stock deal worth approximately $10.0m.