aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lufa/Projects/TempDataLogger/TempLogHostApp/Program.cs
blob: 2588e60c1433e701f970ceb6f7e3cdf4beda7a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pre { line-height: 125%; margin: 0; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; paddi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Project1HostApp
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmDataloggerSettings());
        }
    }
}
"kt">natural := a'length; signal state :natural; signal tmp :bit_vector(31 downto 0); begin process(a) begin case DATAPATH is when 8=> case state is when 0=> tmp(1*DATAPATH-1 downto 0*DATAPATH)<=a; when 1=> tmp(2*DATAPATH-1 downto 1*DATAPATH)<=a; -- When DATAPATH>10 this range violates bounds, but this code should not be reached because "case DATAPATH is when 8=>" when 2=> tmp(3*DATAPATH-1 downto 2*DATAPATH)<=a; when 3=> tmp(4*DATAPATH-1 downto 3*DATAPATH)<=a; when others=> end case; when 16=> case state is when 0=> tmp(1*DATAPATH-1 downto 0*DATAPATH)<=a; when 1=> tmp(2*DATAPATH-1 downto 1*DATAPATH)<=a; when others=> end case; when others=> end case; end process; end architecture;