diff --git a/Form1.Designer.cs b/Form1.Designer.cs index 9f6f4e5..62ea054 100644 --- a/Form1.Designer.cs +++ b/Form1.Designer.cs @@ -30,10 +30,12 @@ { System.Windows.Forms.Label label34; System.Windows.Forms.Label label6; + System.Windows.Forms.Label label49; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.ssh_connect = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); + this.counters_rst = new System.Windows.Forms.Button(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.flowLayoutPanel16 = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel18 = new System.Windows.Forms.FlowLayoutPanel(); @@ -45,7 +47,9 @@ this.reg_read = new System.Windows.Forms.Button(); this.reg_write = new System.Windows.Forms.Button(); this.groupBox10 = new System.Windows.Forms.GroupBox(); + this.label20 = new System.Windows.Forms.Label(); this.cmac_read_all_regs = new System.Windows.Forms.Button(); + this.label16 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.flowLayoutPanel12 = new System.Windows.Forms.FlowLayoutPanel(); @@ -73,6 +77,8 @@ this.cmac_0_reg_0x10090 = new System.Windows.Forms.TextBox(); this.cmac_4_reg_0x10090 = new System.Windows.Forms.TextBox(); this.flowLayoutPanel37 = new System.Windows.Forms.FlowLayoutPanel(); + this.label21 = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); this.flowLayoutPanel38 = new System.Windows.Forms.FlowLayoutPanel(); this.label8 = new System.Windows.Forms.Label(); this.cmac_0_reg_0x00 = new System.Windows.Forms.TextBox(); @@ -107,8 +113,8 @@ this.cmac_4_reg_0x1C = new System.Windows.Forms.TextBox(); this.groupBox9 = new System.Windows.Forms.GroupBox(); this.flowLayoutPanel11 = new System.Windows.Forms.FlowLayoutPanel(); - this.dac_data_src_cmac = new System.Windows.Forms.RadioButton(); this.dac_data_src_quadsend_rcv = new System.Windows.Forms.RadioButton(); + this.dac_data_src_cmac = new System.Windows.Forms.RadioButton(); this.flowLayoutPanel10 = new System.Windows.Forms.FlowLayoutPanel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel(); @@ -197,13 +203,56 @@ this.cmac_tx_en = new System.Windows.Forms.RadioButton(); this.cmac_rxtx_en = new System.Windows.Forms.RadioButton(); this.cmac_disable = new System.Windows.Forms.RadioButton(); - this.counters_rst = new System.Windows.Forms.Button(); - this.label16 = new System.Windows.Forms.Label(); - this.label20 = new System.Windows.Forms.Label(); - this.label21 = new System.Windows.Forms.Label(); - this.label22 = new System.Windows.Forms.Label(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.groupBox11 = new System.Windows.Forms.GroupBox(); + this.cmac_rx_tx_debug_regs = new System.Windows.Forms.Button(); + this.label23 = new System.Windows.Forms.Label(); + this.label24 = new System.Windows.Forms.Label(); + this.flowLayoutPanel46 = new System.Windows.Forms.FlowLayoutPanel(); + this.flowLayoutPanel48 = new System.Windows.Forms.FlowLayoutPanel(); + this.label25 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x40 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x40 = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel49 = new System.Windows.Forms.FlowLayoutPanel(); + this.label26 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x44 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x44 = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel50 = new System.Windows.Forms.FlowLayoutPanel(); + this.label27 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x48 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x48 = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel51 = new System.Windows.Forms.FlowLayoutPanel(); + this.label28 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x4C = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x4C = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel52 = new System.Windows.Forms.FlowLayoutPanel(); + this.label48 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x50 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x50 = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel53 = new System.Windows.Forms.FlowLayoutPanel(); + this.cmac_0_reg_0x54 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x54 = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel55 = new System.Windows.Forms.FlowLayoutPanel(); + this.label52 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x58 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x58 = new System.Windows.Forms.TextBox(); + this.groupBox12 = new System.Windows.Forms.GroupBox(); + this.flowLayoutPanel54 = new System.Windows.Forms.FlowLayoutPanel(); + this.cmac2_dac_chan_both = new System.Windows.Forms.RadioButton(); + this.cmac2_dac_chan_1 = new System.Windows.Forms.RadioButton(); + this.cmac2_dac_chan_2 = new System.Windows.Forms.RadioButton(); + this.flowLayoutPanel56 = new System.Windows.Forms.FlowLayoutPanel(); + this.label50 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x10030 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x10030 = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel57 = new System.Windows.Forms.FlowLayoutPanel(); + this.label51 = new System.Windows.Forms.Label(); + this.cmac_0_reg_0x10058 = new System.Windows.Forms.TextBox(); + this.cmac_4_reg_0x10058 = new System.Windows.Forms.TextBox(); + this.flowLayoutPanel58 = new System.Windows.Forms.FlowLayoutPanel(); label34 = new System.Windows.Forms.Label(); label6 = new System.Windows.Forms.Label(); + label49 = new System.Windows.Forms.Label(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox3.SuspendLayout(); @@ -264,6 +313,21 @@ this.flowLayoutPanel36.SuspendLayout(); this.groupBox2.SuspendLayout(); this.flowLayoutPanel181.SuspendLayout(); + this.tabPage2.SuspendLayout(); + this.groupBox11.SuspendLayout(); + this.flowLayoutPanel46.SuspendLayout(); + this.flowLayoutPanel48.SuspendLayout(); + this.flowLayoutPanel49.SuspendLayout(); + this.flowLayoutPanel50.SuspendLayout(); + this.flowLayoutPanel51.SuspendLayout(); + this.flowLayoutPanel52.SuspendLayout(); + this.flowLayoutPanel53.SuspendLayout(); + this.flowLayoutPanel55.SuspendLayout(); + this.groupBox12.SuspendLayout(); + this.flowLayoutPanel54.SuspendLayout(); + this.flowLayoutPanel56.SuspendLayout(); + this.flowLayoutPanel57.SuspendLayout(); + this.flowLayoutPanel58.SuspendLayout(); this.SuspendLayout(); // // label34 @@ -290,6 +354,18 @@ label6.Text = "GT_LOOPBACK_REG - 0x90"; label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // + // label49 + // + label49.Location = new System.Drawing.Point(3, 2); + label49.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + label49.MaximumSize = new System.Drawing.Size(272, 26); + label49.MinimumSize = new System.Drawing.Size(272, 26); + label49.Name = "label49"; + label49.Size = new System.Drawing.Size(272, 26); + label49.TabIndex = 113; + label49.Text = "rx_pause_cnt - 0x54"; + label49.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // // ssh_connect // this.ssh_connect.Location = new System.Drawing.Point(3, 32); @@ -304,19 +380,19 @@ // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new System.Drawing.Point(0, 2); this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tabControl1.MinimumSize = new System.Drawing.Size(67, 68); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(1880, 857); + this.tabControl1.Size = new System.Drawing.Size(1343, 862); this.tabControl1.TabIndex = 16; // // tabPage1 // this.tabPage1.BackColor = System.Drawing.Color.Gainsboro; - this.tabPage1.Controls.Add(this.label20); - this.tabPage1.Controls.Add(this.label16); + this.tabPage1.Controls.Add(this.groupBox12); this.tabPage1.Controls.Add(this.counters_rst); this.tabPage1.Controls.Add(this.groupBox3); this.tabPage1.Controls.Add(this.groupBox10); @@ -331,16 +407,26 @@ this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 2); - this.tabPage1.Size = new System.Drawing.Size(1872, 828); + this.tabPage1.Size = new System.Drawing.Size(1335, 833); this.tabPage1.TabIndex = 0; // + // counters_rst + // + this.counters_rst.Location = new System.Drawing.Point(463, 720); + this.counters_rst.Name = "counters_rst"; + this.counters_rst.Size = new System.Drawing.Size(87, 47); + this.counters_rst.TabIndex = 116; + this.counters_rst.Text = "Counters Reset"; + this.counters_rst.UseVisualStyleBackColor = true; + this.counters_rst.Click += new System.EventHandler(this.counters_rst_Click); + // // groupBox3 // this.groupBox3.Controls.Add(this.flowLayoutPanel16); - this.groupBox3.Location = new System.Drawing.Point(913, 609); - this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox3.Location = new System.Drawing.Point(570, 665); + this.groupBox3.Margin = new System.Windows.Forms.Padding(4); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox3.Padding = new System.Windows.Forms.Padding(4); this.groupBox3.Size = new System.Drawing.Size(233, 159); this.groupBox3.TabIndex = 115; this.groupBox3.TabStop = false; @@ -354,7 +440,7 @@ this.flowLayoutPanel16.Controls.Add(this.reg_read); this.flowLayoutPanel16.Controls.Add(this.reg_write); this.flowLayoutPanel16.Location = new System.Drawing.Point(12, 23); - this.flowLayoutPanel16.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel16.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel16.Name = "flowLayoutPanel16"; this.flowLayoutPanel16.Size = new System.Drawing.Size(193, 123); this.flowLayoutPanel16.TabIndex = 0; @@ -426,7 +512,7 @@ // reg_read // this.reg_read.Location = new System.Drawing.Point(4, 68); - this.reg_read.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.reg_read.Margin = new System.Windows.Forms.Padding(4); this.reg_read.Name = "reg_read"; this.reg_read.Size = new System.Drawing.Size(85, 52); this.reg_read.TabIndex = 129; @@ -437,7 +523,7 @@ // reg_write // this.reg_write.Location = new System.Drawing.Point(97, 68); - this.reg_write.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.reg_write.Margin = new System.Windows.Forms.Padding(4); this.reg_write.Name = "reg_write"; this.reg_write.Size = new System.Drawing.Size(85, 52); this.reg_write.TabIndex = 130; @@ -447,23 +533,36 @@ // // groupBox10 // - this.groupBox10.Controls.Add(this.cmac_read_all_regs); + this.groupBox10.Controls.Add(this.flowLayoutPanel58); + this.groupBox10.Controls.Add(this.label20); + this.groupBox10.Controls.Add(this.label16); this.groupBox10.Controls.Add(this.label7); this.groupBox10.Controls.Add(this.label17); this.groupBox10.Controls.Add(this.flowLayoutPanel12); - this.groupBox10.Location = new System.Drawing.Point(1193, 60); - this.groupBox10.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox10.Controls.Add(this.cmac_read_all_regs); + this.groupBox10.Location = new System.Drawing.Point(811, 40); + this.groupBox10.Margin = new System.Windows.Forms.Padding(4); this.groupBox10.Name = "groupBox10"; - this.groupBox10.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBox10.Size = new System.Drawing.Size(640, 624); + this.groupBox10.Padding = new System.Windows.Forms.Padding(4); + this.groupBox10.Size = new System.Drawing.Size(517, 692); this.groupBox10.TabIndex = 114; this.groupBox10.TabStop = false; this.groupBox10.Text = "CMAC Registers"; // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(393, 5); + this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(104, 17); + this.label20.TabIndex = 118; + this.label20.Text = "(0x8201_0000)"; + // // cmac_read_all_regs // - this.cmac_read_all_regs.Location = new System.Drawing.Point(73, 553); - this.cmac_read_all_regs.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.cmac_read_all_regs.Location = new System.Drawing.Point(48, 655); + this.cmac_read_all_regs.Margin = new System.Windows.Forms.Padding(4); this.cmac_read_all_regs.Name = "cmac_read_all_regs"; this.cmac_read_all_regs.Size = new System.Drawing.Size(100, 28); this.cmac_read_all_regs.TabIndex = 117; @@ -471,10 +570,20 @@ this.cmac_read_all_regs.UseVisualStyleBackColor = true; this.cmac_read_all_regs.Click += new System.EventHandler(this.cmac_reg_read_Click); // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(281, 5); + this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(104, 17); + this.label16.TabIndex = 117; + this.label16.Text = "(0x8101_0000)"; + // // label7 // this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(307, -1); + this.label7.Location = new System.Drawing.Point(307, 22); this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(62, 17); @@ -484,7 +593,7 @@ // label17 // this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(407, -1); + this.label17.Location = new System.Drawing.Point(407, 22); this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(62, 17); @@ -500,19 +609,12 @@ this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel20); this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel24); this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel29); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel37); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel38); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel39); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel40); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel41); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel42); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel43); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel44); - this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel45); - this.flowLayoutPanel12.Location = new System.Drawing.Point(5, 18); - this.flowLayoutPanel12.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel56); + this.flowLayoutPanel12.Controls.Add(this.flowLayoutPanel57); + this.flowLayoutPanel12.Location = new System.Drawing.Point(5, 46); + this.flowLayoutPanel12.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel12.Name = "flowLayoutPanel12"; - this.flowLayoutPanel12.Size = new System.Drawing.Size(502, 514); + this.flowLayoutPanel12.Size = new System.Drawing.Size(502, 267); this.flowLayoutPanel12.TabIndex = 94; // // flowLayoutPanel13 @@ -772,19 +874,41 @@ // this.flowLayoutPanel37.Controls.Add(this.label21); this.flowLayoutPanel37.Controls.Add(this.label22); - this.flowLayoutPanel37.Location = new System.Drawing.Point(0, 192); + this.flowLayoutPanel37.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel37.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel37.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel37.Name = "flowLayoutPanel37"; this.flowLayoutPanel37.Size = new System.Drawing.Size(499, 32); this.flowLayoutPanel37.TabIndex = 119; // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(4, 0); + this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label21.Name = "label21"; + this.label21.Padding = new System.Windows.Forms.Padding(270, 5, 0, 0); + this.label21.Size = new System.Drawing.Size(374, 22); + this.label21.TabIndex = 118; + this.label21.Text = "(0x8100_0000)"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(386, 0); + this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label22.Name = "label22"; + this.label22.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0); + this.label22.Size = new System.Drawing.Size(104, 22); + this.label22.TabIndex = 119; + this.label22.Text = "(0x8200_0000)"; + // // flowLayoutPanel38 // this.flowLayoutPanel38.Controls.Add(this.label8); this.flowLayoutPanel38.Controls.Add(this.cmac_0_reg_0x00); this.flowLayoutPanel38.Controls.Add(this.cmac_4_reg_0x00); - this.flowLayoutPanel38.Location = new System.Drawing.Point(0, 224); + this.flowLayoutPanel38.Location = new System.Drawing.Point(0, 32); this.flowLayoutPanel38.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel38.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel38.Name = "flowLayoutPanel38"; @@ -828,7 +952,7 @@ this.flowLayoutPanel39.Controls.Add(this.label9); this.flowLayoutPanel39.Controls.Add(this.cmac_0_reg_0x04); this.flowLayoutPanel39.Controls.Add(this.cmac_4_reg_0x04); - this.flowLayoutPanel39.Location = new System.Drawing.Point(0, 256); + this.flowLayoutPanel39.Location = new System.Drawing.Point(0, 64); this.flowLayoutPanel39.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel39.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel39.Name = "flowLayoutPanel39"; @@ -872,7 +996,7 @@ this.flowLayoutPanel40.Controls.Add(this.label10); this.flowLayoutPanel40.Controls.Add(this.cmac_0_reg_0x08); this.flowLayoutPanel40.Controls.Add(this.cmac_4_reg_0x08); - this.flowLayoutPanel40.Location = new System.Drawing.Point(0, 288); + this.flowLayoutPanel40.Location = new System.Drawing.Point(0, 96); this.flowLayoutPanel40.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel40.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel40.Name = "flowLayoutPanel40"; @@ -916,7 +1040,7 @@ this.flowLayoutPanel41.Controls.Add(this.label11); this.flowLayoutPanel41.Controls.Add(this.cmac_0_reg_0x0C); this.flowLayoutPanel41.Controls.Add(this.cmac_4_reg_0x0C); - this.flowLayoutPanel41.Location = new System.Drawing.Point(0, 320); + this.flowLayoutPanel41.Location = new System.Drawing.Point(0, 128); this.flowLayoutPanel41.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel41.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel41.Name = "flowLayoutPanel41"; @@ -960,7 +1084,7 @@ this.flowLayoutPanel42.Controls.Add(this.label12); this.flowLayoutPanel42.Controls.Add(this.cmac_0_reg_0x10); this.flowLayoutPanel42.Controls.Add(this.cmac_4_reg_0x10); - this.flowLayoutPanel42.Location = new System.Drawing.Point(0, 352); + this.flowLayoutPanel42.Location = new System.Drawing.Point(0, 160); this.flowLayoutPanel42.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel42.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel42.Name = "flowLayoutPanel42"; @@ -1004,7 +1128,7 @@ this.flowLayoutPanel43.Controls.Add(this.label13); this.flowLayoutPanel43.Controls.Add(this.cmac_0_reg_0x14); this.flowLayoutPanel43.Controls.Add(this.cmac_4_reg_0x14); - this.flowLayoutPanel43.Location = new System.Drawing.Point(0, 384); + this.flowLayoutPanel43.Location = new System.Drawing.Point(0, 192); this.flowLayoutPanel43.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel43.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel43.Name = "flowLayoutPanel43"; @@ -1048,7 +1172,7 @@ this.flowLayoutPanel44.Controls.Add(this.label14); this.flowLayoutPanel44.Controls.Add(this.cmac_0_reg_0x18); this.flowLayoutPanel44.Controls.Add(this.cmac_4_reg_0x18); - this.flowLayoutPanel44.Location = new System.Drawing.Point(0, 416); + this.flowLayoutPanel44.Location = new System.Drawing.Point(0, 224); this.flowLayoutPanel44.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel44.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel44.Name = "flowLayoutPanel44"; @@ -1064,7 +1188,7 @@ this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(272, 26); this.label14.TabIndex = 113; - this.label14.Text = "PROG_FULL_OFF_THRESH - 0x18"; + this.label14.Text = "PROG_FULL_ON_THRESH - 0x18"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // cmac_0_reg_0x18 @@ -1092,7 +1216,7 @@ this.flowLayoutPanel45.Controls.Add(this.label15); this.flowLayoutPanel45.Controls.Add(this.cmac_0_reg_0x1C); this.flowLayoutPanel45.Controls.Add(this.cmac_4_reg_0x1C); - this.flowLayoutPanel45.Location = new System.Drawing.Point(0, 448); + this.flowLayoutPanel45.Location = new System.Drawing.Point(0, 256); this.flowLayoutPanel45.Margin = new System.Windows.Forms.Padding(0); this.flowLayoutPanel45.MaximumSize = new System.Drawing.Size(499, 32); this.flowLayoutPanel45.Name = "flowLayoutPanel45"; @@ -1108,7 +1232,7 @@ this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(272, 26); this.label15.TabIndex = 113; - this.label15.Text = "PROG_FULL_ON_THRESH - 0x1C"; + this.label15.Text = "PROG_FULL_OFF_THRESH - 0x1C"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // cmac_0_reg_0x1C @@ -1135,11 +1259,11 @@ // this.groupBox9.Controls.Add(this.flowLayoutPanel11); this.groupBox9.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.groupBox9.Location = new System.Drawing.Point(700, 64); - this.groupBox9.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox9.Location = new System.Drawing.Point(621, 64); + this.groupBox9.Margin = new System.Windows.Forms.Padding(4); this.groupBox9.Name = "groupBox9"; - this.groupBox9.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBox9.Size = new System.Drawing.Size(173, 123); + this.groupBox9.Padding = new System.Windows.Forms.Padding(4); + this.groupBox9.Size = new System.Drawing.Size(173, 109); this.groupBox9.TabIndex = 113; this.groupBox9.TabStop = false; this.groupBox9.Text = "DAC Data Source"; @@ -1147,29 +1271,18 @@ // flowLayoutPanel11 // this.flowLayoutPanel11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.flowLayoutPanel11.Controls.Add(this.dac_data_src_cmac); this.flowLayoutPanel11.Controls.Add(this.dac_data_src_quadsend_rcv); + this.flowLayoutPanel11.Controls.Add(this.dac_data_src_cmac); this.flowLayoutPanel11.Location = new System.Drawing.Point(8, 23); - this.flowLayoutPanel11.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel11.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel11.Name = "flowLayoutPanel11"; - this.flowLayoutPanel11.Size = new System.Drawing.Size(145, 72); + this.flowLayoutPanel11.Size = new System.Drawing.Size(145, 74); this.flowLayoutPanel11.TabIndex = 0; // - // dac_data_src_cmac - // - this.dac_data_src_cmac.Location = new System.Drawing.Point(8, 2); - this.dac_data_src_cmac.Margin = new System.Windows.Forms.Padding(8, 2, 3, 2); - this.dac_data_src_cmac.Name = "dac_data_src_cmac"; - this.dac_data_src_cmac.Size = new System.Drawing.Size(133, 30); - this.dac_data_src_cmac.TabIndex = 4; - this.dac_data_src_cmac.Text = "CMAC"; - this.dac_data_src_cmac.UseVisualStyleBackColor = true; - this.dac_data_src_cmac.Click += new System.EventHandler(this.dac_data_src_cmac_Click); - // // dac_data_src_quadsend_rcv // this.dac_data_src_quadsend_rcv.Checked = true; - this.dac_data_src_quadsend_rcv.Location = new System.Drawing.Point(8, 36); + this.dac_data_src_quadsend_rcv.Location = new System.Drawing.Point(8, 2); this.dac_data_src_quadsend_rcv.Margin = new System.Windows.Forms.Padding(8, 2, 3, 2); this.dac_data_src_quadsend_rcv.Name = "dac_data_src_quadsend_rcv"; this.dac_data_src_quadsend_rcv.Size = new System.Drawing.Size(133, 30); @@ -1179,14 +1292,25 @@ this.dac_data_src_quadsend_rcv.UseVisualStyleBackColor = true; this.dac_data_src_quadsend_rcv.Click += new System.EventHandler(this.dac_data_src_quadsend_rcv_Click); // + // dac_data_src_cmac + // + this.dac_data_src_cmac.Location = new System.Drawing.Point(8, 36); + this.dac_data_src_cmac.Margin = new System.Windows.Forms.Padding(8, 2, 3, 2); + this.dac_data_src_cmac.Name = "dac_data_src_cmac"; + this.dac_data_src_cmac.Size = new System.Drawing.Size(133, 30); + this.dac_data_src_cmac.TabIndex = 4; + this.dac_data_src_cmac.Text = "CMAC"; + this.dac_data_src_cmac.UseVisualStyleBackColor = true; + this.dac_data_src_cmac.Click += new System.EventHandler(this.dac_data_src_cmac_Click); + // // flowLayoutPanel10 // this.flowLayoutPanel10.Controls.Add(this.groupBox1); this.flowLayoutPanel10.Controls.Add(this.groupBox6); this.flowLayoutPanel10.Controls.Add(this.groupBox8); this.flowLayoutPanel10.Controls.Add(this.groupBox7); - this.flowLayoutPanel10.Location = new System.Drawing.Point(1007, 80); - this.flowLayoutPanel10.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel10.Location = new System.Drawing.Point(460, 150); + this.flowLayoutPanel10.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel10.Name = "flowLayoutPanel10"; this.flowLayoutPanel10.Size = new System.Drawing.Size(145, 480); this.flowLayoutPanel10.TabIndex = 112; @@ -1195,9 +1319,9 @@ // this.groupBox1.Controls.Add(this.flowLayoutPanel4); this.groupBox1.Location = new System.Drawing.Point(4, 4); - this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox1.Margin = new System.Windows.Forms.Padding(4); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox1.Padding = new System.Windows.Forms.Padding(4); this.groupBox1.Size = new System.Drawing.Size(136, 110); this.groupBox1.TabIndex = 109; this.groupBox1.TabStop = false; @@ -1209,7 +1333,7 @@ this.flowLayoutPanel4.Controls.Add(this.qsfp1_present); this.flowLayoutPanel4.Controls.Add(this.qsfp1_intl); this.flowLayoutPanel4.Location = new System.Drawing.Point(7, 20); - this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel4.Name = "flowLayoutPanel4"; this.flowLayoutPanel4.Size = new System.Drawing.Size(115, 78); this.flowLayoutPanel4.TabIndex = 110; @@ -1218,7 +1342,7 @@ // this.qsfp1_present.BackColor = System.Drawing.Color.Red; this.qsfp1_present.Location = new System.Drawing.Point(4, 4); - this.qsfp1_present.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp1_present.Margin = new System.Windows.Forms.Padding(4); this.qsfp1_present.Name = "qsfp1_present"; this.qsfp1_present.Size = new System.Drawing.Size(104, 28); this.qsfp1_present.TabIndex = 110; @@ -1229,7 +1353,7 @@ // this.qsfp1_intl.BackColor = System.Drawing.Color.LightGreen; this.qsfp1_intl.Location = new System.Drawing.Point(4, 40); - this.qsfp1_intl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp1_intl.Margin = new System.Windows.Forms.Padding(4); this.qsfp1_intl.Name = "qsfp1_intl"; this.qsfp1_intl.Size = new System.Drawing.Size(104, 28); this.qsfp1_intl.TabIndex = 111; @@ -1240,9 +1364,9 @@ // this.groupBox6.Controls.Add(this.flowLayoutPanel6); this.groupBox6.Location = new System.Drawing.Point(4, 122); - this.groupBox6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox6.Margin = new System.Windows.Forms.Padding(4); this.groupBox6.Name = "groupBox6"; - this.groupBox6.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox6.Padding = new System.Windows.Forms.Padding(4); this.groupBox6.Size = new System.Drawing.Size(136, 110); this.groupBox6.TabIndex = 111; this.groupBox6.TabStop = false; @@ -1254,7 +1378,7 @@ this.flowLayoutPanel6.Controls.Add(this.qsfp2_present); this.flowLayoutPanel6.Controls.Add(this.qsfp2_intl); this.flowLayoutPanel6.Location = new System.Drawing.Point(7, 20); - this.flowLayoutPanel6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel6.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel6.Name = "flowLayoutPanel6"; this.flowLayoutPanel6.Size = new System.Drawing.Size(115, 78); this.flowLayoutPanel6.TabIndex = 110; @@ -1263,7 +1387,7 @@ // this.qsfp2_present.BackColor = System.Drawing.Color.Red; this.qsfp2_present.Location = new System.Drawing.Point(4, 4); - this.qsfp2_present.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp2_present.Margin = new System.Windows.Forms.Padding(4); this.qsfp2_present.Name = "qsfp2_present"; this.qsfp2_present.Size = new System.Drawing.Size(104, 28); this.qsfp2_present.TabIndex = 110; @@ -1274,7 +1398,7 @@ // this.qsfp2_intl.BackColor = System.Drawing.Color.LightGreen; this.qsfp2_intl.Location = new System.Drawing.Point(4, 40); - this.qsfp2_intl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp2_intl.Margin = new System.Windows.Forms.Padding(4); this.qsfp2_intl.Name = "qsfp2_intl"; this.qsfp2_intl.Size = new System.Drawing.Size(104, 28); this.qsfp2_intl.TabIndex = 111; @@ -1285,9 +1409,9 @@ // this.groupBox8.Controls.Add(this.flowLayoutPanel8); this.groupBox8.Location = new System.Drawing.Point(4, 240); - this.groupBox8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox8.Margin = new System.Windows.Forms.Padding(4); this.groupBox8.Name = "groupBox8"; - this.groupBox8.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox8.Padding = new System.Windows.Forms.Padding(4); this.groupBox8.Size = new System.Drawing.Size(136, 110); this.groupBox8.TabIndex = 111; this.groupBox8.TabStop = false; @@ -1299,7 +1423,7 @@ this.flowLayoutPanel8.Controls.Add(this.qsfp3_present); this.flowLayoutPanel8.Controls.Add(this.qsfp3_intl); this.flowLayoutPanel8.Location = new System.Drawing.Point(7, 20); - this.flowLayoutPanel8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel8.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel8.Name = "flowLayoutPanel8"; this.flowLayoutPanel8.Size = new System.Drawing.Size(115, 78); this.flowLayoutPanel8.TabIndex = 110; @@ -1308,7 +1432,7 @@ // this.qsfp3_present.BackColor = System.Drawing.Color.Red; this.qsfp3_present.Location = new System.Drawing.Point(4, 4); - this.qsfp3_present.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp3_present.Margin = new System.Windows.Forms.Padding(4); this.qsfp3_present.Name = "qsfp3_present"; this.qsfp3_present.Size = new System.Drawing.Size(104, 28); this.qsfp3_present.TabIndex = 110; @@ -1319,7 +1443,7 @@ // this.qsfp3_intl.BackColor = System.Drawing.Color.LightGreen; this.qsfp3_intl.Location = new System.Drawing.Point(4, 40); - this.qsfp3_intl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp3_intl.Margin = new System.Windows.Forms.Padding(4); this.qsfp3_intl.Name = "qsfp3_intl"; this.qsfp3_intl.Size = new System.Drawing.Size(104, 28); this.qsfp3_intl.TabIndex = 111; @@ -1330,9 +1454,9 @@ // this.groupBox7.Controls.Add(this.flowLayoutPanel7); this.groupBox7.Location = new System.Drawing.Point(4, 358); - this.groupBox7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox7.Margin = new System.Windows.Forms.Padding(4); this.groupBox7.Name = "groupBox7"; - this.groupBox7.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox7.Padding = new System.Windows.Forms.Padding(4); this.groupBox7.Size = new System.Drawing.Size(136, 110); this.groupBox7.TabIndex = 111; this.groupBox7.TabStop = false; @@ -1344,7 +1468,7 @@ this.flowLayoutPanel7.Controls.Add(this.qsfp4_present); this.flowLayoutPanel7.Controls.Add(this.qsfp4_intl); this.flowLayoutPanel7.Location = new System.Drawing.Point(7, 20); - this.flowLayoutPanel7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel7.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel7.Name = "flowLayoutPanel7"; this.flowLayoutPanel7.Size = new System.Drawing.Size(115, 78); this.flowLayoutPanel7.TabIndex = 110; @@ -1353,7 +1477,7 @@ // this.qsfp4_present.BackColor = System.Drawing.Color.Red; this.qsfp4_present.Location = new System.Drawing.Point(4, 4); - this.qsfp4_present.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp4_present.Margin = new System.Windows.Forms.Padding(4); this.qsfp4_present.Name = "qsfp4_present"; this.qsfp4_present.Size = new System.Drawing.Size(104, 28); this.qsfp4_present.TabIndex = 110; @@ -1364,7 +1488,7 @@ // this.qsfp4_intl.BackColor = System.Drawing.Color.LightGreen; this.qsfp4_intl.Location = new System.Drawing.Point(4, 40); - this.qsfp4_intl.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.qsfp4_intl.Margin = new System.Windows.Forms.Padding(4); this.qsfp4_intl.Name = "qsfp4_intl"; this.qsfp4_intl.Size = new System.Drawing.Size(104, 28); this.qsfp4_intl.TabIndex = 111; @@ -1373,10 +1497,10 @@ // // cmac_init // - this.cmac_init.Location = new System.Drawing.Point(688, 353); - this.cmac_init.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.cmac_init.Location = new System.Drawing.Point(629, 218); + this.cmac_init.Margin = new System.Windows.Forms.Padding(4); this.cmac_init.Name = "cmac_init"; - this.cmac_init.Size = new System.Drawing.Size(185, 78); + this.cmac_init.Size = new System.Drawing.Size(138, 78); this.cmac_init.TabIndex = 110; this.cmac_init.Text = "CMAC Init"; this.cmac_init.UseVisualStyleBackColor = true; @@ -1385,10 +1509,10 @@ // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(1695, 737); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.pictureBox1.Location = new System.Drawing.Point(824, 740); + this.pictureBox1.Margin = new System.Windows.Forms.Padding(4); this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(168, 81); + this.pictureBox1.Size = new System.Drawing.Size(198, 71); this.pictureBox1.TabIndex = 96; this.pictureBox1.TabStop = false; // @@ -1397,9 +1521,9 @@ this.groupBox5.Controls.Add(this.flowLayoutPanel5); this.groupBox5.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.groupBox5.Location = new System.Drawing.Point(31, 7); - this.groupBox5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox5.Margin = new System.Windows.Forms.Padding(4); this.groupBox5.Name = "groupBox5"; - this.groupBox5.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox5.Padding = new System.Windows.Forms.Padding(4); this.groupBox5.Size = new System.Drawing.Size(141, 116); this.groupBox5.TabIndex = 99; this.groupBox5.TabStop = false; @@ -1411,7 +1535,7 @@ this.flowLayoutPanel5.Controls.Add(this.ipAddress); this.flowLayoutPanel5.Controls.Add(this.ssh_connect); this.flowLayoutPanel5.Location = new System.Drawing.Point(8, 17); - this.flowLayoutPanel5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel5.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel5.Name = "flowLayoutPanel5"; this.flowLayoutPanel5.Size = new System.Drawing.Size(118, 78); this.flowLayoutPanel5.TabIndex = 110; @@ -1431,18 +1555,18 @@ this.groupBox4.Controls.Add(this.read_all_regs); this.groupBox4.Controls.Add(this.flowLayoutPanel15); this.groupBox4.Controls.Add(this.reboot_fpga); - this.groupBox4.Location = new System.Drawing.Point(180, 38); - this.groupBox4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.groupBox4.Location = new System.Drawing.Point(39, 124); + this.groupBox4.Margin = new System.Windows.Forms.Padding(4); this.groupBox4.Name = "groupBox4"; - this.groupBox4.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBox4.Size = new System.Drawing.Size(413, 727); + this.groupBox4.Padding = new System.Windows.Forms.Padding(4); + this.groupBox4.Size = new System.Drawing.Size(413, 706); this.groupBox4.TabIndex = 95; this.groupBox4.TabStop = false; this.groupBox4.Text = "FPGA Registers (0x8000_0000)"; // // read_all_regs // - this.read_all_regs.Location = new System.Drawing.Point(33, 662); + this.read_all_regs.Location = new System.Drawing.Point(12, 651); this.read_all_regs.Margin = new System.Windows.Forms.Padding(29, 1, 4, 1); this.read_all_regs.Name = "read_all_regs"; this.read_all_regs.Size = new System.Drawing.Size(105, 28); @@ -1474,7 +1598,7 @@ this.flowLayoutPanel15.Controls.Add(this.flowLayoutPanel35); this.flowLayoutPanel15.Controls.Add(this.flowLayoutPanel36); this.flowLayoutPanel15.Location = new System.Drawing.Point(5, 26); - this.flowLayoutPanel15.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel15.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel15.Name = "flowLayoutPanel15"; this.flowLayoutPanel15.Size = new System.Drawing.Size(398, 620); this.flowLayoutPanel15.TabIndex = 94; @@ -2097,8 +2221,8 @@ // // reboot_fpga // - this.reboot_fpga.Location = new System.Drawing.Point(241, 662); - this.reboot_fpga.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.reboot_fpga.Location = new System.Drawing.Point(215, 651); + this.reboot_fpga.Margin = new System.Windows.Forms.Padding(4); this.reboot_fpga.Name = "reboot_fpga"; this.reboot_fpga.Size = new System.Drawing.Size(148, 39); this.reboot_fpga.TabIndex = 88; @@ -2110,7 +2234,7 @@ // this.groupBox2.BackColor = System.Drawing.Color.Gainsboro; this.groupBox2.Controls.Add(this.flowLayoutPanel181); - this.groupBox2.Location = new System.Drawing.Point(689, 498); + this.groupBox2.Location = new System.Drawing.Point(621, 333); this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); @@ -2178,71 +2302,553 @@ this.cmac_disable.UseVisualStyleBackColor = true; this.cmac_disable.Click += new System.EventHandler(this.cmac_disable_Click); // - // counters_rst + // tabPage2 // - this.counters_rst.Location = new System.Drawing.Point(661, 720); - this.counters_rst.Name = "counters_rst"; - this.counters_rst.Size = new System.Drawing.Size(87, 47); - this.counters_rst.TabIndex = 116; - this.counters_rst.Text = "Counters Reset"; - this.counters_rst.UseVisualStyleBackColor = true; - this.counters_rst.Click += new System.EventHandler(this.counters_rst_Click); + this.tabPage2.BackColor = System.Drawing.Color.Gainsboro; + this.tabPage2.Controls.Add(this.groupBox11); + this.tabPage2.Location = new System.Drawing.Point(4, 25); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(1335, 833); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "tabPage2"; // - // label16 + // groupBox11 // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(1478, 34); - this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(104, 17); - this.label16.TabIndex = 117; - this.label16.Text = "(0x8101_0000)"; + this.groupBox11.Controls.Add(this.cmac_rx_tx_debug_regs); + this.groupBox11.Controls.Add(this.label23); + this.groupBox11.Controls.Add(this.label24); + this.groupBox11.Controls.Add(this.flowLayoutPanel46); + this.groupBox11.Location = new System.Drawing.Point(135, 132); + this.groupBox11.Margin = new System.Windows.Forms.Padding(4); + this.groupBox11.Name = "groupBox11"; + this.groupBox11.Padding = new System.Windows.Forms.Padding(4); + this.groupBox11.Size = new System.Drawing.Size(529, 348); + this.groupBox11.TabIndex = 115; + this.groupBox11.TabStop = false; + this.groupBox11.Text = "CMAC Registers"; // - // label20 + // cmac_rx_tx_debug_regs // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(1590, 34); - this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(104, 17); - this.label20.TabIndex = 118; - this.label20.Text = "(0x8201_0000)"; + this.cmac_rx_tx_debug_regs.Location = new System.Drawing.Point(59, 286); + this.cmac_rx_tx_debug_regs.Margin = new System.Windows.Forms.Padding(4); + this.cmac_rx_tx_debug_regs.Name = "cmac_rx_tx_debug_regs"; + this.cmac_rx_tx_debug_regs.Size = new System.Drawing.Size(100, 28); + this.cmac_rx_tx_debug_regs.TabIndex = 117; + this.cmac_rx_tx_debug_regs.Text = "Resfresh"; + this.cmac_rx_tx_debug_regs.UseVisualStyleBackColor = true; + this.cmac_rx_tx_debug_regs.Click += new System.EventHandler(this.cmac_rx_tx_debug_regs_Click); // - // label21 + // label23 // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(4, 0); - this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label21.Name = "label21"; - this.label21.Padding = new System.Windows.Forms.Padding(270, 5, 0, 0); - this.label21.Size = new System.Drawing.Size(374, 22); - this.label21.TabIndex = 118; - this.label21.Text = "(0x8100_0000)"; + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(307, -1); + this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(62, 17); + this.label23.TabIndex = 115; + this.label23.Text = "CMAC_0"; // - // label22 + // label24 // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(386, 0); - this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label22.Name = "label22"; - this.label22.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0); - this.label22.Size = new System.Drawing.Size(104, 22); - this.label22.TabIndex = 119; - this.label22.Text = "(0x8200_0000)"; + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(407, -1); + this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(62, 17); + this.label24.TabIndex = 116; + this.label24.Text = "CMAC_4"; + // + // flowLayoutPanel46 + // + this.flowLayoutPanel46.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.flowLayoutPanel46.Controls.Add(this.flowLayoutPanel48); + this.flowLayoutPanel46.Controls.Add(this.flowLayoutPanel49); + this.flowLayoutPanel46.Controls.Add(this.flowLayoutPanel50); + this.flowLayoutPanel46.Controls.Add(this.flowLayoutPanel51); + this.flowLayoutPanel46.Controls.Add(this.flowLayoutPanel52); + this.flowLayoutPanel46.Controls.Add(this.flowLayoutPanel53); + this.flowLayoutPanel46.Controls.Add(this.flowLayoutPanel55); + this.flowLayoutPanel46.Location = new System.Drawing.Point(5, 18); + this.flowLayoutPanel46.Margin = new System.Windows.Forms.Padding(4); + this.flowLayoutPanel46.Name = "flowLayoutPanel46"; + this.flowLayoutPanel46.Size = new System.Drawing.Size(502, 249); + this.flowLayoutPanel46.TabIndex = 94; + // + // flowLayoutPanel48 + // + this.flowLayoutPanel48.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.flowLayoutPanel48.Controls.Add(this.label25); + this.flowLayoutPanel48.Controls.Add(this.cmac_0_reg_0x40); + this.flowLayoutPanel48.Controls.Add(this.cmac_4_reg_0x40); + this.flowLayoutPanel48.Location = new System.Drawing.Point(0, 0); + this.flowLayoutPanel48.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel48.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel48.Name = "flowLayoutPanel48"; + this.flowLayoutPanel48.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel48.TabIndex = 102; + // + // label25 + // + this.label25.Location = new System.Drawing.Point(3, 2); + this.label25.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label25.MaximumSize = new System.Drawing.Size(272, 26); + this.label25.MinimumSize = new System.Drawing.Size(272, 26); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(272, 26); + this.label25.TabIndex = 113; + this.label25.Text = "tx_frame_cnt - 0x40"; + this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x40 + // + this.cmac_0_reg_0x40.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x40.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x40.Name = "cmac_0_reg_0x40"; + this.cmac_0_reg_0x40.ReadOnly = true; + this.cmac_0_reg_0x40.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x40.TabIndex = 8; + this.cmac_0_reg_0x40.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x40 + // + this.cmac_4_reg_0x40.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x40.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x40.Name = "cmac_4_reg_0x40"; + this.cmac_4_reg_0x40.ReadOnly = true; + this.cmac_4_reg_0x40.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x40.TabIndex = 114; + this.cmac_4_reg_0x40.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel49 + // + this.flowLayoutPanel49.Controls.Add(this.label26); + this.flowLayoutPanel49.Controls.Add(this.cmac_0_reg_0x44); + this.flowLayoutPanel49.Controls.Add(this.cmac_4_reg_0x44); + this.flowLayoutPanel49.Location = new System.Drawing.Point(0, 32); + this.flowLayoutPanel49.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel49.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel49.Name = "flowLayoutPanel49"; + this.flowLayoutPanel49.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel49.TabIndex = 113; + // + // label26 + // + this.label26.Location = new System.Drawing.Point(3, 2); + this.label26.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label26.MaximumSize = new System.Drawing.Size(272, 26); + this.label26.MinimumSize = new System.Drawing.Size(272, 26); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(272, 26); + this.label26.TabIndex = 113; + this.label26.Text = "tx_frame_underrun_cnt - 0x44"; + this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x44 + // + this.cmac_0_reg_0x44.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x44.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x44.Name = "cmac_0_reg_0x44"; + this.cmac_0_reg_0x44.ReadOnly = true; + this.cmac_0_reg_0x44.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x44.TabIndex = 8; + this.cmac_0_reg_0x44.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x44 + // + this.cmac_4_reg_0x44.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x44.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x44.Name = "cmac_4_reg_0x44"; + this.cmac_4_reg_0x44.ReadOnly = true; + this.cmac_4_reg_0x44.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x44.TabIndex = 115; + this.cmac_4_reg_0x44.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel50 + // + this.flowLayoutPanel50.Controls.Add(this.label27); + this.flowLayoutPanel50.Controls.Add(this.cmac_0_reg_0x48); + this.flowLayoutPanel50.Controls.Add(this.cmac_4_reg_0x48); + this.flowLayoutPanel50.Location = new System.Drawing.Point(0, 64); + this.flowLayoutPanel50.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel50.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel50.Name = "flowLayoutPanel50"; + this.flowLayoutPanel50.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel50.TabIndex = 131; + // + // label27 + // + this.label27.Location = new System.Drawing.Point(3, 2); + this.label27.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label27.MaximumSize = new System.Drawing.Size(272, 26); + this.label27.MinimumSize = new System.Drawing.Size(272, 26); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(272, 26); + this.label27.TabIndex = 113; + this.label27.Text = "tx_pause_cnt - 0x48"; + this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x48 + // + this.cmac_0_reg_0x48.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x48.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x48.Name = "cmac_0_reg_0x48"; + this.cmac_0_reg_0x48.ReadOnly = true; + this.cmac_0_reg_0x48.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x48.TabIndex = 8; + this.cmac_0_reg_0x48.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x48 + // + this.cmac_4_reg_0x48.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x48.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x48.Name = "cmac_4_reg_0x48"; + this.cmac_4_reg_0x48.ReadOnly = true; + this.cmac_4_reg_0x48.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x48.TabIndex = 116; + this.cmac_4_reg_0x48.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel51 + // + this.flowLayoutPanel51.Controls.Add(this.label28); + this.flowLayoutPanel51.Controls.Add(this.cmac_0_reg_0x4C); + this.flowLayoutPanel51.Controls.Add(this.cmac_4_reg_0x4C); + this.flowLayoutPanel51.Location = new System.Drawing.Point(0, 96); + this.flowLayoutPanel51.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel51.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel51.Name = "flowLayoutPanel51"; + this.flowLayoutPanel51.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel51.TabIndex = 115; + // + // label28 + // + this.label28.Location = new System.Drawing.Point(3, 2); + this.label28.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label28.MaximumSize = new System.Drawing.Size(272, 26); + this.label28.MinimumSize = new System.Drawing.Size(272, 26); + this.label28.Name = "label28"; + this.label28.Size = new System.Drawing.Size(272, 26); + this.label28.TabIndex = 113; + this.label28.Text = "rx_frame_cnt - 0x4C"; + this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x4C + // + this.cmac_0_reg_0x4C.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x4C.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x4C.Name = "cmac_0_reg_0x4C"; + this.cmac_0_reg_0x4C.ReadOnly = true; + this.cmac_0_reg_0x4C.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x4C.TabIndex = 8; + this.cmac_0_reg_0x4C.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x4C + // + this.cmac_4_reg_0x4C.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x4C.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x4C.Name = "cmac_4_reg_0x4C"; + this.cmac_4_reg_0x4C.ReadOnly = true; + this.cmac_4_reg_0x4C.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x4C.TabIndex = 116; + this.cmac_4_reg_0x4C.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel52 + // + this.flowLayoutPanel52.Controls.Add(this.label48); + this.flowLayoutPanel52.Controls.Add(this.cmac_0_reg_0x50); + this.flowLayoutPanel52.Controls.Add(this.cmac_4_reg_0x50); + this.flowLayoutPanel52.Location = new System.Drawing.Point(0, 128); + this.flowLayoutPanel52.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel52.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel52.Name = "flowLayoutPanel52"; + this.flowLayoutPanel52.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel52.TabIndex = 116; + // + // label48 + // + this.label48.Location = new System.Drawing.Point(3, 2); + this.label48.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label48.MaximumSize = new System.Drawing.Size(272, 26); + this.label48.MinimumSize = new System.Drawing.Size(272, 26); + this.label48.Name = "label48"; + this.label48.Size = new System.Drawing.Size(272, 26); + this.label48.TabIndex = 113; + this.label48.Text = "rx_frame_err_cnt - 0x50"; + this.label48.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x50 + // + this.cmac_0_reg_0x50.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x50.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x50.Name = "cmac_0_reg_0x50"; + this.cmac_0_reg_0x50.ReadOnly = true; + this.cmac_0_reg_0x50.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x50.TabIndex = 8; + this.cmac_0_reg_0x50.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x50 + // + this.cmac_4_reg_0x50.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x50.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x50.Name = "cmac_4_reg_0x50"; + this.cmac_4_reg_0x50.ReadOnly = true; + this.cmac_4_reg_0x50.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x50.TabIndex = 116; + this.cmac_4_reg_0x50.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel53 + // + this.flowLayoutPanel53.Controls.Add(label49); + this.flowLayoutPanel53.Controls.Add(this.cmac_0_reg_0x54); + this.flowLayoutPanel53.Controls.Add(this.cmac_4_reg_0x54); + this.flowLayoutPanel53.Location = new System.Drawing.Point(0, 160); + this.flowLayoutPanel53.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel53.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel53.Name = "flowLayoutPanel53"; + this.flowLayoutPanel53.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel53.TabIndex = 117; + // + // cmac_0_reg_0x54 + // + this.cmac_0_reg_0x54.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x54.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x54.Name = "cmac_0_reg_0x54"; + this.cmac_0_reg_0x54.ReadOnly = true; + this.cmac_0_reg_0x54.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x54.TabIndex = 8; + this.cmac_0_reg_0x54.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x54 + // + this.cmac_4_reg_0x54.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x54.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x54.Name = "cmac_4_reg_0x54"; + this.cmac_4_reg_0x54.ReadOnly = true; + this.cmac_4_reg_0x54.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x54.TabIndex = 116; + this.cmac_4_reg_0x54.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel55 + // + this.flowLayoutPanel55.Controls.Add(this.label52); + this.flowLayoutPanel55.Controls.Add(this.cmac_0_reg_0x58); + this.flowLayoutPanel55.Controls.Add(this.cmac_4_reg_0x58); + this.flowLayoutPanel55.Location = new System.Drawing.Point(0, 192); + this.flowLayoutPanel55.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel55.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel55.Name = "flowLayoutPanel55"; + this.flowLayoutPanel55.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel55.TabIndex = 123; + // + // label52 + // + this.label52.Location = new System.Drawing.Point(3, 2); + this.label52.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label52.MaximumSize = new System.Drawing.Size(272, 26); + this.label52.MinimumSize = new System.Drawing.Size(272, 26); + this.label52.Name = "label52"; + this.label52.Size = new System.Drawing.Size(272, 26); + this.label52.TabIndex = 113; + this.label52.Text = "rx_fifo_overflow_cnt - 0x58"; + this.label52.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x58 + // + this.cmac_0_reg_0x58.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x58.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x58.Name = "cmac_0_reg_0x58"; + this.cmac_0_reg_0x58.ReadOnly = true; + this.cmac_0_reg_0x58.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x58.TabIndex = 8; + this.cmac_0_reg_0x58.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x58 + // + this.cmac_4_reg_0x58.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x58.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x58.Name = "cmac_4_reg_0x58"; + this.cmac_4_reg_0x58.ReadOnly = true; + this.cmac_4_reg_0x58.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x58.TabIndex = 116; + this.cmac_4_reg_0x58.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // groupBox12 + // + this.groupBox12.BackColor = System.Drawing.Color.Gainsboro; + this.groupBox12.Controls.Add(this.flowLayoutPanel54); + this.groupBox12.Location = new System.Drawing.Point(621, 520); + this.groupBox12.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.groupBox12.Name = "groupBox12"; + this.groupBox12.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.groupBox12.Size = new System.Drawing.Size(192, 144); + this.groupBox12.TabIndex = 119; + this.groupBox12.TabStop = false; + this.groupBox12.Text = "CMAC to DAC Chan Sel"; + // + // flowLayoutPanel54 + // + this.flowLayoutPanel54.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.flowLayoutPanel54.Controls.Add(this.cmac2_dac_chan_both); + this.flowLayoutPanel54.Controls.Add(this.cmac2_dac_chan_1); + this.flowLayoutPanel54.Controls.Add(this.cmac2_dac_chan_2); + this.flowLayoutPanel54.Location = new System.Drawing.Point(11, 22); + this.flowLayoutPanel54.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.flowLayoutPanel54.Name = "flowLayoutPanel54"; + this.flowLayoutPanel54.Size = new System.Drawing.Size(151, 103); + this.flowLayoutPanel54.TabIndex = 63; + // + // cmac2_dac_chan_both + // + this.cmac2_dac_chan_both.Checked = true; + this.cmac2_dac_chan_both.Location = new System.Drawing.Point(8, 2); + this.cmac2_dac_chan_both.Margin = new System.Windows.Forms.Padding(8, 2, 3, 2); + this.cmac2_dac_chan_both.Name = "cmac2_dac_chan_both"; + this.cmac2_dac_chan_both.Size = new System.Drawing.Size(133, 30); + this.cmac2_dac_chan_both.TabIndex = 2; + this.cmac2_dac_chan_both.TabStop = true; + this.cmac2_dac_chan_both.Text = "Both"; + this.cmac2_dac_chan_both.UseVisualStyleBackColor = true; + this.cmac2_dac_chan_both.Click += new System.EventHandler(this.cmac2_dac_chan_both_Click); + // + // cmac2_dac_chan_1 + // + this.cmac2_dac_chan_1.Location = new System.Drawing.Point(8, 36); + this.cmac2_dac_chan_1.Margin = new System.Windows.Forms.Padding(8, 2, 3, 2); + this.cmac2_dac_chan_1.Name = "cmac2_dac_chan_1"; + this.cmac2_dac_chan_1.Size = new System.Drawing.Size(133, 30); + this.cmac2_dac_chan_1.TabIndex = 4; + this.cmac2_dac_chan_1.Text = "Chan 1"; + this.cmac2_dac_chan_1.UseVisualStyleBackColor = true; + this.cmac2_dac_chan_1.Click += new System.EventHandler(this.cmac2_dac_chan_1_Click); + // + // cmac2_dac_chan_2 + // + this.cmac2_dac_chan_2.Location = new System.Drawing.Point(8, 70); + this.cmac2_dac_chan_2.Margin = new System.Windows.Forms.Padding(8, 2, 3, 2); + this.cmac2_dac_chan_2.Name = "cmac2_dac_chan_2"; + this.cmac2_dac_chan_2.Size = new System.Drawing.Size(133, 30); + this.cmac2_dac_chan_2.TabIndex = 5; + this.cmac2_dac_chan_2.Text = "Chan 2"; + this.cmac2_dac_chan_2.UseVisualStyleBackColor = true; + this.cmac2_dac_chan_2.Click += new System.EventHandler(this.cmac2_dac_chan_2_Click); + // + // flowLayoutPanel56 + // + this.flowLayoutPanel56.Controls.Add(this.label50); + this.flowLayoutPanel56.Controls.Add(this.cmac_0_reg_0x10030); + this.flowLayoutPanel56.Controls.Add(this.cmac_4_reg_0x10030); + this.flowLayoutPanel56.Location = new System.Drawing.Point(0, 192); + this.flowLayoutPanel56.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel56.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel56.Name = "flowLayoutPanel56"; + this.flowLayoutPanel56.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel56.TabIndex = 133; + // + // label50 + // + this.label50.Location = new System.Drawing.Point(3, 2); + this.label50.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label50.MaximumSize = new System.Drawing.Size(272, 26); + this.label50.MinimumSize = new System.Drawing.Size(272, 26); + this.label50.Name = "label50"; + this.label50.Size = new System.Drawing.Size(272, 26); + this.label50.TabIndex = 113; + this.label50.Text = "TX_FLOW_CONTROL_ENABLE - 0x30"; + this.label50.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x10030 + // + this.cmac_0_reg_0x10030.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x10030.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x10030.Name = "cmac_0_reg_0x10030"; + this.cmac_0_reg_0x10030.ReadOnly = true; + this.cmac_0_reg_0x10030.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x10030.TabIndex = 8; + this.cmac_0_reg_0x10030.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x10030 + // + this.cmac_4_reg_0x10030.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x10030.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x10030.Name = "cmac_4_reg_0x10030"; + this.cmac_4_reg_0x10030.ReadOnly = true; + this.cmac_4_reg_0x10030.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x10030.TabIndex = 116; + this.cmac_4_reg_0x10030.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel57 + // + this.flowLayoutPanel57.Controls.Add(this.label51); + this.flowLayoutPanel57.Controls.Add(this.cmac_0_reg_0x10058); + this.flowLayoutPanel57.Controls.Add(this.cmac_4_reg_0x10058); + this.flowLayoutPanel57.Location = new System.Drawing.Point(0, 224); + this.flowLayoutPanel57.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel57.MaximumSize = new System.Drawing.Size(499, 32); + this.flowLayoutPanel57.Name = "flowLayoutPanel57"; + this.flowLayoutPanel57.Size = new System.Drawing.Size(499, 32); + this.flowLayoutPanel57.TabIndex = 134; + // + // label51 + // + this.label51.Location = new System.Drawing.Point(3, 2); + this.label51.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label51.MaximumSize = new System.Drawing.Size(272, 26); + this.label51.MinimumSize = new System.Drawing.Size(272, 26); + this.label51.Name = "label51"; + this.label51.Size = new System.Drawing.Size(272, 26); + this.label51.TabIndex = 113; + this.label51.Text = "TX_FLOW_CNTRL_QUANTA8 - 0x58"; + this.label51.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // cmac_0_reg_0x10058 + // + this.cmac_0_reg_0x10058.Location = new System.Drawing.Point(278, 4); + this.cmac_0_reg_0x10058.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_0_reg_0x10058.Name = "cmac_0_reg_0x10058"; + this.cmac_0_reg_0x10058.ReadOnly = true; + this.cmac_0_reg_0x10058.Size = new System.Drawing.Size(105, 22); + this.cmac_0_reg_0x10058.TabIndex = 8; + this.cmac_0_reg_0x10058.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // cmac_4_reg_0x10058 + // + this.cmac_4_reg_0x10058.Location = new System.Drawing.Point(383, 4); + this.cmac_4_reg_0x10058.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.cmac_4_reg_0x10058.Name = "cmac_4_reg_0x10058"; + this.cmac_4_reg_0x10058.ReadOnly = true; + this.cmac_4_reg_0x10058.Size = new System.Drawing.Size(105, 22); + this.cmac_4_reg_0x10058.TabIndex = 116; + this.cmac_4_reg_0x10058.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // flowLayoutPanel58 + // + this.flowLayoutPanel58.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel37); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel38); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel39); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel40); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel41); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel42); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel43); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel44); + this.flowLayoutPanel58.Controls.Add(this.flowLayoutPanel45); + this.flowLayoutPanel58.Location = new System.Drawing.Point(4, 318); + this.flowLayoutPanel58.Name = "flowLayoutPanel58"; + this.flowLayoutPanel58.Size = new System.Drawing.Size(506, 328); + this.flowLayoutPanel58.TabIndex = 119; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; - this.ClientSize = new System.Drawing.Size(1895, 897); + this.ClientSize = new System.Drawing.Size(1347, 870); this.Controls.Add(this.tabControl1); this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Name = "Form1"; - this.Text = "quadRT_CMAC_TestGUI - 11-APR-2026"; + this.Text = "quadRT_CMAC_TestGUI - 15-June-2026"; this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); - this.tabPage1.PerformLayout(); this.groupBox3.ResumeLayout(false); this.flowLayoutPanel16.ResumeLayout(false); this.flowLayoutPanel18.ResumeLayout(false); @@ -2339,6 +2945,31 @@ this.flowLayoutPanel36.PerformLayout(); this.groupBox2.ResumeLayout(false); this.flowLayoutPanel181.ResumeLayout(false); + this.tabPage2.ResumeLayout(false); + this.groupBox11.ResumeLayout(false); + this.groupBox11.PerformLayout(); + this.flowLayoutPanel46.ResumeLayout(false); + this.flowLayoutPanel48.ResumeLayout(false); + this.flowLayoutPanel48.PerformLayout(); + this.flowLayoutPanel49.ResumeLayout(false); + this.flowLayoutPanel49.PerformLayout(); + this.flowLayoutPanel50.ResumeLayout(false); + this.flowLayoutPanel50.PerformLayout(); + this.flowLayoutPanel51.ResumeLayout(false); + this.flowLayoutPanel51.PerformLayout(); + this.flowLayoutPanel52.ResumeLayout(false); + this.flowLayoutPanel52.PerformLayout(); + this.flowLayoutPanel53.ResumeLayout(false); + this.flowLayoutPanel53.PerformLayout(); + this.flowLayoutPanel55.ResumeLayout(false); + this.flowLayoutPanel55.PerformLayout(); + this.groupBox12.ResumeLayout(false); + this.flowLayoutPanel54.ResumeLayout(false); + this.flowLayoutPanel56.ResumeLayout(false); + this.flowLayoutPanel56.PerformLayout(); + this.flowLayoutPanel57.ResumeLayout(false); + this.flowLayoutPanel57.PerformLayout(); + this.flowLayoutPanel58.ResumeLayout(false); this.ResumeLayout(false); } @@ -2351,7 +2982,6 @@ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel181; private System.Windows.Forms.RadioButton cmac_tx_en; private System.Windows.Forms.RadioButton cmac_rx_en; - private System.Windows.Forms.Button reboot_fpga; private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel15; private System.Windows.Forms.TextBox reg_0x00; private System.Windows.Forms.Button read_all_regs; @@ -2515,6 +3145,54 @@ private System.Windows.Forms.Label label16; private System.Windows.Forms.Label label21; private System.Windows.Forms.Label label22; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.GroupBox groupBox11; + private System.Windows.Forms.Button cmac_rx_tx_debug_regs; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel46; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel48; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.TextBox cmac_0_reg_0x40; + private System.Windows.Forms.TextBox cmac_4_reg_0x40; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel49; + private System.Windows.Forms.Label label26; + private System.Windows.Forms.TextBox cmac_0_reg_0x44; + private System.Windows.Forms.TextBox cmac_4_reg_0x44; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel50; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.TextBox cmac_0_reg_0x48; + private System.Windows.Forms.TextBox cmac_4_reg_0x48; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel51; + private System.Windows.Forms.Label label28; + private System.Windows.Forms.TextBox cmac_0_reg_0x4C; + private System.Windows.Forms.TextBox cmac_4_reg_0x4C; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel52; + private System.Windows.Forms.Label label48; + private System.Windows.Forms.TextBox cmac_0_reg_0x50; + private System.Windows.Forms.TextBox cmac_4_reg_0x50; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel53; + private System.Windows.Forms.TextBox cmac_0_reg_0x54; + private System.Windows.Forms.TextBox cmac_4_reg_0x54; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel55; + private System.Windows.Forms.Label label52; + private System.Windows.Forms.TextBox cmac_0_reg_0x58; + private System.Windows.Forms.TextBox cmac_4_reg_0x58; + private System.Windows.Forms.Button reboot_fpga; + private System.Windows.Forms.GroupBox groupBox12; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel54; + private System.Windows.Forms.RadioButton cmac2_dac_chan_both; + private System.Windows.Forms.RadioButton cmac2_dac_chan_1; + private System.Windows.Forms.RadioButton cmac2_dac_chan_2; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel58; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel56; + private System.Windows.Forms.Label label50; + private System.Windows.Forms.TextBox cmac_0_reg_0x10030; + private System.Windows.Forms.TextBox cmac_4_reg_0x10030; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel57; + private System.Windows.Forms.Label label51; + private System.Windows.Forms.TextBox cmac_0_reg_0x10058; + private System.Windows.Forms.TextBox cmac_4_reg_0x10058; } } diff --git a/Form1.cs b/Form1.cs index ebcc845..2270fa7 100644 --- a/Form1.cs +++ b/Form1.cs @@ -160,8 +160,52 @@ namespace uartTestGUI reg_0x14.Text = ssh_ReadReg("0x80000014"); reg_0x20.Text = ssh_ReadReg("0x80000020"); + // reg_0x28.Text = ssh_ReadReg("0x80000028"); -// + val = (Convert.ToUInt32(reg_0x28.Text, 16)); + if (0 == (val & 0x300)) + { + dac_data_src_quadsend_rcv.Checked = true; + } + else if (0x100 == (val & 0x300)) + { + dac_data_src_cmac.Checked = true; + } + + if (1 == (val & 3)) + { + cmac_tx_en.Checked = true; + } + else if (2 == (val & 3)) + { + cmac_rx_en.Checked = true; + } + else if(3 == (val & 3)) + { + cmac_rxtx_en.Checked = true; + } + else + { + cmac_disable.Checked = true; + } + + + str = ssh_ReadReg("0x80000020"); // dummy register to flag that cmac has been initialized + val = (Convert.ToUInt32(str, 16)); + if (0xCAFE == val) + { + // CMAC already init'ed + cmac_init.Text = "CMACs Initialized"; + cmac_init.BackColor = Color.LightGreen; + cmac_read_all_regs.PerformClick(); + } + else + { + cmac_init.Text = "CMAC_Init"; + cmac_init.BackColor = Color.Gainsboro; + } + + str = ssh_ReadReg("0x8000002C"); val = (Convert.ToUInt32(str, 16)); reg_0x2C.Text = val.ToString("D"); @@ -212,6 +256,8 @@ namespace uartTestGUI cmac_0_reg_0x10014.Text = ""; cmac_0_reg_0x10024.Text = ""; cmac_0_reg_0x10090.Text = ""; + cmac_4_reg_0x10030.Text = ""; + cmac_4_reg_0x10058.Text = ""; cmac_0_reg_0x00.Text = ""; cmac_0_reg_0x04.Text = ""; @@ -228,6 +274,8 @@ namespace uartTestGUI cmac_0_reg_0x10014.Text = ssh_ReadReg("0x81010014"); cmac_0_reg_0x10024.Text = ssh_ReadReg("0x81010024"); cmac_0_reg_0x10090.Text = ssh_ReadReg("0x81010090"); + cmac_0_reg_0x10030.Text = ssh_ReadReg("0x81010030"); + cmac_0_reg_0x10058.Text = ssh_ReadReg("0x81010058"); cmac_0_reg_0x00.Text = ssh_ReadReg("0x81000000"); cmac_0_reg_0x04.Text = ssh_ReadReg("0x81000004"); @@ -252,6 +300,8 @@ namespace uartTestGUI cmac_4_reg_0x10014.Text = ""; cmac_4_reg_0x10024.Text = ""; cmac_4_reg_0x10090.Text = ""; + cmac_4_reg_0x10030.Text = ""; + cmac_4_reg_0x10058.Text = ""; cmac_4_reg_0x00.Text = ""; cmac_4_reg_0x04.Text = ""; @@ -268,6 +318,8 @@ namespace uartTestGUI cmac_4_reg_0x10014.Text = ssh_ReadReg("0x82010014"); cmac_4_reg_0x10024.Text = ssh_ReadReg("0x82010024"); cmac_4_reg_0x10090.Text = ssh_ReadReg("0x82010090"); + cmac_4_reg_0x10030.Text = ssh_ReadReg("0x81010030"); + cmac_4_reg_0x10058.Text = ssh_ReadReg("0x81010058"); cmac_4_reg_0x00.Text = ssh_ReadReg("0x82000000"); cmac_4_reg_0x04.Text = ssh_ReadReg("0x82000004"); @@ -300,9 +352,10 @@ namespace uartTestGUI // read_all_regs.PerformClick(); // cmac_read_all_regs.PerformClick(); - reg_0x00.Text = ssh_ReadReg("0x80000000"); + // reg_0x00.Text = ssh_ReadReg("0x80000000"); cmac_0_reg_0x10024.Text = ssh_ReadReg("0x81010024"); cmac_4_reg_0x10024.Text = ssh_ReadReg("0x82010024"); + read_all_regs.PerformClick(); ssh_connect.Text = "Connected"; // ssh_client.Disconnect(); @@ -423,18 +476,25 @@ namespace uartTestGUI cmac_init.Text = "CMACs Initialized"; cmac_init.BackColor = Color.LightGreen; cmac_read_all_regs.PerformClick(); - + ssh_WriteReg("0x80000020", "0xCAFE"); // init flag } private void cmac_1_Init() { cmac_init.Text = "CMAC_1 Initializing..."; - // RESET + // RESET - CMAC_1 ssh_WriteReg("0x81010000", "0x1"); cmac_0_reg_0x10000.Text = ssh_ReadReg("0x81010000"); ssh_WriteReg("0x81010000", "0xFFFFFFFF"); cmac_0_reg_0x10000.Text = ssh_ReadReg("0x81010000"); - Thread.Sleep(5000); + + // await Task.Run(() => + // { + // Sleep 5 + Thread.Sleep(5000); + // }); + + // release RESET - CMAC_1 ssh_WriteReg("0x81010000", "0x0"); cmac_0_reg_0x10000.Text = ssh_ReadReg("0x81010000"); @@ -455,6 +515,17 @@ namespace uartTestGUI ssh_WriteReg("0x81010090", "0x0"); cmac_0_reg_0x10090.Text = ssh_ReadReg("0x81010090"); + // CONFIGURATION_TX_FLOW_CONTROL_CONTROL_REG1 + // bits 8:0 - ctl_tx_pause_enable + ssh_WriteReg("0x81010030", "0x00000100"); + cmac_0_reg_0x10030.Text = ssh_ReadReg("0x81010030"); + + // CONFIGURATION_TX_FLOW_CONTROL_QUANTA_REG5 + // bit 15:0 - ctl_tx_pause_quanta8 + ssh_WriteReg("0x81010058", "0x00000001"); + cmac_0_reg_0x10058.Text = ssh_ReadReg("0x81010058"); + + //#:: Set Destination MAC address //#:: Broadcast (not multicast, but accepted everywhere): FF:FF:FF:FF:FF:FF //#:: IPv4 multicast (All-hosts group): 01:00:5E:00:00:01 @@ -472,30 +543,36 @@ namespace uartTestGUI ssh_WriteReg("0x8100000C", "0x00000200"); cmac_0_reg_0x0C.Text = ssh_ReadReg("0x8100000C"); - - //#:: Set EtherType //#:: 0x88B5 – IEEE “local/experimental” Ethertype (commonly used for custom payloads) //#:: 0x0800 – IPv4 (often whitelisted by other stacks, even if the payload isn’t fully IP) ssh_WriteReg("0x81000010", "0x000088B5"); cmac_0_reg_0x10.Text = ssh_ReadReg("0x81000010"); - // PROG_FULL_ON_THRESH - 0x1C - ssh_WriteReg("0x8100001C", "0x00000100"); //256 - cmac_0_reg_0x1C.Text = ssh_ReadReg("0x8100001C"); - //PROG_FULL_OFF_THRESH - 0x18 - ssh_WriteReg("0x81000018", "0x00000300"); //768 + // PROG_FULL_ON_THRESH - 0x18 + ssh_WriteReg("0x81000018", "0x00000300"); //256 cmac_0_reg_0x18.Text = ssh_ReadReg("0x81000018"); + //PROG_FULL_OFF_THRESH - 0x1C + ssh_WriteReg("0x8100001C", "0x00000100"); //768 + cmac_0_reg_0x1C.Text = ssh_ReadReg("0x8100001C"); } private void cmac_4_Init() { cmac_init.Text = "CMAC_4 Initializing..."; - // RESET + + // RESET - CMAC_4 ssh_WriteReg("0x82010000", "0x1"); cmac_4_reg_0x10090.Text = ssh_ReadReg("0x82010000"); ssh_WriteReg("0x82010000", "0xFFFFFFFF"); cmac_4_reg_0x10000.Text = ssh_ReadReg("0x82010000"); - Thread.Sleep(5000); + + // await Task.Run(() => + // { + // Sleep 5 + Thread.Sleep(5000); +// }); + + // release RESET - CMAC_4 ssh_WriteReg("0x82010000", "0x0"); cmac_4_reg_0x10000.Text = ssh_ReadReg("0x82010000"); @@ -512,12 +589,23 @@ namespace uartTestGUI ssh_WriteReg("0x8201000C", "0x1"); cmac_4_reg_0x1000C.Text = ssh_ReadReg("0x8201000C"); - //#:: LOOPBACK MODE //#:: 1=LB, 0=No LB ssh_WriteReg("0x82010090", "0x0"); cmac_4_reg_0x10090.Text = ssh_ReadReg("0x82010090"); + // CONFIGURATION_TX_FLOW_CONTROL_CONTROL_REG1 + // bits 8:0 - ctl_tx_pause_enable + ssh_WriteReg("0x82010030", "0x00000100"); + cmac_4_reg_0x10030.Text = ssh_ReadReg("0x82010030"); + + // CONFIGURATION_TX_FLOW_CONTROL_QUANTA_REG5 + // bit 15:0 - ctl_tx_pause_quanta8 + ssh_WriteReg("0x82010058", "0x00000007"); + cmac_4_reg_0x10058.Text = ssh_ReadReg("0x82010058"); + + + //#:: Set Destination MAC address //#:: Broadcast (not multicast, but accepted everywhere): FF:FF:FF:FF:FF:FF //#:: IPv4 multicast (All-hosts group): 01:00:5E:00:00:01 @@ -542,12 +630,12 @@ namespace uartTestGUI ssh_WriteReg("0x82000010", "0x000088B5"); cmac_4_reg_0x10.Text = ssh_ReadReg("0x82000010"); - // PROG_FULL_ON_THRESH - 0x1C - ssh_WriteReg("0x8200001C", "0x00000100"); //256 - cmac_4_reg_0x1C.Text = ssh_ReadReg("0x82000018"); - //PROG_FULL_OFF_THRESH - 0x18 - ssh_WriteReg("0x82000018", "0x00000300"); //768 + // PROG_FULL_ON_THRESH - 0x18 + ssh_WriteReg("0x82000018", "0x00000300"); //256 cmac_4_reg_0x18.Text = ssh_ReadReg("0x82000018"); + //PROG_FULL_OFF_THRESH - 0x1C + ssh_WriteReg("0x8200001C", "0x00000100"); //768 + cmac_4_reg_0x1C.Text = ssh_ReadReg("0x8200001C"); } private void reg_read_Click(object sender, EventArgs e) @@ -577,5 +665,100 @@ namespace uartTestGUI reg_0x20.Text = ssh_ReadReg("0x80000020"); } + + private void cmac_rx_tx_debug_regs_Click(object sender, EventArgs e) + { + if (true == ssh_client.IsConnected) + { + cmac_0_reg_0x40.Text = ""; + cmac_0_reg_0x44.Text = ""; + cmac_0_reg_0x48.Text = ""; + cmac_0_reg_0x4C.Text = ""; + cmac_0_reg_0x50.Text = ""; + cmac_0_reg_0x54.Text = ""; + cmac_0_reg_0x58.Text = ""; + + cmac_4_reg_0x40.Text = ""; + cmac_4_reg_0x44.Text = ""; + cmac_4_reg_0x48.Text = ""; + cmac_4_reg_0x4C.Text = ""; + cmac_4_reg_0x50.Text = ""; + cmac_4_reg_0x54.Text = ""; + cmac_4_reg_0x58.Text = ""; + + cmac_0_reg_0x40.Text = ssh_ReadReg("0x81000040"); + cmac_0_reg_0x44.Text = ssh_ReadReg("0x81000044"); + cmac_0_reg_0x48.Text = ssh_ReadReg("0x81000048"); + cmac_0_reg_0x4C.Text = ssh_ReadReg("0x8100004C"); + cmac_0_reg_0x50.Text = ssh_ReadReg("0x81000050"); + cmac_0_reg_0x54.Text = ssh_ReadReg("0x81000054"); + cmac_0_reg_0x58.Text = ssh_ReadReg("0x81000058"); + + cmac_4_reg_0x40.Text = ssh_ReadReg("0x82000040"); + cmac_4_reg_0x44.Text = ssh_ReadReg("0x82000044"); + cmac_4_reg_0x48.Text = ssh_ReadReg("0x82000048"); + cmac_4_reg_0x4C.Text = ssh_ReadReg("0x8200004C"); + cmac_4_reg_0x50.Text = ssh_ReadReg("0x82000050"); + cmac_4_reg_0x54.Text = ssh_ReadReg("0x82000054"); + cmac_4_reg_0x58.Text = ssh_ReadReg("0x82000058"); + + } + } + + private void cmac2_dac_chan_both_Click(object sender, EventArgs e) + { + reg_0x28.Text = ssh_ReadReg("0x80000028"); + uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16)); + cntrl_reg28 &= 0xFFFC_FFFF; // bit17:16 0 <= both + + ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8")); + reg_0x28.Text = ssh_ReadReg("0x80000028"); + + // CONFIGURATION_TX_FLOW_CONTROL_QUANTA_REG5 + // bit 15:0 - ctl_tx_pause_quanta8 + ssh_WriteReg("0x81010058", "0x00000001"); + cmac_0_reg_0x10058.Text = ssh_ReadReg("0x81010058"); + + + // CONFIGURATION_TX_FLOW_CONTROL_QUANTA_REG5 + // bit 15:0 - ctl_tx_pause_quanta8 + ssh_WriteReg("0x82010058", "0x00000007"); + cmac_4_reg_0x10058.Text = ssh_ReadReg("0x82010058"); + + } + + private void cmac2_dac_chan_1_Click(object sender, EventArgs e) + { + reg_0x28.Text = ssh_ReadReg("0x80000028"); + uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16)); + cntrl_reg28 &= 0xFFFC_FFFF; // bit17:16 + cntrl_reg28 |= 0x1_0000; // bit17:16 1 <= chan 1 + + ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8")); + reg_0x28.Text = ssh_ReadReg("0x80000028"); + + + // CONFIGURATION_TX_FLOW_CONTROL_QUANTA_REG5 + // bit 15:0 - ctl_tx_pause_quanta8 + ssh_WriteReg("0x81010058", "0x00000007"); + cmac_0_reg_0x10058.Text = ssh_ReadReg("0x81010058"); + } + + private void cmac2_dac_chan_2_Click(object sender, EventArgs e) + { + reg_0x28.Text = ssh_ReadReg("0x80000028"); + uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16)); + cntrl_reg28 &= 0xFFFC_FFFF; // bit17:16 + cntrl_reg28 |= 0x2_0000; // bit17:16 2 <= chan 2 + + ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8")); + reg_0x28.Text = ssh_ReadReg("0x80000028"); + + // CONFIGURATION_TX_FLOW_CONTROL_QUANTA_REG5 + // bit 15:0 - ctl_tx_pause_quanta8 + ssh_WriteReg("0x82010058", "0x00000007"); + cmac_4_reg_0x10058.Text = ssh_ReadReg("0x82010058"); + + } } } diff --git a/Form1.resx b/Form1.resx index 74704e1..19168f4 100644 --- a/Form1.resx +++ b/Form1.resx @@ -123,6 +123,9 @@ False + + False + diff --git a/quadRT_CMAC_TestGUI.csproj b/quadRT_CMAC_TestGUI.csproj index 97d6b44..9fcbdf8 100644 --- a/quadRT_CMAC_TestGUI.csproj +++ b/quadRT_CMAC_TestGUI.csproj @@ -13,7 +13,7 @@ true true false - C:\erisys\Alinx_Z19_MISC\quadRT_TestGUI\publish\ + C:\erisys\temp\quadrt_cmac_setup\ true Disk false @@ -23,7 +23,7 @@ false false true - 1 + 4 1.0.0.%2a false true