Example #1
0
        static void Main(string[] args)
        {
            // Enter into a test loop
            TestLoop t = new TestLoop();

            if (args.Length >= 1)
            {
                string filename = args[0];
                string basePath = Environment.CurrentDirectory;
                while(filename.StartsWith("..\\"))
                {
                    basePath = Directory.GetParent(basePath).FullName;
                    filename = filename.Substring(3);
                }
                filename = System.IO.Path.Combine(basePath, filename);

                t.SetFpgaFilename(filename);
            }

            t.Run();
        }
Example #2
0
        static void Main(string[] args)
        {
            // Enter into a test loop
            TestLoop t = new TestLoop();

            if (args.Length >= 1)
            {
                string filename = args[0];
                string basePath = Environment.CurrentDirectory;
                while (filename.StartsWith("..\\"))
                {
                    basePath = Directory.GetParent(basePath).FullName;
                    filename = filename.Substring(3);
                }
                filename = System.IO.Path.Combine(basePath, filename);

                t.SetFpgaFilename(filename);
            }

            t.Run();
        }