tailcorrect finished

This commit is contained in:
yangshenbo 2026-07-26 12:14:02 +08:00
parent 9a30a0a517
commit 7b8c12367d
1 changed files with 15 additions and 12 deletions

View File

@ -6,8 +6,8 @@
"metadata": { "metadata": {
"collapsed": true, "collapsed": true,
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-07-25T15:37:50.649016Z", "end_time": "2026-07-26T04:08:12.474449Z",
"start_time": "2026-07-25T15:37:50.479709Z" "start_time": "2026-07-26T04:08:12.362592Z"
} }
}, },
"source": [ "source": [
@ -88,6 +88,8 @@
" # 1. 统一构建输出路径 (指向上一层目录)\n", " # 1. 统一构建输出路径 (指向上一层目录)\n",
" out_dir = Path(base_dir) / folder_name\n", " out_dir = Path(base_dir) / folder_name\n",
" config_file_path = out_dir / f\"{case_name}_HEX.txt\"\n", " config_file_path = out_dir / f\"{case_name}_HEX.txt\"\n",
" \n",
" params['FolderName'] = str(out_dir)\n",
" params['config_file'] = str(config_file_path)\n", " params['config_file'] = str(config_file_path)\n",
" \n", " \n",
" # 2. 自动创建目录并初始化保存器\n", " # 2. 自动创建目录并初始化保存器\n",
@ -133,7 +135,7 @@
] ]
} }
], ],
"execution_count": 3 "execution_count": 13
}, },
{ {
"metadata": { "metadata": {
@ -160,8 +162,8 @@
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-07-25T15:37:54.484622Z", "end_time": "2026-07-26T04:12:10.822661Z",
"start_time": "2026-07-25T15:37:54.349487Z" "start_time": "2026-07-26T04:12:10.696089Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
@ -170,8 +172,9 @@
"# AWG通用模板\n", "# AWG通用模板\n",
"run_case({\n", "run_case({\n",
" 'chip_mode':'AWG', #分为AWG和RAMP模式\n", " 'chip_mode':'AWG', #分为AWG和RAMP模式\n",
" 'mode':'mod', #可选nco nco_fm env mod四种模式\n", " 'mode':'env', #可选nco nco_fm env mod四种模式\n",
" 'tail_en': False, #拖尾矫正开关\n", " 'tail_en': True, #拖尾矫正开关\n",
" 'tc_coef_set': 'coef3', #拖尾矫正打开生效\n",
" 'inner_sync': True, #内部触发,应该是软触发,写一个寄存器,就能触发\n", " 'inner_sync': True, #内部触发,应该是软触发,写一个寄存器,就能触发\n",
" 'amp_mod_enable': True, #调幅的开关mod调制模式下起作用。\n", " 'amp_mod_enable': True, #调幅的开关mod调制模式下起作用。\n",
" 'freq_mod_enable': True, #nco的开关\n", " 'freq_mod_enable': True, #nco的开关\n",
@ -190,10 +193,10 @@
" 'send_interval': [100, 150, 200, 250, 300, 350, 400,450,500],\n", " 'send_interval': [100, 150, 200, 250, 300, 350, 400,450,500],\n",
" 'cycle_num': 1, #0代表无限循环如果要想扫参那么这个波形序列就不能无限循环播放\n", " 'cycle_num': 1, #0代表无限循环如果要想扫参那么这个波形序列就不能无限循环播放\n",
" 'codeword_configs': [\n", " 'codeword_configs': [\n",
" {'wave_hold': 1, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 0},\n", " # {'wave_hold': 1, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 0},\n",
" {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 0, 'env_index': 1},\n", " # {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 0, 'env_index': 1},\n",
" {'wave_hold': 1, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 2},\n", " # {'wave_hold': 1, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 2},\n",
" {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 0, 'env_index': 3},\n", " # {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 0, 'env_index': 3},\n",
" {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 4},\n", " {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 4},\n",
" {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 5},\n", " {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 5},\n",
" {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 6},\n", " {'wave_hold': 0, 'fcw_index': 0, 'pcw_index': 0, 'code_clr': 1, 'env_index': 6},\n",
@ -231,7 +234,7 @@
] ]
} }
], ],
"execution_count": 4 "execution_count": 16
}, },
{ {
"metadata": { "metadata": {