You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

476 lines
13 KiB

4 years ago
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>487</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>HW TESTER</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>781</width>
<height>461</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Block operation</string>
</property>
<widget class="QWidget" name="layoutWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>761</width>
<height>27</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>File to Upload:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="tb_binFile"/>
</item>
<item>
<widget class="QPushButton" name="btn_browse">
<property name="text">
<string>Browse...</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="tb_binBarNum">
<property name="geometry">
<rect>
<x>17</x>
<y>70</y>
<width>27</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Bar:</string>
</property>
</widget>
<widget class="QComboBox" name="cb_binBarNum">
<property name="geometry">
<rect>
<x>70</x>
<y>70</y>
<width>41</width>
<height>25</height>
</rect>
</property>
<item>
<property name="text">
<string>0</string>
</property>
</item>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
</widget>
<widget class="QLineEdit" name="tb_binOffset">
<property name="geometry">
<rect>
<x>90</x>
<y>100</y>
<width>91</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>71</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Offset: 0x</string>
</property>
</widget>
<widget class="QProgressBar" name="prg_binUpload">
<property name="geometry">
<rect>
<x>250</x>
<y>100</y>
<width>361</width>
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>690</x>
<y>70</y>
<width>82</width>
<height>58</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="btn_binVerify">
<property name="text">
<string>Verify</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_binUpload">
<property name="text">
<string>Upload</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Register operation</string>
</property>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>610</x>
<y>30</y>
<width>161</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>Access registers by:</string>
</property>
<widget class="QRadioButton" name="rbtn_offset">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>131</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Register offset</string>
</property>
</widget>
<widget class="QRadioButton" name="rbtn_reg">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Register number</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>12</x>
<y>32</y>
<width>181</width>
<height>91</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="l_regIndicator">
<property name="text">
<string>:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Value: (Hex)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Read result: (Hex)</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>200</x>
<y>30</y>
<width>232</width>
<height>95</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLineEdit" name="tb_regIndicator"/>
</item>
<item>
<widget class="QLabel" name="tb_binBarNum_2">
<property name="text">
<string>Bar:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cb_regBarNum">
<item>
<property name="text">
<string>0</string>
</property>
</item>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLineEdit" name="tb_regValue"/>
</item>
<item>
<widget class="QPushButton" name="btn_writeReg">
<property name="text">
<string>Write</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLCDNumber" name="lcd_regvalue"/>
</item>
<item>
<widget class="QPushButton" name="btn_readReg">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Read</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>460</x>
<y>50</y>
<width>121</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Transaction width:</string>
</property>
</widget>
<widget class="QComboBox" name="cb_regWidth">
<property name="geometry">
<rect>
<x>480</x>
<y>70</y>
<width>86</width>
<height>25</height>
</rect>
</property>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>32</string>
</property>
</item>
<item>
<property name="text">
<string>64</string>
</property>
</item>
</widget>
4 years ago
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>FPGA Program:</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>761</width>
<height>27</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Bit file:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="tb_fpgaBit"/>
</item>
<item>
<widget class="QPushButton" name="btn_fpgaBrowse">
<property name="text">
<string>Browse...</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="btn_fpgaProgram">
<property name="geometry">
<rect>
<x>690</x>
<y>71</y>
<width>80</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Program</string>
</property>
</widget>
<widget class="QProgressBar" name="prg_fpgaProgram">
<property name="geometry">
<rect>
<x>11</x>
<y>71</y>
<width>671</width>
<height>25</height>
</rect>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>