Esempio n. 1
0
        public static void RunTest()
        {
            DesignContext.Reset();
            Testbench tb = new Testbench();

            DesignContext.Instance.Elaborate();
            DesignContext.Instance.Simulate(101 * Testbench.ClockPeriod);
            DesignContext.Instance.CompleteAnalysis();

            VHDLGenerator        codeGen = new VHDLGenerator();
            DocumentationProject proj    = new DocumentationProject("./doc");

            SynthesisEngine.Create(DesignContext.Instance, proj).Synthesize(codeGen);
            proj.Save();
        }
Esempio n. 2
0
        public static void RunTest()
        {
            DesignContext.Reset();
            Testbench tb = new Testbench();
            DesignContext.Instance.Elaborate();
            DesignContext.Instance.Simulate(101 * Testbench.ClockPeriod);
            DesignContext.Instance.CompleteAnalysis();

            VHDLGenerator codeGen = new VHDLGenerator();
            DocumentationProject proj = new DocumentationProject("./doc");
            SynthesisEngine.Create(DesignContext.Instance, proj).Synthesize(codeGen);
            proj.Save();
        }