192 lines
83 KiB
Plaintext
192 lines
83 KiB
Plaintext
{
|
||
"cells": [
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 2,
|
||
"id": "6e833fe7",
|
||
"metadata": {},
|
||
"outputs": [],
|
||
"source": [
|
||
"import pandas as pd\n",
|
||
"import json\n",
|
||
"import re\n",
|
||
"\n",
|
||
"def parse_range_string(s):\n",
|
||
" if pd.isna(s):\n",
|
||
" s = \"NA\"\n",
|
||
"\n",
|
||
" # 尝试匹配花括号 {} 格式\n",
|
||
" match = re.match(r\"{(.*)}\", s.strip())\n",
|
||
" if match:\n",
|
||
" items = [x.strip() for x in match.group(1).split(\",\")]\n",
|
||
" return items, \"set\"\n",
|
||
" \n",
|
||
" # 尝试匹配方括号 [] 格式\n",
|
||
" match = re.match(r\"\\[(.*)\\]\", s.strip())\n",
|
||
" if match:\n",
|
||
" items = [x.strip() for x in match.group(1).split(\",\")]\n",
|
||
" return items, \"list\"\n",
|
||
" \n",
|
||
" # 都不是集合或列表格式\n",
|
||
" return s, \"str\"\n",
|
||
"\n",
|
||
"def parse_xls_register(file_path):\n",
|
||
" # 读取header sheet\n",
|
||
" header_df = pd.read_excel(file_path, sheet_name='header', header=None)\n",
|
||
" header_info = dict(zip(\n",
|
||
" ['BoardType', 'Version', 'Creator', 'Date', 'Info'],\n",
|
||
" header_df.iloc[1, :5]\n",
|
||
" ))\n",
|
||
"\n",
|
||
" # 读取mapping sheet\n",
|
||
" mapping_df = pd.read_excel(file_path, sheet_name='mapping')\n",
|
||
" mapping_info = {}\n",
|
||
" channel_type_info = {}\n",
|
||
" channel_info = {}\n",
|
||
" \n",
|
||
" for _, row in mapping_df.iterrows():\n",
|
||
" if row.iloc[0] == '#' or pd.isna(row['ModuleName']):\n",
|
||
" if channel_info:\n",
|
||
" channel_type_info[int(channel_row['ChannelNum'])] = channel_info\n",
|
||
" mapping_info[channel_type_row['ChannelType']] = channel_type_info\n",
|
||
" break\n",
|
||
"\n",
|
||
" if not pd.isna(row['ChannelType']):\n",
|
||
" if channel_info:\n",
|
||
" channel_type_info[int(channel_row['ChannelNum'])] = channel_info\n",
|
||
" mapping_info[channel_type_row['ChannelType']] = channel_type_info\n",
|
||
" channel_type_info = {}\n",
|
||
" channel_type_row = channel_row = row\n",
|
||
" channel_info = {\n",
|
||
" 'Exaddr': int(row['Exaddr']),\n",
|
||
" 'Cid': int(row['Cid']),\n",
|
||
" 'Modules': {}\n",
|
||
" }\n",
|
||
" elif not pd.isna(row['ChannelNum']):\n",
|
||
" if channel_info:\n",
|
||
" channel_type_info[int(channel_row['ChannelNum'])] = channel_info\n",
|
||
" channel_row = row\n",
|
||
" channel_info = {\n",
|
||
" 'Exaddr': int(row['Exaddr']),\n",
|
||
" 'Cid': int(row['Cid']),\n",
|
||
" 'Modules': {}\n",
|
||
" }\n",
|
||
"\n",
|
||
" if not pd.isna(row['ModuleName']):\n",
|
||
" module = {k: row[k] for k in ['StartAddress', 'Size', 'Info']}\n",
|
||
" channel_info['Modules'][row['ModuleName']] = module\n",
|
||
"\n",
|
||
" # 读取模块段信息\n",
|
||
" xls = pd.ExcelFile(file_path)\n",
|
||
" modules_info = {}\n",
|
||
" \n",
|
||
" for sheet_name in xls.sheet_names:\n",
|
||
" if sheet_name in ['header', 'mapping']:\n",
|
||
" continue\n",
|
||
" \n",
|
||
" seg_df = pd.read_excel(file_path, sheet_name)\n",
|
||
" segments = {}\n",
|
||
" current_seg = None\n",
|
||
"\n",
|
||
" if 'FieldName' not in seg_df.columns:\n",
|
||
" # 第一种格式\n",
|
||
" for _, row in seg_df.iterrows():\n",
|
||
" if row.iloc[0] == '#':\n",
|
||
" break\n",
|
||
"\n",
|
||
" if not pd.isna(row['OffsetAddress']):\n",
|
||
" current_seg = {\n",
|
||
" 'OffsetAddress': row['OffsetAddress'],\n",
|
||
" 'Permission': row['Permission'],\n",
|
||
" 'SegDescription': row['SegDescription']\n",
|
||
" }\n",
|
||
" segments[row['SegName'].lower()] = current_seg\n",
|
||
"\n",
|
||
" else:\n",
|
||
" # 第二种格式\n",
|
||
" for _, row in seg_df.iterrows():\n",
|
||
" if row.iloc[0] == '#':\n",
|
||
" break\n",
|
||
" \n",
|
||
" if not pd.isna(row['OffsetAddress']):\n",
|
||
" current_seg = {\n",
|
||
" 'OffsetAddress': row['OffsetAddress'],\n",
|
||
" 'Permission': row['Permission'],\n",
|
||
" 'SegDescription': row['SegDescription'],\n",
|
||
" 'Fields': []\n",
|
||
" }\n",
|
||
" segments[row['SegName'].lower()] = current_seg\n",
|
||
" \n",
|
||
" if current_seg and not pd.isna(row['Bits']):\n",
|
||
" field = {\n",
|
||
" 'Bits': list(map(int, row['Bits'].strip('[]').split(':'))),\n",
|
||
" 'FieldName': row['FieldName'].lower(),\n",
|
||
" 'ResetValue': \"NA\" if pd.isna(row['ResetValue']) else row['ResetValue'],\n",
|
||
" 'Range': dict(zip([\"value\",\"type\"], parse_range_string(row['Range']))),\n",
|
||
" 'FieldDescription': row['FieldDescription']\n",
|
||
" }\n",
|
||
" current_seg['Fields'].append(field)\n",
|
||
" \n",
|
||
" modules_info[sheet_name] = segments\n",
|
||
"\n",
|
||
" return {\n",
|
||
" 'HeaderInfo': header_info,\n",
|
||
" 'MappingInfo': mapping_info,\n",
|
||
" 'Modules': modules_info\n",
|
||
" }\n",
|
||
"\n",
|
||
"# 使用示例\n",
|
||
"if __name__ == \"__main__\":\n",
|
||
" file_name = \"读出子系统IDS表\"\n",
|
||
" register_data = parse_xls_register(f\"{file_name}.xls\")\n",
|
||
"\n",
|
||
" with open(f\"../ids/{file_name}.json\", 'w', encoding='utf-8') as f:\n",
|
||
" json.dump(register_data, f, ensure_ascii=False, indent=4)\n"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 3,
|
||
"id": "2fd87a52",
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"name": "stdout",
|
||
"output_type": "stream",
|
||
"text": [
|
||
"{'HeaderInfo': {'BoardType': 'READOUT', 'Version': '1.0.0', 'Creator': '郭成', 'Date': '2025.08.21', 'Info': 'READOUT子系统FPGA平台地址映射表'}, 'MappingInfo': {'msmt_acq': {'0': {'Exaddr': 0, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00200000', 'Size': '16KB', 'Info': '采集通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00300000', 'Size': '16KB', 'Info': '采集通道MCU初始数据配置'}, 'DAQ_REG': {'StartAddress': '0x00400000', 'Size': '256B', 'Info': '采集通道控制寄存器配置'}, 'DAQ_PAR': {'StartAddress': '0x00500000', 'Size': '32KB', 'Info': '采集通道读出参数配置'}, 'DAQ_FLT': {'StartAddress': '0x00580000', 'Size': '512KB', 'Info': '采集通道匹配滤波器系数配置'}}}, '1': {'Exaddr': 1, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00200000', 'Size': '16KB', 'Info': '采集通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00300000', 'Size': '16KB', 'Info': '采集通道MCU初始数据配置'}, 'DAQ_REG': {'StartAddress': '0x00400000', 'Size': '256B', 'Info': '采集通道控制寄存器配置'}, 'DAQ_PAR': {'StartAddress': '0x00500000', 'Size': '32KB', 'Info': '采集通道读出参数配置'}, 'DAQ_FLT': {'StartAddress': '0x00580000', 'Size': '512KB', 'Info': '采集通道匹配滤波器系数配置'}}}, '2': {'Exaddr': 2, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00200000', 'Size': '16KB', 'Info': '采集通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00300000', 'Size': '16KB', 'Info': '采集通道MCU初始数据配置'}, 'DAQ_REG': {'StartAddress': '0x00400000', 'Size': '256B', 'Info': '采集通道控制寄存器配置'}, 'DAQ_PAR': {'StartAddress': '0x00500000', 'Size': '32KB', 'Info': '采集通道读出参数配置'}, 'DAQ_FLT': {'StartAddress': '0x00580000', 'Size': '512KB', 'Info': '采集通道匹配滤波器系数配置'}}}, '3': {'Exaddr': 3, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00200000', 'Size': '16KB', 'Info': '采集通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00300000', 'Size': '16KB', 'Info': '采集通道MCU初始数据配置'}, 'DAQ_REG': {'StartAddress': '0x00400000', 'Size': '256B', 'Info': '采集通道控制寄存器配置'}, 'DAQ_PAR': {'StartAddress': '0x00500000', 'Size': '32KB', 'Info': '采集通道读出参数配置'}, 'DAQ_FLT': {'StartAddress': '0x00580000', 'Size': '512KB', 'Info': '采集通道匹配滤波器系数配置'}}}}, 'msmt_exci': {'0': {'Exaddr': 0, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00700000', 'Size': '16KB', 'Info': '激励通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00800000', 'Size': '16KB', 'Info': '激励通道MCU初始数据配置'}, 'AWG_REG': {'StartAddress': '0x00900000', 'Size': '256B', 'Info': '激励通道控制寄存器配置'}, 'AWG_IDX': {'StartAddress': '0x00A00000', 'Size': '1KB', 'Info': '激励通道波形索引表配置'}, 'AWG_WVE': {'StartAddress': '0x00B00000', 'Size': '128KB', 'Info': '激励通道输出波形数据配置'}}}, '1': {'Exaddr': 1, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00700000', 'Size': '16KB', 'Info': '激励通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00800000', 'Size': '16KB', 'Info': '激励通道MCU初始数据配置'}, 'AWG_REG': {'StartAddress': '0x00900000', 'Size': '256B', 'Info': '激励通道控制寄存器配置'}, 'AWG_IDX': {'StartAddress': '0x00A00000', 'Size': '1KB', 'Info': '激励通道波形索引表配置'}, 'AWG_WVE': {'StartAddress': '0x00B00000', 'Size': '128KB', 'Info': '激励通道输出波形数据配置'}}}, '2': {'Exaddr': 2, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00700000', 'Size': '16KB', 'Info': '激励通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00800000', 'Size': '16KB', 'Info': '激励通道MCU初始数据配置'}, 'AWG_REG': {'StartAddress': '0x00900000', 'Size': '256B', 'Info': '激励通道控制寄存器配置'}, 'AWG_IDX': {'StartAddress': '0x00A00000', 'Size': '1KB', 'Info': '激励通道波形索引表配置'}, 'AWG_WVE': {'StartAddress': '0x00B00000', 'Size': '128KB', 'Info': '激励通道输出波形数据配置'}}}, '3': {'Exaddr': 3, 'Cid': 0, 'Modules': {'MCU_INS': {'StartAddress': '0x00700000', 'Size': '16KB', 'Info': '激励通道MCU运行指令配置'}, 'MCU_DAT': {'StartAddress': '0x00800000', 'Size': '16KB', 'Info': '激励通道MCU初始数据配置'}, 'AWG_REG': {'StartAddress': '0x00900000', 'Size': '256B', 'Info': '激励通道控制寄存器配置'}, 'AWG_IDX': {'StartAddress': '0x00A00000', 'Size': '1KB', 'Info': '激励通道波形索引表配置'}, 'AWG_WVE': {'StartAddress': '0x00B00000', 'Size': '128KB', 'Info': '激励通道输出波形数据配置'}}}}, 'system': {'0': {'Exaddr': 0, 'Cid': 0, 'Modules': {'SYS_REG': {'StartAddress': '0x00000000', 'Size': '64B', 'Info': '读出系统ADC和DAC配置'}, 'SYS_ANA': {'StartAddress': '0x00100000', 'Size': '512B', 'Info': '读出系统整体寄存器配置'}, 'SYS_PLL': {'StartAddress': '0x01F00000', 'Size': '256B', 'Info': '读出系统时钟配置'}}}, '1': {'Exaddr': 1, 'Cid': 0, 'Modules': {'SYS_REG': {'StartAddress': '0x00000000', 'Size': '64B', 'Info': '读出系统ADC和DAC配置'}, 'SYS_ANA': {'StartAddress': '0x00100000', 'Size': '512B', 'Info': '读出系统整体寄存器配置'}, 'SYS_PLL': {'StartAddress': '0x01F00000', 'Size': '256B', 'Info': '读出系统时钟配置'}}}, '2': {'Exaddr': 2, 'Cid': 0, 'Modules': {'SYS_REG': {'StartAddress': '0x00000000', 'Size': '64B', 'Info': '读出系统ADC和DAC配置'}, 'SYS_ANA': {'StartAddress': '0x00100000', 'Size': '512B', 'Info': '读出系统整体寄存器配置'}, 'SYS_PLL': {'StartAddress': '0x01F00000', 'Size': '256B', 'Info': '读出系统时钟配置'}}}, '3': {'Exaddr': 3, 'Cid': 0, 'Modules': {'SYS_REG': {'StartAddress': '0x00000000', 'Size': '64B', 'Info': '读出系统ADC和DAC配置'}, 'SYS_ANA': {'StartAddress': '0x00100000', 'Size': '512B', 'Info': '读出系统整体寄存器配置'}, 'SYS_PLL': {'StartAddress': '0x01F00000', 'Size': '256B', 'Info': '读出系统时钟配置'}}}}, 'trigger': {'0': {'Exaddr': 4, 'Cid': 0, 'Modules': {'TRIG_CTRL': {'StartAddress': '0x00400000', 'Size': '32B', 'Info': '控制触发信号发出,启动实验运行'}}}}, 'pump': {'0': {'Exaddr': 0, 'Cid': 0, 'Modules': {'PUMP_REG': {'StartAddress': '0x00000000', 'Size': '16MB', 'Info': '混频板泵浦通道0控制寄存器'}}}, '1': {'Exaddr': 0, 'Cid': 0, 'Modules': {'PUMP_REG': {'StartAddress': '0x00010000', 'Size': '16MB', 'Info': '混频板泵浦通道1控制寄存器'}}}, '2': {'Exaddr': 0, 'Cid': 0, 'Modules': {'PUMP_REG': {'StartAddress': '0x00020000', 'Size': '16MB', 'Info': '混频板泵浦通道2控制寄存器'}}}, '3': {'Exaddr': 0, 'Cid': 0, 'Modules': {'PUMP_REG': {'StartAddress': '0x00030000', 'Size': '16MB', 'Info': '混频板泵浦通道3控制寄存器'}}}}, 'mixer': {'0': {'Exaddr': 0, 'Cid': 0, 'Modules': {'MIXER_REG': {'StartAddress': '0x00100000', 'Size': '4B', 'Info': '混频板变频控制寄存器'}}}}}, 'Modules': {'DAQ_PAR': {'q0': {'OffsetAddress': '0x0000', 'Permission': 'RW', 'SegDescription': 'Qubit0读出参数'}, 'q1': {'OffsetAddress': '0x0800', 'Permission': 'RW', 'SegDescription': 'Qubit1读出参数'}, 'q2': {'OffsetAddress': '0x1000', 'Permission': 'RW', 'SegDescription': 'Qubit2读出参数'}, 'q3': {'OffsetAddress': '0x1800', 'Permission': 'RW', 'SegDescription': 'Qubit3读出参数'}, 'q4': {'OffsetAddress': '0x2000', 'Permission': 'RW', 'SegDescription': 'Qubit4读出参数'}, 'q5': {'OffsetAddress': '0x2800', 'Permission': 'RW', 'SegDescription': 'Qubit5读出参数'}, 'q6': {'OffsetAddress': '0x3000', 'Permission': 'RW', 'SegDescription': 'Qubit6读出参数'}, 'q7': {'OffsetAddress': '0x3800', 'Permission': 'RW', 'SegDescription': 'Qubit7读出参数'}, 'q8': {'OffsetAddress': '0x4000', 'Permission': 'RW', 'SegDescription': 'Qubit8读出参数'}, 'q9': {'OffsetAddress': '0x4800', 'Permission': 'RW', 'SegDescription': 'Qubit9读出参数'}, 'q10': {'OffsetAddress': '0x5000', 'Permission': 'RW', 'SegDescription': 'Qubit10读出参数'}, 'q11': {'OffsetAddress': '0x5800', 'Permission': 'RW', 'SegDescription': 'Qubit11读出参数'}, 'q12': {'OffsetAddress': '0x6000', 'Permission': 'RW', 'SegDescription': 'Qubit12读出参数'}, 'q13': {'OffsetAddress': '0x6800', 'Permission': 'RW', 'SegDescription': 'Qubit13读出参数'}, 'q14': {'OffsetAddress': '0x7000', 'Permission': 'RW', 'SegDescription': 'Qubit14读出参数'}, 'q15': {'OffsetAddress': '0x7800', 'Permission': 'RW', 'SegDescription': 'Qubit15读出参数'}}, 'DAQ_FLT': {'q0i': {'OffsetAddress': '0x00000', 'Permission': 'RW', 'SegDescription': 'Qubit0 I路匹配滤波器系数'}, 'q0q': {'OffsetAddress': '0x04000', 'Permission': 'RW', 'SegDescription': 'Qubit0 Q路匹配滤波器系数'}, 'q1i': {'OffsetAddress': '0x08000', 'Permission': 'RW', 'SegDescription': 'Qubit1 I路匹配滤波器系数'}, 'q1q': {'OffsetAddress': '0x0C000', 'Permission': 'RW', 'SegDescription': 'Qubit1 Q路匹配滤波器系数'}, 'q2i': {'OffsetAddress': '0x10000', 'Permission': 'RW', 'SegDescription': 'Qubit2 I路匹配滤波器系数'}, 'q2q': {'OffsetAddress': '0x14000', 'Permission': 'RW', 'SegDescription': 'Qubit2 Q路匹配滤波器系数'}, 'q3i': {'OffsetAddress': '0x18000', 'Permission': 'RW', 'SegDescription': 'Qubit3 I路匹配滤波器系数'}, 'q3q': {'OffsetAddress': '0x1C000', 'Permission': 'RW', 'SegDescription': 'Qubit3 Q路匹配滤波器系数'}, 'q4i': {'OffsetAddress': '0x20000', 'Permission': 'RW', 'SegDescription': 'Qubit4 I路匹配滤波器系数'}, 'q4q': {'OffsetAddress': '0x24000', 'Permission': 'RW', 'SegDescription': 'Qubit4 Q路匹配滤波器系数'}, 'q5i': {'OffsetAddress': '0x28000', 'Permission': 'RW', 'SegDescription': 'Qubit5 I路匹配滤波器系数'}, 'q5q': {'OffsetAddress': '0x2C000', 'Permission': 'RW', 'SegDescription': 'Qubit5 Q路匹配滤波器系数'}, 'q6i': {'OffsetAddress': '0x30000', 'Permission': 'RW', 'SegDescription': 'Qubit6 I路匹配滤波器系数'}, 'q6q': {'OffsetAddress': '0x34000', 'Permission': 'RW', 'SegDescription': 'Qubit6 Q路匹配滤波器系数'}, 'q7i': {'OffsetAddress': '0x38000', 'Permission': 'RW', 'SegDescription': 'Qubit7 I路匹配滤波器系数'}, 'q7q': {'OffsetAddress': '0x3C000', 'Permission': 'RW', 'SegDescription': 'Qubit7 Q路匹配滤波器系数'}, 'q8i': {'OffsetAddress': '0x40000', 'Permission': 'RW', 'SegDescription': 'Qubit8 I路匹配滤波器系数'}, 'q8q': {'OffsetAddress': '0x44000', 'Permission': 'RW', 'SegDescription': 'Qubit8 Q路匹配滤波器系数'}, 'q9i': {'OffsetAddress': '0x48000', 'Permission': 'RW', 'SegDescription': 'Qubit9 I路匹配滤波器系数'}, 'q9q': {'OffsetAddress': '0x4C000', 'Permission': 'RW', 'SegDescription': 'Qubit9 Q路匹配滤波器系数'}, 'q10i': {'OffsetAddress': '0x50000', 'Permission': 'RW', 'SegDescription': 'Qubit10 I路匹配滤波器系数'}, 'q10q': {'OffsetAddress': '0x54000', 'Permission': 'RW', 'SegDescription': 'Qubit10 Q路匹配滤波器系数'}, 'q11i': {'OffsetAddress': '0x58000', 'Permission': 'RW', 'SegDescription': 'Qubit11 I路匹配滤波器系数'}, 'q11q': {'OffsetAddress': '0x5C000', 'Permission': 'RW', 'SegDescription': 'Qubit11 Q路匹配滤波器系数'}, 'q12i': {'OffsetAddress': '0x60000', 'Permission': 'RW', 'SegDescription': 'Qubit12 I路匹配滤波器系数'}, 'q12q': {'OffsetAddress': '0x64000', 'Permission': 'RW', 'SegDescription': 'Qubit12 Q路匹配滤波器系数'}, 'q13i': {'OffsetAddress': '0x68000', 'Permission': 'RW', 'SegDescription': 'Qubit13 I路匹配滤波器系数'}, 'q13q': {'OffsetAddress': '0x6C000', 'Permission': 'RW', 'SegDescription': 'Qubit13 Q路匹配滤波器系数'}, 'q14i': {'OffsetAddress': '0x70000', 'Permission': 'RW', 'SegDescription': 'Qubit14 I路匹配滤波器系数'}, 'q14q': {'OffsetAddress': '0x74000', 'Permission': 'RW', 'SegDescription': 'Qubit14 Q路匹配滤波器系数'}, 'q15i': {'OffsetAddress': '0x78000', 'Permission': 'RW', 'SegDescription': 'Qubit15 I路匹配滤波器系数'}, 'q15q': {'OffsetAddress': '0x7C000', 'Permission': 'RW', 'SegDescription': 'Qubit15 Q路匹配滤波器系数'}}, 'DAQ_REG': {'mcu_timer': {'OffsetAddress': '0x20', 'Permission': 'RO', 'SegDescription': 'mcu运行时间计数器', 'Fields': [{'Bits': [31, 0], 'FieldName': 'mcu_timer', 'ResetValue': \"32'h00000000\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': 'mcu运行时间计数器'}]}, 'mcu_counter': {'OffsetAddress': '0x24', 'Permission': 'RO', 'SegDescription': 'mcu运行指令计数器', 'Fields': [{'Bits': [31, 0], 'FieldName': 'mcu_counter', 'ResetValue': \"32'h00000000\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': 'mcu运行指令计数器'}]}, 'loc_state': {'OffsetAddress': '0x28', 'Permission': 'RW', 'SegDescription': '局部反馈状态', 'Fields': [{'Bits': [31, 0], 'FieldName': 'loc_state', 'ResetValue': \"32'hFFFFFFFF\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读写分离,读接收,写发送'}]}, 'glb_state': {'OffsetAddress': '0x2c', 'Permission': 'RW', 'SegDescription': '全局反馈状态', 'Fields': [{'Bits': [31, 0], 'FieldName': 'glb_state', 'ResetValue': \"32'h00000000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读写分离,读接收,写发送'}]}, 'qubit_state': {'OffsetAddress': '0x30', 'Permission': 'RO', 'SegDescription': nan, 'Fields': [{'Bits': [31, 0], 'FieldName': 'qubit_state', 'ResetValue': \"32'hFFFFFFFF\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '读出量子态信息监视'}]}, 'amplitude': {'OffsetAddress': '0x34', 'Permission': 'RW', 'SegDescription': 'DAQ幅度控制寄存器', 'Fields': [{'Bits': [31, 16], 'FieldName': 'acw', 'ResetValue': \"16'h4000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '反馈给AWG的幅度控制字'}, {'Bits': [11, 8], 'FieldName': 'gpio_t', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'DAQ GPIO输出三态控制'}, {'Bits': [3, 0], 'FieldName': 'gpio_o', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'DAQ GPIO输入/输出电平'}]}, 'sram_count': {'OffsetAddress': '0x38', 'Permission': 'RO', 'SegDescription': 'SRAM缓存数据量', 'Fields': [{'Bits': [31, 0], 'FieldName': 'sram_count', 'ResetValue': \"32'h0\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '采集数据缓存到SRAM中的数据量'}]}, 'push_count': {'OffsetAddress': '0x3c', 'Permission': 'RO', 'SegDescription': '芯片数据推送量', 'Fields': [{'Bits': [31, 0], 'FieldName': 'push_count', 'ResetValue': \"32'h0\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '采集数据通过LVDS接口推送数据量'}]}, 'command': {'OffsetAddress': '0x40', 'Permission': 'WC', 'SegDescription': 'DAQ命令寄存器', 'Fields': [{'Bits': [5], 'FieldName': 'force_cal', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '强制推送链路发出同步码,高有效'}, {'Bits': [4], 'FieldName': 'force_req', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '强制发出读请求,高有效'}, {'Bits': [0], 'FieldName': 'force_int', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '强制发出中断请求,高有效'}]}, 'func_ctrl': {'OffsetAddress': '0x44', 'Permission': 'RW', 'SegDescription': 'DAQ功能寄存器', 'Fields': [{'Bits': [19, 16], 'FieldName': 'tx_pat_ctrl', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '推送链路同步码数量控制'}, {'Bits': [15, 8], 'FieldName': 'weight_iq', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '常数权重数据,二进制补码'}, {'Bits': [7], 'FieldName': 'const_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '常数权重数据使能,当前不支持'}, {'Bits': [6, 4], 'FieldName': 'step_ctrl', 'ResetValue': \"3'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '解模算法步长控制'}, {'Bits': [3], 'FieldName': 'iq_scale', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '解模动态范围选择'}, {'Bits': [2], 'FieldName': 'two_sta_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '二态判定模式使能'}, {'Bits': [0], 'FieldName': 'spi_rd_en', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'SPI读数据使能,否则主动推送'}]}, 'sample_depth': {'OffsetAddress': '0x48', 'Permission': 'RW', 'SegDescription': '波形采样深度控制', 'Fields': [{'Bits': [15, 0], 'FieldName': 'sample_depth', 'ResetValue': \"16'h100\", 'Range': {'value': ['1', '8192'], 'type': 'list'}, 'FieldDescription': '采样深度控制,单位是时钟周期'}]}, 'coefficient': {'OffsetAddress': '0x4c', 'Permission': 'RW', 'SegDescription': '模值乘法系数', 'Fields': [{'Bits': [15, 0], 'FieldName': 'coefficient', 'ResetValue': \"16'h100\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '用于计算实时幅度的系数,有符号数'}]}, 'int_threshold': {'OffsetAddress': '0x50', 'Permission': 'RW', 'SegDescription': '数据中断阈值控制', 'Fields': [{'Bits': [31, 0], 'FieldName': 'int_threshold', 'ResetValue': \"32'h100\", 'Range': {'value': ['1', '32767'], 'type': 'list'}, 'FieldDescription': '读请求数据触发阈值,单位是4字节'}]}, 'read_req_ctrl': {'OffsetAddress': '0x54', 'Permission': 'RW', 'SegDescription': '读数据请求脉冲控制', 'Fields': [{'Bits': [31, 16], 'FieldName': 'delay', 'ResetValue': \"16'h0004\", 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': '读请求脉冲延迟控制,单位时钟周期'}, {'Bits': [15, 0], 'FieldName': 'width', 'ResetValue': \"16'h0004\", 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': '读请求脉冲宽度控制,单位时钟周期'}]}, 'mtf_idx_q0': {'OffsetAddress': '0x80', 'Permission': 'RW', 'SegDescription': 'q0匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q1': {'OffsetAddress': '0x84', 'Permission': 'RW', 'SegDescription': 'q1匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q2': {'OffsetAddress': '0x88', 'Permission': 'RW', 'SegDescription': 'q2匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q3': {'OffsetAddress': '0x8C', 'Permission': 'RW', 'SegDescription': 'q3匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q4': {'OffsetAddress': '0x90', 'Permission': 'RW', 'SegDescription': 'q4匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q5': {'OffsetAddress': '0x94', 'Permission': 'RW', 'SegDescription': 'q5匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q6': {'OffsetAddress': '0x98', 'Permission': 'RW', 'SegDescription': 'q6匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q7': {'OffsetAddress': '0x9C', 'Permission': 'RW', 'SegDescription': 'q7匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q8': {'OffsetAddress': '0xA0', 'Permission': 'RW', 'SegDescription': 'q8匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q9': {'OffsetAddress': '0xA4', 'Permission': 'RW', 'SegDescription': 'q9匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q10': {'OffsetAddress': '0xA8', 'Permission': 'RW', 'SegDescription': 'q10匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q11': {'OffsetAddress': '0xAC', 'Permission': 'RW', 'SegDescription': 'q11匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q12': {'OffsetAddress': '0xB0', 'Permission': 'RW', 'SegDescription': 'q12匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q13': {'OffsetAddress': '0xB4', 'Permission': 'RW', 'SegDescription': 'q13匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q14': {'OffsetAddress': '0xB8', 'Permission': 'RW', 'SegDescription': 'q14匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'mtf_idx_q15': {'OffsetAddress': '0xBC', 'Permission': 'RW', 'SegDescription': 'q15匹配滤波器系数索引', 'Fields': [{'Bits': [31, 16], 'FieldName': 'addr', 'ResetValue': \"16'h0008\", 'Range': {'value': ['0', '1023'], 'type': 'list'}, 'FieldDescription': '波形地址,单位存储条目(16个采样点)'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0100\", 'Range': {'value': ['1', '1024'], 'type': 'list'}, 'FieldDescription': '波形长度,单位存储条目(16个采样点)'}]}, 'dds_fpw_q0': {'OffsetAddress': '0xC0', 'Permission': 'RW', 'SegDescription': 'q0解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q1': {'OffsetAddress': '0xC4', 'Permission': 'RW', 'SegDescription': 'q1解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q2': {'OffsetAddress': '0xC8', 'Permission': 'RW', 'SegDescription': 'q2解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q3': {'OffsetAddress': '0xCC', 'Permission': 'RW', 'SegDescription': 'q3解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q4': {'OffsetAddress': '0xD0', 'Permission': 'RW', 'SegDescription': 'q4解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q5': {'OffsetAddress': '0xD4', 'Permission': 'RW', 'SegDescription': 'q5解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q6': {'OffsetAddress': '0xD8', 'Permission': 'RW', 'SegDescription': 'q6解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q7': {'OffsetAddress': '0xDC', 'Permission': 'RW', 'SegDescription': 'q7解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q8': {'OffsetAddress': '0xE0', 'Permission': 'RW', 'SegDescription': 'q8解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q9': {'OffsetAddress': '0xE4', 'Permission': 'RW', 'SegDescription': 'q9解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q10': {'OffsetAddress': '0xE8', 'Permission': 'RW', 'SegDescription': 'q10解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q11': {'OffsetAddress': '0xEC', 'Permission': 'RW', 'SegDescription': 'q11解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q12': {'OffsetAddress': '0xF0', 'Permission': 'RW', 'SegDescription': 'q12解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q13': {'OffsetAddress': '0xF4', 'Permission': 'RW', 'SegDescription': 'q13解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q14': {'OffsetAddress': '0xF8', 'Permission': 'RW', 'SegDescription': 'q14解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}, 'dds_fpw_q15': {'OffsetAddress': '0xFC', 'Permission': 'RW', 'SegDescription': 'q15解模频率相位控制字', 'Fields': [{'Bits': [31, 12], 'FieldName': 'fcw', 'ResetValue': \"20'h10000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '频率控制字,fcw/2^20*sample_rate'}, {'Bits': [11, 0], 'FieldName': 'pcw', 'ResetValue': \"12'h000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '相位控制字,pcw/2^12*2*pi'}]}}, 'AWG_REG': {'mcu_timer': {'OffsetAddress': '0x20', 'Permission': 'RO', 'SegDescription': 'mcu运行时间计数器', 'Fields': [{'Bits': [31, 0], 'FieldName': 'mcu_timer', 'ResetValue': \"32'h00000000\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': 'mcu运行时间计数器'}]}, 'mcu_counter': {'OffsetAddress': '0x24', 'Permission': 'RO', 'SegDescription': 'mcu运行指令计数器', 'Fields': [{'Bits': [31, 0], 'FieldName': 'mcu_counter', 'ResetValue': \"32'h00000000\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': 'mcu运行指令计数器'}]}, 'loc_state': {'OffsetAddress': '0x28', 'Permission': 'RO', 'SegDescription': '读写分离,读接收,写发送', 'Fields': [{'Bits': [31, 0], 'FieldName': 'loc_state', 'ResetValue': \"32'hFFFFFFFF\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读写分离,读接收,写发送'}]}, 'glb_state': {'OffsetAddress': '0x2c', 'Permission': 'RO', 'SegDescription': '读写分离,读接收,写发送', 'Fields': [{'Bits': [31, 0], 'FieldName': 'glb_state', 'ResetValue': \"32'h00000000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读写分离,读接收,写发送'}]}, 'wave_ctrl': {'OffsetAddress': '0x30', 'Permission': 'RW', 'SegDescription': '波形索引寄存器', 'Fields': [{'Bits': [31, 0], 'FieldName': 'addr', 'ResetValue': \"16'h0\", 'Range': {'value': ['0', '4095'], 'type': 'list'}, 'FieldDescription': '寄存器控制波形输出地址'}, {'Bits': [15, 0], 'FieldName': 'len', 'ResetValue': \"16'h0\", 'Range': {'value': ['1', '4096'], 'type': 'list'}, 'FieldDescription': '寄存器控制波形输出长度'}]}, 'amplitude': {'OffsetAddress': '0x34', 'Permission': 'RW', 'SegDescription': 'AWG幅度控制寄存器', 'Fields': [{'Bits': [31, 16], 'FieldName': 'acw', 'ResetValue': \"16'h4000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AWG的调幅幅度控制字'}, {'Bits': [11, 8], 'FieldName': 'gpio_t', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AWG GPIO输出三态控制'}, {'Bits': [3, 0], 'FieldName': 'gpio_o', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AWG GPIO输入输出电平'}]}, 'frequency': {'OffsetAddress': '0x38', 'Permission': 'RW', 'SegDescription': '调制频率控制字', 'Fields': [{'Bits': [31, 0], 'FieldName': 'fcw', 'ResetValue': \"32'h00000000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '调制频率控制字'}]}, 'phase': {'OffsetAddress': '0x3c', 'Permission': 'RW', 'SegDescription': '调制相位控制字', 'Fields': [{'Bits': [15, 0], 'FieldName': 'pcw', 'ResetValue': \"16'h0000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '调制相位控制字'}]}, 'command': {'OffsetAddress': '0x40', 'Permission': 'WC', 'SegDescription': 'AWG命令寄存器', 'Fields': [{'Bits': [0], 'FieldName': 'force_int', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '强制AWG模块发出中断请求'}]}, 'func_ctrl': {'OffsetAddress': '0x44', 'Permission': 'RW', 'SegDescription': 'AWG功能寄存器', 'Fields': [{'Bits': [8], 'FieldName': 'amp_sel', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '调幅参数选择'}, {'Bits': [7], 'FieldName': 'nco_sw_en', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'NCO Only模式开关使能'}, {'Bits': [6], 'FieldName': 'nco_sw_sel', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'NCO Only模式开关选择'}, {'Bits': [5], 'FieldName': 'mark_inv', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'MARK_EN输出极性翻转'}, {'Bits': [4], 'FieldName': 'pump_inv', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PUMP_EN输出极性翻转'}, {'Bits': [3], 'FieldName': 'intp_sel', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '插值模式选择'}, {'Bits': [2], 'FieldName': 'mix_mode', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'DAC MIX模式选择'}, {'Bits': [1, 0], 'FieldName': 'awg_mode', 'ResetValue': \"2'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AWG工作模式选择'}]}, 'pump_ctrl': {'OffsetAddress': '0x48', 'Permission': 'RW', 'SegDescription': '泵浦脉冲控制', 'Fields': [{'Bits': [31, 16], 'FieldName': 'delay', 'ResetValue': \"16'h0001\", 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': '泵浦信号脉冲延迟'}, {'Bits': [15, 0], 'FieldName': 'width', 'ResetValue': '16‘h0010', 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': '泵浦信号脉冲宽度'}]}, 'mark_ctrl': {'OffsetAddress': '0x4c', 'Permission': 'RW', 'SegDescription': '标记脉冲控制', 'Fields': [{'Bits': [31, 16], 'FieldName': 'delay', 'ResetValue': \"16'h0001\", 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': '调试信号脉冲延迟'}, {'Bits': [15, 0], 'FieldName': 'width', 'ResetValue': '16‘h0010', 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': '调试信号脉冲宽度'}]}}, 'SYS_REG': {'chip_id': {'OffsetAddress': '0x00', 'Permission': 'RO', 'SegDescription': '芯片ID\"RBPU\"', 'Fields': [{'Bits': [31, 0], 'FieldName': 'chip_id', 'ResetValue': \"32'h52425055\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '芯片ID\"RBPU\"'}]}, 'chip_vid': {'OffsetAddress': '0x04', 'Permission': 'RO', 'SegDescription': '单位ID\"HFNL\"', 'Fields': [{'Bits': [31, 0], 'FieldName': 'chip_vid', 'ResetValue': \"32'h48464e4c\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '单位ID\"HFNL\"'}]}, 'chip_date': {'OffsetAddress': '0x08', 'Permission': 'RO', 'SegDescription': '设计时间\"2025年10月1日\"', 'Fields': [{'Bits': [31, 0], 'FieldName': 'chip_date', 'ResetValue': \"32'h20251001\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '设计时间\"2025年10月1日\"'}]}, 'chip_vision': {'OffsetAddress': '0x0c', 'Permission': 'RO', 'SegDescription': '芯片版本“1.0.0”', 'Fields': [{'Bits': [31, 0], 'FieldName': 'chip_vision', 'ResetValue': \"32'h01000000\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '芯片版本“1.0.0”'}]}, 'sync_delay': {'OffsetAddress': '0x10', 'Permission': 'RW', 'SegDescription': '芯片同步延迟控制', 'Fields': [{'Bits': [31, 16], 'FieldName': 'awg_delay', 'ResetValue': \"16'h1\", 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': 'AWG相对同步延迟'}, {'Bits': [31, 0], 'FieldName': 'daq_delay', 'ResetValue': \"16'h1\", 'Range': {'value': ['1', '65535'], 'type': 'list'}, 'FieldDescription': 'DAQ相对同步延迟'}]}, 'int_mask': {'OffsetAddress': '0x14', 'Permission': 'RW', 'SegDescription': '芯片异常中断使能掩码', 'Fields': [{'Bits': [11], 'FieldName': 'awg_soft_int', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,AWG触发软中断'}, {'Bits': [10], 'FieldName': 'awg_exit_exc', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,AWG执行异常退出'}, {'Bits': [9], 'FieldName': 'awg_addr_err', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,AWG地址访问错误'}, {'Bits': [8], 'FieldName': 'awg_inst_err', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,AWG指令运行错误'}, {'Bits': [7], 'FieldName': 'daq_soft_int', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,DAQ触发软中断'}, {'Bits': [6], 'FieldName': 'daq_exit_exc', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,DAQ执行异常退出'}, {'Bits': [5], 'FieldName': 'daq_addr_err', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,DAQ地址访问错误'}, {'Bits': [4], 'FieldName': 'daq_inst_err', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,DAQ指令运行错误'}, {'Bits': [3], 'FieldName': 'adc_or_flag', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,ADC输入过载'}, {'Bits': [1], 'FieldName': 'link_down', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,数据推送链路未建立'}, {'Bits': [0], 'FieldName': 'clk_lose', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读状态写使能,锁相环失锁中断'}]}, 'sys_command': {'OffsetAddress': '0x18', 'Permission': 'WC', 'SegDescription': '芯片命令寄存器', 'Fields': [{'Bits': [6], 'FieldName': 'count_clr', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '清除同步脉冲计数'}, {'Bits': [5], 'FieldName': 'force_cal', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '强制发出反馈链路同步校准码'}, {'Bits': [4], 'FieldName': 'status_clr', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '清除中断积累异常'}, {'Bits': [3], 'FieldName': 'soft_daq_val', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '软启动DAQ模块'}, {'Bits': [2], 'FieldName': 'soft_awg_val', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '软启动AWG模块'}, {'Bits': [1], 'FieldName': 'soft_daq_rst', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '软复位DAQ模块'}, {'Bits': [0], 'FieldName': 'soft_awg_rst', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '软复位AWG模块'}]}, 'sys_func': {'OffsetAddress': '0x1c', 'Permission': 'RW', 'SegDescription': '芯片功能寄存器', 'Fields': [{'Bits': [22, 20], 'FieldName': 'debug_sel', 'ResetValue': \"3'h0\", 'Range': {'value': ['0', '5'], 'type': 'list'}, 'FieldDescription': '调试功能选择'}, {'Bits': [19, 17], 'FieldName': 'sensor_en', 'ResetValue': \"3'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '温度传感器使能控制'}, {'Bits': [16], 'FieldName': 'loop_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '数据环回使能'}, {'Bits': [15, 12], 'FieldName': 'rx_pat_ctrl', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '反馈链路建链接收同步码'}, {'Bits': [11, 8], 'FieldName': 'tx_pat_ctrl', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '反馈链路建链发射同步码'}, {'Bits': [7], 'FieldName': 'auto_cal_off', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '使能自动链路建链'}, {'Bits': [6], 'FieldName': 'level_sel', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '局部反馈电平选择'}, {'Bits': [5], 'FieldName': 'qubit_set', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '全局反馈比特数量选择'}, {'Bits': [4], 'FieldName': 'through_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '反馈直通调控模式'}, {'Bits': [3], 'FieldName': 'daq_sync_sel', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'DAQ同步信号选择'}, {'Bits': [2], 'FieldName': 'awg_sync_sel', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AWG同步信号选择'}, {'Bits': [1, 0], 'FieldName': 'loc_disable', 'ResetValue': \"2'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '局部反馈禁用'}]}, 'smp_intrv': {'OffsetAddress': '0x20', 'Permission': 'RW', 'SegDescription': '温传采样间隔时钟周期', 'Fields': [{'Bits': [31, 0], 'FieldName': 'smp_time', 'ResetValue': \"32'h2cb41780\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '温传采样间隔时钟周期'}]}, 'smp_time': {'OffsetAddress': '0x24', 'Permission': 'RW', 'SegDescription': '温传单次采样计数总次数', 'Fields': [{'Bits': [31, 0], 'FieldName': 'smp_cnt', 'ResetValue': \"32'h00010000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '温传单次采样计数总次数'}]}, 'pulse_cnt': {'OffsetAddress': '0x28', 'Permission': 'RO', 'SegDescription': '同步脉冲采集个数', 'Fields': [{'Bits': [31, 0], 'FieldName': 'pulse_cnt', 'ResetValue': \"32'h0\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '同步脉冲采集个数'}]}, 'idelay_tap': {'OffsetAddress': '0x2C', 'Permission': 'RO', 'SegDescription': '反馈链路输出延迟状态', 'Fields': [{'Bits': [2, 0], 'FieldName': 'idelay_tap', 'ResetValue': \"3'h0\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '反馈链路输出延迟状态'}]}}, 'SYS_ANA': {'adc_div2_en': {'OffsetAddress': '0x000', 'Permission': 'RW', 'SegDescription': '主时钟分频使能', 'Fields': [{'Bits': [0], 'FieldName': 'adc_div2_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '主时钟分频使能'}]}, 'adc_cas_addr': {'OffsetAddress': '0x004', 'Permission': 'RW', 'SegDescription': '偏置模块可调电流源阵列1', 'Fields': [{'Bits': [2, 0], 'FieldName': 'adc_cas_addr', 'ResetValue': '3‘h4', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '偏置模块可调电流源阵列1'}]}, 'adc_idac': {'OffsetAddress': '0x008', 'Permission': 'RW', 'SegDescription': '偏置模块可调电流源阵列2', 'Fields': [{'Bits': [8, 0], 'FieldName': 'adc_idac', 'ResetValue': '9’h10c', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '偏置模块可调电流源阵列2'}]}, 'adc_offset': {'OffsetAddress': '0x00C', 'Permission': 'RW', 'SegDescription': '数字译码器折叠失调参数选择', 'Fields': [{'Bits': [0], 'FieldName': 'adc_offset', 'ResetValue': '1‘h0', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '数字译码器折叠失调参数选择'}]}, 'adc_sw0': {'OffsetAddress': '0x010', 'Permission': 'RW', 'SegDescription': '子通道1时钟偏斜校准', 'Fields': [{'Bits': [4, 0], 'FieldName': 'adc_sw0', 'ResetValue': '5’h8', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '子通道1时钟偏斜校准'}]}, 'adc_sw1': {'OffsetAddress': '0x014', 'Permission': 'RW', 'SegDescription': '子通道2时钟偏斜校准', 'Fields': [{'Bits': [4, 0], 'FieldName': 'adc_sw1', 'ResetValue': '5’h8', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '子通道2时钟偏斜校准'}]}, 'adc_sw2': {'OffsetAddress': '0x018', 'Permission': 'RW', 'SegDescription': '子通道3时钟偏斜校准', 'Fields': [{'Bits': [4, 0], 'FieldName': 'adc_sw2', 'ResetValue': '5’h8', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '子通道3时钟偏斜校准'}]}, 'adc_sw3': {'OffsetAddress': '0x01C', 'Permission': 'RW', 'SegDescription': '子通道4时钟偏斜校准', 'Fields': [{'Bits': [4, 0], 'FieldName': 'adc_sw3', 'ResetValue': '5’h8', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '子通道4时钟偏斜校准'}]}, 'adc_sw_fc': {'OffsetAddress': '0x020', 'Permission': 'RW', 'SegDescription': '子通道折叠失调校准', 'Fields': [{'Bits': [5, 0], 'FieldName': 'adc_sw_fc', 'ResetValue': \"6'h05\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '子通道折叠失调校准'}]}, 'adc_sw_cap': {'OffsetAddress': '0x024', 'Permission': 'RW', 'SegDescription': '输入缓冲器电容开关', 'Fields': [{'Bits': [0], 'FieldName': 'adc_sw_cap', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '输入缓冲器电容开关'}]}, 'data_clk_sel': {'OffsetAddress': '0x028', 'Permission': 'RW', 'SegDescription': 'ADC数据输出驱动时钟选择', 'Fields': [{'Bits': [2, 0], 'FieldName': 'data_clk_sel', 'ResetValue': \"3'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'ADC数据输出驱动时钟选择'}]}, 'adc_vincm_sel': {'OffsetAddress': '0x02C', 'Permission': 'RW', 'SegDescription': '模拟信号输入共模选择', 'Fields': [{'Bits': [4, 0], 'FieldName': 'adc_vincm_sel', 'ResetValue': \"5'h1b\", 'Range': {'value': [\"5'h1e\", \"5'h1d\", \"5'h1b\", \"5'h17\", \"5'h0f\"], 'type': 'set'}, 'FieldDescription': '模拟信号输入共模选择'}]}, 'ext_ctrl': {'OffsetAddress': '0x030', 'Permission': 'RW', 'SegDescription': '扩展控制寄存器', 'Fields': [{'Bits': [18], 'FieldName': 'adc_up_down_sel', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'ADC输出选择上升下降沿切换'}, {'Bits': [17], 'FieldName': 'adc_skew_sel', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW功能选择'}, {'Bits': [16], 'FieldName': 'adc_ti_cal_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW校准使能'}, {'Bits': [15], 'FieldName': 'adc_og_cal_en', 'ResetValue': \"1'h1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'OG_CAL使能'}, {'Bits': [14], 'FieldName': 'adc_sel_do_p', 'ResetValue': \"1'h1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'ADC输出选择'}, {'Bits': [13], 'FieldName': 'adc_sel_tc_p', 'ResetValue': \"1'h1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延时模块输入选'}, {'Bits': [12], 'FieldName': 'adc_sel_test', 'ResetValue': \"1'h1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '时钟BUFFER输出测试选择'}, {'Bits': [10], 'FieldName': 'adc_cmprx_en', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '比较器使能信号'}, {'Bits': [9, 5], 'FieldName': 'adc_sw_clkrx2', 'ResetValue': \"5'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '时钟BUFFER2路径延时控制'}, {'Bits': [4, 0], 'FieldName': 'adc_sw_clkrx1', 'ResetValue': \"5'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '时钟BUFFER1路径延时控制'}]}, 'time_skew0': {'OffsetAddress': '0x034', 'Permission': 'RW', 'SegDescription': 'time skew控制0', 'Fields': [{'Bits': [31, 24], 'FieldName': 'adc_t_c4', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节4'}, {'Bits': [23, 16], 'FieldName': 'adc_t_c3', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节3'}, {'Bits': [15, 8], 'FieldName': 'adc_t_c2', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节2'}, {'Bits': [7, 0], 'FieldName': 'adc_t_c1', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节1'}]}, 'time_skew1': {'OffsetAddress': '0x038', 'Permission': 'RW', 'SegDescription': 'time skew控制1', 'Fields': [{'Bits': [31, 24], 'FieldName': 'adc_t_c8', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节8'}, {'Bits': [23, 16], 'FieldName': 'adc_t_c7', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节7'}, {'Bits': [15, 8], 'FieldName': 'adc_t_c6', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节6'}, {'Bits': [7, 0], 'FieldName': 'adc_t_c5', 'ResetValue': \"8'h80\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'TIME_SKEW延迟调节5'}]}, 'ov_count': {'OffsetAddress': '0x03C', 'Permission': 'RO', 'SegDescription': '输入过载脉冲计数', 'Fields': [{'Bits': [31, 0], 'FieldName': 'ov_count', 'ResetValue': \"32'h0\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '输入过载脉冲计数'}]}, 'dac_version': {'OffsetAddress': '0x100', 'Permission': 'RO', 'SegDescription': 'DAC版本', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_version', 'ResetValue': \"32'h0\", 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': 'DAC版本'}]}, 'dac_r_load': {'OffsetAddress': '0x104', 'Permission': 'RW', 'SegDescription': '负载电阻控制', 'Fields': [{'Bits': [15, 0], 'FieldName': 'dac_r_load', 'ResetValue': \"16'hffff\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '负载电阻控制'}]}, 'dac_mode': {'OffsetAddress': '0x108', 'Permission': 'RW', 'SegDescription': 'DAC工作模式选择', 'Fields': [{'Bits': [0], 'FieldName': 'dac_mode', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'DAC工作模式选择'}]}, 'dac_prbs_en': {'OffsetAddress': '0x10C', 'Permission': 'RW', 'SegDescription': '伪随机数生成使能', 'Fields': [{'Bits': [0], 'FieldName': 'dac_prbs_en', 'ResetValue': '1’b0', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '伪随机数生成使能'}]}, 'dac_set0': {'OffsetAddress': '0x110', 'Permission': 'RW', 'SegDescription': '随机数种子0', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set0', 'ResetValue': \"32'h24cb4cb7\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子0'}]}, 'dac_set1': {'OffsetAddress': '0x114', 'Permission': 'RW', 'SegDescription': '随机数种子1', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set1', 'ResetValue': \"32'h07e66636\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子1'}]}, 'dac_set2': {'OffsetAddress': '0x118', 'Permission': 'RW', 'SegDescription': '随机数种子2', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set2', 'ResetValue': \"32'h2f365fd3\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子2'}]}, 'dac_set3': {'OffsetAddress': '0x11C', 'Permission': 'RW', 'SegDescription': '随机数种子3', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set3', 'ResetValue': \"32'h05376d5f\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子3'}]}, 'dac_set4': {'OffsetAddress': '0x120', 'Permission': 'RW', 'SegDescription': '随机数种子4', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set4', 'ResetValue': \"32'h5eb02d64\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子4'}]}, 'dac_set5': {'OffsetAddress': '0x124', 'Permission': 'RW', 'SegDescription': '随机数种子5', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set5', 'ResetValue': \"32'h6c3472a3\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子5'}]}, 'dac_set6': {'OffsetAddress': '0x128', 'Permission': 'RW', 'SegDescription': '随机数种子6', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set6', 'ResetValue': \"32'h088c374e\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子6'}]}, 'dac_set7': {'OffsetAddress': '0x12C', 'Permission': 'RW', 'SegDescription': '随机数种子7', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_set7', 'ResetValue': \"32'h54db24ba\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '随机数种子7'}]}, 'dac_cas_addr': {'OffsetAddress': '0x144', 'Permission': 'RW', 'SegDescription': '提高电流源vds', 'Fields': [{'Bits': [2, 0], 'FieldName': 'dac_cas_addr', 'ResetValue': \"3'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '提高电流源vds'}]}, 'dac_cas_dw': {'OffsetAddress': '0x148', 'Permission': 'RW', 'SegDescription': '降低电流源vds', 'Fields': [{'Bits': [2, 0], 'FieldName': 'dac_cas_dw', 'ResetValue': \"3'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '降低电流源vds'}]}, 'dac_i_main_ctrl': {'OffsetAddress': '0x14C', 'Permission': 'RW', 'SegDescription': '调整电流源电流', 'Fields': [{'Bits': [7, 0], 'FieldName': 'dac_i_main_ctrl', 'ResetValue': \"8'h7d\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '调整电流源电流'}]}, 'dac_i_cal_ctrl': {'OffsetAddress': '0x150', 'Permission': 'RW', 'SegDescription': '调整校准电流源电流', 'Fields': [{'Bits': [15, 0], 'FieldName': 'dac_i_cal_ctrl', 'ResetValue': \"16'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '调整校准电流源电流'}]}, 'dac_i_bleed_ctrl': {'OffsetAddress': '0x154', 'Permission': 'RW', 'SegDescription': '调整Bleed电流', 'Fields': [{'Bits': [15, 0], 'FieldName': 'dac_i_bleed_ctrl', 'ResetValue': \"16'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '调整Bleed电流'}]}, 'dac_bleed_en': {'OffsetAddress': '0x158', 'Permission': 'RW', 'SegDescription': 'Bleed电流开关', 'Fields': [{'Bits': [0], 'FieldName': 'dac_bleed_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'Bleed电流开关'}]}, 'dac_i_main_cal_ctrl': {'OffsetAddress': '0x15C', 'Permission': 'RW', 'SegDescription': '电流源手动校准写入控制', 'Fields': [{'Bits': [18, 0], 'FieldName': 'dac_i_main_cal_ctrl', 'ResetValue': \"19'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '电流源手动校准写入控制'}]}, 'dac_ical_sr0': {'OffsetAddress': '0x160', 'Permission': 'RO', 'SegDescription': '电流校准状态寄存器0', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ical_sr0', 'ResetValue': 'NA', 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '电流校准状态寄存器0'}]}, 'dac_ical_sr1': {'OffsetAddress': '0x164', 'Permission': 'RO', 'SegDescription': '电流校准状态寄存器1', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ical_sr1', 'ResetValue': 'NA', 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '电流校准状态寄存器1'}]}, 'dac_ical_sr2': {'OffsetAddress': '0x168', 'Permission': 'RO', 'SegDescription': '电流校准状态寄存器2', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ical_sr2', 'ResetValue': 'NA', 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '电流校准状态寄存器2'}]}, 'dac_ical_sr3': {'OffsetAddress': '0x16C', 'Permission': 'RO', 'SegDescription': '电流校准状态寄存器3', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ical_sr3', 'ResetValue': 'NA', 'Range': {'value': 'NA', 'type': 'str'}, 'FieldDescription': '电流校准状态寄存器3'}]}, 'dac_bias_en': {'OffsetAddress': '0x170', 'Permission': 'RW', 'SegDescription': '偏置使能', 'Fields': [{'Bits': [15, 0], 'FieldName': 'dac_bias_en', 'ResetValue': \"16'hffff\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '偏置使能'}]}, 'dac_bias_ctrl0': {'OffsetAddress': '0x174', 'Permission': 'RW', 'SegDescription': '偏置控制选择0', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_bias_ctrl0', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '偏置控制选择0'}]}, 'dac_bias_ctrl1': {'OffsetAddress': '0x178', 'Permission': 'RW', 'SegDescription': '偏置控制选择1', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_bias_ctrl1', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '偏置控制选择1'}]}, 'dac_bias_ctrl2': {'OffsetAddress': '0x17C', 'Permission': 'RW', 'SegDescription': '偏置控制选择2', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_bias_ctrl2', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '偏置控制选择2'}]}, 'dac_bias_ctrl3': {'OffsetAddress': '0x180', 'Permission': 'RW', 'SegDescription': '偏置控制选择3', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_bias_ctrl3', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '偏置控制选择3'}]}, 'dac_order_ctrl': {'OffsetAddress': '0x188', 'Permission': 'RW', 'SegDescription': 'DAC输出采样点调序', 'Fields': [{'Bits': [3, 0], 'FieldName': 'dac_order_ctrl', 'ResetValue': \"4'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'DAC输出采样点调序'}]}, 'dac_i_main_cal_code': {'OffsetAddress': '0x18C', 'Permission': 'RW', 'SegDescription': '电流源手动校准控制码', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_i_main_cal_code', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '电流源手动校准控制码'}]}}, 'SYS_PLL': {'intpll_refctrl': {'OffsetAddress': '0x00', 'Permission': 'RW', 'SegDescription': '输入时钟控制', 'Fields': [{'Bits': [18], 'FieldName': 'ref_s_to_d', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '参考时钟单端到差分转换'}, {'Bits': [17], 'FieldName': 'ref_en', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '输入参考时钟使能'}, {'Bits': [16], 'FieldName': 'ref_sel', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '分频器时钟源选择信号'}]}, 'intpll_pcnt': {'OffsetAddress': '0x04', 'Permission': 'RW', 'SegDescription': 'P计数器,乘2等于分频比', 'Fields': [{'Bits': [22, 16], 'FieldName': 'p_cnt', 'ResetValue': \"7'b0001100\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'P计数器,乘2等于分频比'}]}, 'intpll_pfdctrl': {'OffsetAddress': '0x08', 'Permission': 'RW', 'SegDescription': 'PFD控制', 'Fields': [{'Bits': [18], 'FieldName': 'pfd_dff_4and', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PFD输出极性设置'}, {'Bits': [17], 'FieldName': 'pfd_dff_set', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PFD中触发器置位'}, {'Bits': [16], 'FieldName': 'pfd_delay', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PFD死区'}]}, 'intpll_spdctrl': {'OffsetAddress': '0x0c', 'Permission': 'RW', 'SegDescription': 'SPD控制', 'Fields': [{'Bits': [21], 'FieldName': 'spd_pulse_sw', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'SPD脉冲开关'}, {'Bits': [20], 'FieldName': 'spd_pulse_width', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'SPD脉冲宽度'}, {'Bits': [19, 16], 'FieldName': 'spd_div', 'ResetValue': \"4'b0100\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'SPD分频比'}]}, 'intpll_ptatctrl': {'OffsetAddress': '0x10', 'Permission': 'RW', 'SegDescription': 'PTAT控制', 'Fields': [{'Bits': [21, 18], 'FieldName': 'sw_ptat_r', 'ResetValue': \"4'b1000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT电流调节'}, {'Bits': [17], 'FieldName': 'sw_ptat_i', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT电流开关'}, {'Bits': [16], 'FieldName': 'cpc_sel', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT电流与恒流源切换'}]}, 'intpll_selctrl': {'OffsetAddress': '0x14', 'Permission': 'RW', 'SegDescription': 'SEL控制', 'Fields': [{'Bits': [18], 'FieldName': 'dtd_en', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '占空比校准开关'}, {'Bits': [17], 'FieldName': 'spd_sel', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'SPD环选择'}, {'Bits': [16], 'FieldName': 'pfd_sel', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PFD环选择'}]}, 'intpll_vcoctrl': {'OffsetAddress': '0x18', 'Permission': 'RW', 'SegDescription': 'VCO控制', 'Fields': [{'Bits': [31, 24], 'FieldName': 'vco_fb', 'ResetValue': \"8'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO频率带宽调节'}, {'Bits': [23], 'FieldName': 'vco_en', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO使能'}, {'Bits': [22], 'FieldName': 'vco_buf_en', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO BUFF使能'}, {'Bits': [21, 19], 'FieldName': 'vco_cur', 'ResetValue': \"3'b111\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO电流调节'}, {'Bits': [18], 'FieldName': 'vco_gain_r', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO增益调节电阻'}, {'Bits': [17], 'FieldName': 'vco_gain', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO增益调节'}, {'Bits': [16], 'FieldName': 'vco_tc_r', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO温度补偿电阻'}, {'Bits': [15], 'FieldName': 'vco_tc', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'VCO温度补偿'}]}, 'intpll_tcctrl': {'OffsetAddress': '0x1c', 'Permission': 'RW', 'SegDescription': 'TC控制', 'Fields': [{'Bits': [26, 23], 'FieldName': 'tc_sel', 'ResetValue': \"4'b0100\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '温度补偿选择'}, {'Bits': [22], 'FieldName': 'ptat_res_en', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT MOS电阻使能'}, {'Bits': [21], 'FieldName': 'ptat_s_dc_sel', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT斜率DC选择'}, {'Bits': [20], 'FieldName': 'ptat_res_vdc300', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT MOS电阻偏置'}, {'Bits': [19], 'FieldName': 'ptat_res_vdc500', 'ResetValue': \"1'b1\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT MOS电阻偏置'}, {'Bits': [18], 'FieldName': 'ptat_res_vdc800', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'PTAT MOS电阻偏置'}, {'Bits': [17], 'FieldName': 'sw_var_temp_en', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '温度补偿自动开关'}, {'Bits': [16], 'FieldName': 'sw_var_temp', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '温度补偿手动开关'}]}, 'intpll_afcctrl': {'OffsetAddress': '0x20', 'Permission': 'RW', 'SegDescription': 'AFC控制', 'Fields': [{'Bits': [23, 20], 'FieldName': 'afc_pres', 'ResetValue': \"4'b0011\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC比较器精度调节'}, {'Bits': [19], 'FieldName': 'afc_clk_sel', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC时钟频率选择'}, {'Bits': [18], 'FieldName': 'afc_shutdown', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC模块关闭信号'}, {'Bits': [17], 'FieldName': 'afc_reset', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC模块复位信号'}, {'Bits': [16], 'FieldName': 'afc_en', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC模块使能'}]}, 'intpll_afcfbctrl': {'OffsetAddress': '0x24', 'Permission': 'RW', 'SegDescription': 'AFC反馈控制', 'Fields': [{'Bits': [31, 17], 'FieldName': 'afc_fb_target', 'ResetValue': \"15'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC频带调整功能目标周期数目调节'}, {'Bits': [16, 6], 'FieldName': 'afc_fb_cnt', 'ResetValue': \"11'b00011001000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC频带调整功能计数器计数时间调节'}]}, 'intpll_afcldcnt': {'OffsetAddress': '0x28', 'Permission': 'RW', 'SegDescription': 'AFC锁定探测计数', 'Fields': [{'Bits': [31, 17], 'FieldName': 'afc_ld_target', 'ResetValue': \"15'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC锁定检测功能目标周期数目'}, {'Bits': [16, 6], 'FieldName': 'afc_ld_cnt', 'ResetValue': \"11'b11001000000\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC锁定检测功能计数器计数时间调节'}]}, 'intpll_testclk': {'OffsetAddress': '0x30', 'Permission': 'RW', 'SegDescription': '测试时钟输出使能', 'Fields': [{'Bits': [20], 'FieldName': 'test_clk_oen', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '测试时钟输出使能'}]}, 'intpll_status': {'OffsetAddress': '0x38', 'Permission': 'RO', 'SegDescription': 'PLL状态寄存器', 'Fields': [{'Bits': [17], 'FieldName': 'afc_end_flag', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'AFC结束信号'}, {'Bits': [16], 'FieldName': 'ld_flag', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '锁相环锁定信号'}]}, 'intpll_update': {'OffsetAddress': '0x40', 'Permission': 'RW', 'SegDescription': '寄存器更新', 'Fields': [{'Bits': [16], 'FieldName': 'update', 'ResetValue': '1’b0', 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '寄存器更新'}]}, 'dac_ccal_reset': {'OffsetAddress': '0x4C', 'Permission': 'RW', 'SegDescription': '时钟校准复位', 'Fields': [{'Bits': [31, 16], 'FieldName': 'dac_ccal_reset', 'ResetValue': \"16'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '时钟校准复位'}]}, 'dac_ccal_auto_en': {'OffsetAddress': '0x50', 'Permission': 'RW', 'SegDescription': '时钟自动校准使能', 'Fields': [{'Bits': [16], 'FieldName': 'dac_ccal_auto_en', 'ResetValue': \"1'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '时钟自动校准使能'}]}, 'dac_ccal_sel_align': {'OffsetAddress': '0x54', 'Permission': 'RW', 'SegDescription': '时钟相位选择', 'Fields': [{'Bits': [31, 16], 'FieldName': 'dac_ccal_sel_align', 'ResetValue': \"16'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '时钟相位选择'}]}, 'dac_ccal_dcc_qec': {'OffsetAddress': '0x58', 'Permission': 'RW', 'SegDescription': '占空比和相位对其校准使能或手动模式控制', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ccal_dcc_qec', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '占空比和相位对其校准使能或手动模式控制'}]}, 'dac_ccal_qec_ctrl0': {'OffsetAddress': '0x5C', 'Permission': 'RW', 'SegDescription': '正交校准控制0', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ccal_qec_ctrl0', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '正交校准控制0'}]}, 'dac_ccal_qec_ctrl1': {'OffsetAddress': '0x60', 'Permission': 'RW', 'SegDescription': '正交校准控制1', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ccal_qec_ctrl1', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '正交校准控制1'}]}, 'dac_ccal_dcc_ctrl0': {'OffsetAddress': '0x64', 'Permission': 'RW', 'SegDescription': '占空比校准控制0', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ccal_dcc_ctrl0', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '占空比校准控制0'}]}, 'dac_ccal_dcc_ctrl1': {'OffsetAddress': '0x68', 'Permission': 'RW', 'SegDescription': '占空比校准控制1', 'Fields': [{'Bits': [31, 0], 'FieldName': 'dac_ccal_dcc_ctrl1', 'ResetValue': \"32'h0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '占空比校准控制1'}]}, 'div_sync_dlyc': {'OffsetAddress': '0x6C', 'Permission': 'RW', 'SegDescription': '延迟时长控制位', 'Fields': [{'Bits': [31, 16], 'FieldName': 'div_sync_dlyc', 'ResetValue': \"16'h0001\", 'Range': {'value': [\"16'h1\", \"16'h2\", \"16'h4\", \"16'h8\", \"16'h10\", \"16'h20\", \"16'h40\", \"16'h80\", \"16'h100\", \"16'h200\", \"16'h400\", \"16'h800\", \"16'h1000\", \"16'h2000\", \"16'h4000\", \"16'h8000\"], 'type': 'set'}, 'FieldDescription': '延迟时长控制位'}]}, 'sync_clr_n': {'OffsetAddress': '0x70', 'Permission': 'RW', 'SegDescription': '分频器同步清零复位使能', 'Fields': [{'Bits': [16], 'FieldName': 'sync_clr_n', 'ResetValue': \"1'b0\", 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '分频器同步清零复位使能'}]}}, 'TRIG_CTRL': {'sync_cmmand': {'OffsetAddress': '0x00', 'Permission': 'WC', 'SegDescription': '同步命令', 'Fields': [{'Bits': [10], 'FieldName': 'sync_clr_val', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '同步状态检测清除'}, {'Bits': [8], 'FieldName': 'sync_srst_val', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '全局同步状态机复位'}, {'Bits': [2], 'FieldName': 'idelay_load_val', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'idelay延迟设置加载'}, {'Bits': [1], 'FieldName': 'int_trig_val', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '内部同步信号命令'}, {'Bits': [0], 'FieldName': 'daq2sync_val', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '全局同步信号发出'}]}, 'sync_function': {'OffsetAddress': '0x04', 'Permission': 'RW', 'SegDescription': '同步功能', 'Fields': [{'Bits': [6], 'FieldName': 'adc1_sync_en', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'ADC1同步使能'}, {'Bits': [5], 'FieldName': 'adc0_sync_en', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': 'ADC0同步使能'}, {'Bits': [4], 'FieldName': 'sync_clk_sel', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '同步驱动时钟选择,0:62.5MHz;1:250MHz'}, {'Bits': [3, 2], 'FieldName': 'clk_sync_en', 'ResetValue': 0, 'Range': {'value': ['0', '1'], 'type': 'list'}, 'FieldDescription': 'LMK04821同步使能,0:不使能;1:使能'}, {'Bits': [1], 'FieldName': 'daq2sync_cas_sel', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '同步级联信号选择'}, {'Bits': [0], 'FieldName': 'daq2sync_ref_sel', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '同步参考信号选择'}]}, 'sync_ctrl': {'OffsetAddress': '0x10', 'Permission': 'RW', 'SegDescription': '同步控制和监视', 'Fields': [{'Bits': [31, 16], 'FieldName': 'sync_error_cnt', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '读有效,同步检测错误计数'}, {'Bits': [4, 0], 'FieldName': 'sync_idelay_tap', 'ResetValue': 0, 'Range': {'value': 'ANY', 'type': 'str'}, 'FieldDescription': '写:设置输入延迟,读实际输入延迟'}]}, 'intra_cycle_p': {'OffsetAddress': '0x18', 'Permission': 'RW', 'SegDescription': '同步间隔周期', 'Fields': [{'Bits': [31, 0], 'FieldName': 'intra_cycle_p', 'ResetValue': 64, 'Range': {'value': ['64', '1000000'], 'type': 'list'}, 'FieldDescription': '同步间隔周期'}]}, 'intra_cycle_c': {'OffsetAddress': '0x1C', 'Permission': 'RW', 'SegDescription': '同步脉冲个数', 'Fields': [{'Bits': [31, 0], 'FieldName': 'intra_cycle_c', 'ResetValue': 1, 'Range': {'value': ['1', '1000000'], 'type': 'list'}, 'FieldDescription': '同步脉冲个数'}]}}, 'PUMP_REG': {'pump_freq': {'OffsetAddress': '0x200000', 'Permission': 'RW', 'SegDescription': 'Pump输出频率控制字', 'Fields': [{'Bits': [31, 0], 'FieldName': 'pump_freq', 'ResetValue': 7000000, 'Range': {'value': ['7000000', '9000000'], 'type': 'list'}, 'FieldDescription': 'Pump输出频率控制字'}]}, 'pump_power': {'OffsetAddress': '0x300000', 'Permission': 'RW', 'SegDescription': 'Pump输出功率控制字', 'Fields': [{'Bits': [31, 0], 'FieldName': 'pump_power', 'ResetValue': -200, 'Range': {'value': ['-1300', '-200'], 'type': 'list'}, 'FieldDescription': 'Pump输出功率控制字'}]}, 'pump_enable': {'OffsetAddress': '0x400000', 'Permission': 'RW', 'SegDescription': 'Pump输出使能控制字', 'Fields': [{'Bits': [31, 0], 'FieldName': 'pump_enable', 'ResetValue': \"32'h00\", 'Range': {'value': [\"32'h11\", \"32'h00\"], 'type': 'set'}, 'FieldDescription': 'Pump输出使能控制字'}]}}, 'MIXER_REG': {'lo_freq': {'OffsetAddress': '0x00', 'Permission': 'RW', 'SegDescription': '本振频率控制字', 'Fields': [{'Bits': [31, 0], 'FieldName': 'fcw', 'ResetValue': 5500000, 'Range': {'value': ['5400000', '5600000'], 'type': 'list'}, 'FieldDescription': '本振频率控制字'}]}}}}\n"
|
||
]
|
||
}
|
||
],
|
||
"source": [
|
||
"with open(f\"../ids/{file_name}.json\", 'r', encoding='utf-8') as f:\n",
|
||
" data = json.load(f)\n",
|
||
"\n",
|
||
"print(data)\n",
|
||
"# print(data[\"Modules\"][\"SYSTEM_CTRL\"][\"test_2\"][\"Fields\"][0][\"ResetValue\"])"
|
||
]
|
||
}
|
||
],
|
||
"metadata": {
|
||
"kernelspec": {
|
||
"display_name": "base",
|
||
"language": "python",
|
||
"name": "python3"
|
||
},
|
||
"language_info": {
|
||
"codemirror_mode": {
|
||
"name": "ipython",
|
||
"version": 3
|
||
},
|
||
"file_extension": ".py",
|
||
"mimetype": "text/x-python",
|
||
"name": "python",
|
||
"nbconvert_exporter": "python",
|
||
"pygments_lexer": "ipython3",
|
||
"version": "3.12.7"
|
||
}
|
||
},
|
||
"nbformat": 4,
|
||
"nbformat_minor": 5
|
||
}
|