static void Main(string[] args) { //var hdl = "vhdl"; var hdl = "verilog"; var qargs = new string[] { "-s", Path.Combine(SolutionDir(), "qvr"), // "-w", // watch for changes "-c", $"{hdl}.json" }; QuokkaRunner.Default(qargs); }
static void Main(string[] args) { Console.WriteLine($"Running from {Directory.GetCurrentDirectory()}"); Console.WriteLine($"Quokka.FPGA version: {typeof(QuokkaRunner).Assembly.GetName().Version}"); Console.WriteLine($"Quokka.RTL version: {typeof(RTLBitArray).Assembly.GetName().Version}"); Console.WriteLine("Cleaning up ..."); var tempFolder = Path.Combine(Path.GetTempPath(), "quokka"); if (Directory.Exists(tempFolder)) { Directory.Delete(tempFolder, true); } QuokkaRunner.Default(args); }
static void RunInCurrentLocation(string[] args) { Console.WriteLine($"Environment: {RuntimeInformation.OSDescription}, {RuntimeInformation.OSArchitecture}, {RuntimeInformation.FrameworkDescription}, {RuntimeInformation.ProcessArchitecture}"); Console.WriteLine($"Current location: {Directory.GetCurrentDirectory()}"); Console.WriteLine($"Quokka.FPGA version: {typeof(QuokkaRunner).Assembly.GetName().Version}"); Console.WriteLine($"Quokka.RTL version: {typeof(RTLBitArray).Assembly.GetName().Version}"); Console.WriteLine($"Quokka.RISCV.Integration version: {typeof(RISCVIntegrationClient).Assembly.GetName().Version}"); Console.WriteLine($"Quokka.RISCV.CS2CPP version: {typeof(CSharp2CPPTranslator).Assembly.GetName().Version}"); Console.WriteLine("Cleaning up ..."); var tempFolder = Path.Combine(Path.GetTempPath(), "quokka"); if (Directory.Exists(tempFolder)) { Directory.Delete(tempFolder, true); } QuokkaRunner.Default(args); }
static void Main(string[] args) { QuokkaRunner.Default(args); }