import com.bfh.logisim.fpgagui.FPGAReport;
import com.bfh.logisim.fpgagui.MappableResourcesContainer;
import com.bfh.logisim.hdlgenerator.FileWriter;
import com.bfh.logisim.hdlgenerator.TickComponentHDLGeneratorFactory;
import com.bfh.logisim.hdlgenerator.ToplevelHDLGeneratorFactory;
<BUG>import com.bfh.logisim.settings.Settings;
import com.cburch.logisim.proj.Projects;</BUG>
public class AlteraDownload {
public static boolean Download(Settings MySettings, String scriptPath,
<BUG>String ProjectPath, String SandboxPath, FPGAReport MyReporter) {
boolean SofFileExists = new File(SandboxPath</BUG>
+ ToplevelHDLGeneratorFactory.FPGAToplevelName + ".sof")

import com.bfh.logisim.fpgagui.FPGAReport;
import com.bfh.logisim.fpgagui.MappableResourcesContainer;
import com.bfh.logisim.hdlgenerator.FileWriter;
import com.bfh.logisim.hdlgenerator.TickComponentHDLGeneratorFactory;
import com.bfh.logisim.hdlgenerator.ToplevelHDLGeneratorFactory;
import com.bfh.logisim.settings.Settings;
import com.bfh.logisim.settings.VendorSoftware;
import com.cburch.logisim.proj.Projects;
public class AlteraDownload {
public static boolean Download(Settings MySettings, String scriptPath,
String ProjectPath, String SandboxPath, FPGAReport MyReporter) {
VendorSoftware alteraVendor = Settings.vendors.get(FPGAClass.VendorAltera);
boolean SofFileExists = new File(SandboxPath
+ ToplevelHDLGeneratorFactory.FPGAToplevelName + ".sof")
