{"id":194,"date":"2024-06-06T15:18:33","date_gmt":"2024-06-06T07:18:33","guid":{"rendered":"http:\/\/blog.huanmie.fun\/?p=194"},"modified":"2024-06-06T15:34:25","modified_gmt":"2024-06-06T07:34:25","slug":"%e5%9f%ba%e4%ba%8everilog%e7%9a%84%e7%94%b5%e5%ad%90%e7%90%b4%e8%ae%be%e8%ae%a1%ef%bc%88%e5%8f%91%e5%a3%b0%e6%a8%a1%e5%9d%97%e5%8f%8a%e5%ad%90%e6%a8%a1%e5%9d%97%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.huanmie.fun\/index.php\/2024\/06\/06\/%e5%9f%ba%e4%ba%8everilog%e7%9a%84%e7%94%b5%e5%ad%90%e7%90%b4%e8%ae%be%e8%ae%a1%ef%bc%88%e5%8f%91%e5%a3%b0%e6%a8%a1%e5%9d%97%e5%8f%8a%e5%ad%90%e6%a8%a1%e5%9d%97%ef%bc%89\/","title":{"rendered":"\u57fa\u4e8eVerilog\u7684\u7535\u5b50\u7434\u8bbe\u8ba1\uff08\u53d1\u58f0\u6a21\u5757\u53ca\u5b50\u6a21\u5757\uff09"},"content":{"rendered":"\n<div class=\"wp-block-media-text is-stacked-on-mobile\" style=\"grid-template-columns:33% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"738\" src=\"http:\/\/blog.huanmie.fun\/wp-content\/uploads\/2024\/06\/image-7.png\" alt=\"\" class=\"wp-image-196 size-full\" srcset=\"https:\/\/blog.huanmie.fun\/wp-content\/uploads\/2024\/06\/image-7.png 635w, https:\/\/blog.huanmie.fun\/wp-content\/uploads\/2024\/06\/image-7-258x300.png 258w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h2 class=\"wp-block-heading\">\u6a21\u5757\u7b80\u4ecb\uff1a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8be5\u6a21\u5757\u4f8b\u5316\u4e86\u662f\u4e2aPWM\u53d1\u751f\u5668\uff0c\u53ef\u5c06\u952e\u76d8\u8bfb\u53d6\u5230\u7684\u5341\u4e2a\u952e\u503c\u8f6c\u6362\u4e3aPWM\u53d1\u751f\u6a21\u5757\u6240\u9700\u8981\u7684\u9891\u7387\u503c\uff0c\u5e76\u8bfb\u53d6\u4fdd\u5b58\u5728ROM\u4e2d\u7684\u7b80\u8c31\u4fe1\u606f\u5e76\u8f93\u51fa\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce8\uff1a\u97f3\u57df\u8303\u56f4\u4e3aC4-C5\u3002<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/\u57fa\u4e8eVerilog\u7684\u97f3\u4e50\u64ad\u653e\u5668\nmodule Music_C4C5_10Scale (\n    input               clk50m  ,   \/\/\u65f6\u949f\u4fe1\u53f7\n    input               rst_down,   \/\/\u590d\u4f4d\u4fe1\u53f7\n    input               Ben     ,   \/\/\u4f7f\u80fd\u4fe1\u53f7\n    input  wire &#91;4:0]   v_key1  ,\n                        v_key2  ,\n                        v_key3  ,\n                        v_key4  ,\n                        v_key5  ,\n                        v_key6  ,\n                        v_key7  ,\n                        v_key8  ,\n                        v_key9  ,\n                        v_key10 ,\n    input               Auto    ,   \/\/\u81ea\u52a8\u64ad\u653e\u4fe1\u53f7\n    input               key_done,   \/\/\u6309\u952e\u5b8c\u6210\u4fe1\u53f7\n\n    output wire&#91;4:0]    led_data,   \/\/LED\u706f\u4fe1\u53f7\n    output              PWM1    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM2    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM3    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM4    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM5    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM6    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM7    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM8    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM9    ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n                        PWM10   ,   \/\/\u8702\u9e23\u5668\u8f93\u51fa\u4fe1\u53f7\n    output reg          T_B         \/\/\u8282\u62cd\u4fe1\u53f7\n);\n\nassign  rst = rst_down;\nparameter clock_freq = 50_000_000;\n\/\/\u4f8b\u5316timer\u6a21\u5757\uff08\u8282\u62cd\u5668\uff09 4\/4\u62cd\ntimer1 #(.div_value(clock_freq\/2)) TIMER0(\n    .clk    (clk50m    ),\n    .rst    (!rst   ),\n    .timeout(B      ),\n    .en     (Ben   )\n);\nparameter PC = 10,ROM_MAX = 1710;\/\/\u56db\u5206\u97f3\u7b26-4,\u516b\u5206\u97f3\u7b26-8,\u5341\u516d\u5206\u97f3\u7b26-16\n\n\/\/\u4f8b\u5316timer\u6a21\u5757(\u8282\u62cd\u5668) \u5341\u516d\u5206\u97f3\u7b26\ntimer1 #(.div_value(clock_freq\/PC)) TIMER1(\n    .clk    (clk50m    ),\n    .rst    (!rst   ),\n    .timeout(B_E    ),\n    .en     (Ben   )\n);\n\nreg     &#91;11:0]  address     ;   \/\/ROM\u5730\u5740\nwire    &#91;5:0]   q           ;   \/\/ROM\u6570\u636e\nassign  led_data = q-1;   \/\/LED\u6570\u636e\u504f\u79fb\n\nROM1 ROM1_inst (\n\t.address    ( address   ),\n\t.clock      ( clk50m       ),\n\t.q          ( q         )\n\t);\n\nalways@(posedge clk50m or negedge rst)\nbegin\n    if(!rst)\n        T_B &lt;= 0;\n    else\n        if(B)\n            T_B &lt;= ~T_B;\nend\nreg &#91;4:0]   key1_tmp,key2_tmp,key3_tmp,key4_tmp,key5_tmp,key6_tmp,key7_tmp,key8_tmp,key9_tmp,key10_tmp;\nalways@(posedge clk50m or negedge Auto)\nbegin\n    if(!Auto) begin\n        key1_tmp &lt;= led_data;\n        key2_tmp &lt;= 0;\n        key3_tmp &lt;= 0;\n        key4_tmp &lt;= 0;\n        key5_tmp &lt;= 0;\n        key6_tmp &lt;= 0;\n        key7_tmp &lt;= 0;\n        key8_tmp &lt;= 0;\n        key9_tmp &lt;= 0;\n        key10_tmp &lt;= 0;\n    end\n    else begin\n        key1_tmp &lt;= v_key1;\n        key2_tmp &lt;= v_key2;\n        key3_tmp &lt;= v_key3;\n        key4_tmp &lt;= v_key4;\n        key5_tmp &lt;= v_key5;\n        key6_tmp &lt;= v_key6;\n        key7_tmp &lt;= v_key7;\n        key8_tmp &lt;= v_key8;\n        key9_tmp &lt;= v_key9;\n        key10_tmp &lt;= v_key10;\n    end\nend\nparameter\n    \/\/\u5927\u5b57\u7ec4\n    C2  =   11'd65,     \/\/01\n    Cs2 =   11'd69,     \/\/36\n    D2  =   11'd73,     \/\/02\n    Ds2 =   11'd78,     \/\/37\n    E2  =   11'd82,     \/\/03\n    F2  =   11'd87,     \/\/04\n    Fs2 =   11'd92,     \/\/38\n    G2  =   11'd98,     \/\/05\n    Gs2 =   11'd104,    \/\/39\n    A2  =   11'd110,    \/\/06\n    As2 =   11'd117,    \/\/40\n    B2  =   11'd123,    \/\/07\n    \/\/\u5c0f\u5b57\u7ec4\n    C3  =   11'd131,\/\/\u4f4e\u516b\u5ea6C  08\n    Cs3 =   11'd139,    \/\/41\n    D3  =   11'd147,    \/\/09\n    Ds3 =   11'd156,    \/\/42 \n    E3  =   11'd165,    \/\/10\n    F3  =   11'd175,    \/\/11\n    Fs3 =   11'd185,    \/\/43\n    G3  =   11'd196,    \/\/12\n    Gs3 =   11'd208,    \/\/44\n    A3  =   11'd220,    \/\/13\n    As3 =   11'd233,    \/\/45\n    B3  =   11'd247,    \/\/14\n    \/\/\u5c0f\u5b57\u4e00\u7ec4\n    C4  =   11'd262,    \/\/\u4e2d\u592eC 15\n    Cs4 =   11'd277,    \/\/46\n    D4  =   11'd294,    \/\/16\n    Ds4 =   11'd311,    \/\/47\n    E4  =   11'd330,    \/\/17\n    F4  =   11'd349,    \/\/18\n    Fs4 =   11'd370,    \/\/48\n    G4  =   11'd392,    \/\/19\n    Gs4 =   11'd415,    \/\/49\n    A4  =   11'd440,    \/\/20\n    As4 =   11'd466,    \/\/50\n    B4  =   11'd494,    \/\/21\n    \/\/\u5c0f\u5b57\u4e8c\u7ec4\n    C5  =   11'd523,    \/\/\u9ad8\u516b\u5ea6C 22\n    Cs5 =   11'd554,    \/\/51\n    D5  =   11'd587,    \/\/23\n    Ds5 =   11'd622,    \/\/52\n    E5  =   11'd659,    \/\/24\n    F5  =   11'd698,    \/\/25\n    Fs5 =   11'd740,    \/\/53\n    G5  =   11'd784,    \/\/26\n    Gs5 =   11'd831,    \/\/54\n    A5  =   11'd880,    \/\/27\n    As5 =   11'd932,    \/\/55\n    B5  =   11'd988,    \/\/28\n    \/\/\u5c0f\u5b57\u4e09\u7ec4\n    C6  =   11'd1047,   \/\/29\n    Cs6 =   11'd1109,   \/\/56\n    D6  =   11'd1175,   \/\/30\n    Ds6 =   11'd1245,   \/\/57\n    E6  =   11'd1319,   \/\/31\n    F6  =   11'd1397,   \/\/32\n    Fs6 =   11'd1480,   \/\/58\n    G6  =   11'd1568,   \/\/33\n    Gs6 =   11'd1661,   \/\/59\n    A6  =   11'd1760,   \/\/34\n    As6 =   11'd1865,   \/\/60\n    B6  =   11'd1976,   \/\/35\n    LL  =   11'd0;\n\nreg &#91;10:0]  next_note_tmp1,\n            next_note_tmp2,\n            next_note_tmp3,\n            next_note_tmp4,\n            next_note_tmp5,\n            next_note_tmp6,\n            next_note_tmp7,\n            next_note_tmp8,\n            next_note_tmp9,\n            next_note_tmp10,\n            next_note_tmp,\n            next_note;\n\n\/\/ROM\u5730\u5740\u63a7\u5236\u5668\nalways@(posedge clk50m or negedge rst)\nbegin\n    if(!rst)\n        address &lt;= 0;\n    else\n       if(B_E)begin\n        if(address >= ROM_MAX)\n            address &lt;= 0;\n        else\n            address &lt;= address + 1;\n       end\n       else begin\n        address &lt;= address;\n       end\nend\n\/\/\u952e\u503c\u63a7\u5236\u5668\nreg &#91;3:0] key_cnt;\nalways@(posedge clk50m or negedge rst)\nbegin\n    if(!rst)\n        key_cnt &lt;= 0;\n    else\n        if(!key_done)\n            key_cnt &lt;= 0;\n        else\n            begin\n                if(key_cnt >= 11)\n                    key_cnt &lt;= key_cnt;\n                else\n                    key_cnt &lt;= key_cnt + 1;\n            end \nend\nreg &#91;4:0] key_tmp;\n\nalways@(*)begin\n    case(key_cnt)\n        5'd1:begin\n            key_tmp = key1_tmp;\n            next_note_tmp1 = next_note_tmp;\n        end\n        5'd2:begin\n            key_tmp = key1_tmp;\n            next_note_tmp1 = next_note_tmp;\n        end\n        5'd3:begin\n            key_tmp = key2_tmp;\n            next_note_tmp2 = next_note_tmp;\n        end\n        5'd4:begin\n            key_tmp = key3_tmp;\n            next_note_tmp3 = next_note_tmp;\n        end\n        5'd5:begin\n            key_tmp = key4_tmp;\n            next_note_tmp4 = next_note_tmp;\n        end\n        5'd6:begin\n            key_tmp = key5_tmp;\n            next_note_tmp5 = next_note_tmp;\n        end\n        5'd7:begin\n            key_tmp = key6_tmp;\n            next_note_tmp6 = next_note_tmp;\n        end\n        5'd8:begin\n            key_tmp = key7_tmp;\n            next_note_tmp7 = next_note_tmp;\n        end\n        5'd9:begin\n            key_tmp = key8_tmp;\n            next_note_tmp8 = next_note_tmp;\n        end\n        5'd10:begin\n            key_tmp = key9_tmp;\n            next_note_tmp9 = next_note_tmp;\n        end\n        5'd11:begin\n            key_tmp = key10_tmp;\n            next_note_tmp10 = next_note_tmp;\n        end\n        default: key_tmp = 0;\n\n       \n    endcase\n             \nend\n\/\/\u97f3\u7b26\u63a7\u5236\u5668\nalways@(posedge clk50m or negedge rst)\nbegin\n    if(!rst)\n        next_note_tmp &lt;= 0;\n    else\n        case(key_tmp)\n            5'd0: next_note_tmp  &lt;= 0  ;\n            5'd1: next_note_tmp  &lt;= C4 ;\n            5'd2: next_note_tmp  &lt;= Cs4;\n            5'd3: next_note_tmp  &lt;= D4 ;\n            5'd4: next_note_tmp  &lt;= Ds4;\n            5'd5: next_note_tmp  &lt;= E4 ;\n            5'd6: next_note_tmp  &lt;= F4 ;\n            5'd7: next_note_tmp  &lt;= Fs4;\n            5'd8: next_note_tmp  &lt;= G4 ;\n            5'd9: next_note_tmp  &lt;= Gs4;\n            5'd10: next_note_tmp &lt;= A4 ;\n            5'd11: next_note_tmp &lt;= As4;\n            5'd12: next_note_tmp &lt;= B4 ;\n            5'd13: next_note_tmp &lt;= C5 ;\n            5'd14: next_note_tmp &lt;= Cs5;\n            5'd15: next_note_tmp &lt;= D5 ;\n            5'd16: next_note_tmp &lt;= Ds5;\n            5'd17: next_note_tmp &lt;= E5 ;\n            5'd18: next_note_tmp &lt;= F5 ;\n            5'd19: next_note_tmp &lt;= Fs5;\n            5'd20: next_note_tmp &lt;= G5 ;\n            5'd21: next_note_tmp &lt;= Gs5;\n            5'd22: next_note_tmp &lt;= A5 ;\n            5'd23: next_note_tmp &lt;= As5;\n            5'd24: next_note_tmp &lt;= B5 ;\n\n            default: next_note_tmp &lt;= 0;\n        endcase\nend\n\n\/\/\u4f8b\u5316pwm_var\u6a21\u5757\nPrintHz \n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_0\n(\n    .pwm_out    (PWM1           ),\n    .pwm_Hz     (next_note_tmp1 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_1\n(\n    .pwm_out    (PWM2           ),\n    .pwm_Hz     (next_note_tmp2 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_2\n(\n    .pwm_out    (PWM3           ),\n    .pwm_Hz     (next_note_tmp3 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_3\n(\n    .pwm_out    (PWM4           ),\n    .pwm_Hz     (next_note_tmp4 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_4\n(\n    .pwm_out    (PWM5           ),\n    .pwm_Hz     (next_note_tmp5 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);  \n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_5\n(\n    .pwm_out    (PWM6           ),\n    .pwm_Hz     (next_note_tmp6 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_6\n(\n    .pwm_out    (PWM7           ),\n    .pwm_Hz     (next_note_tmp7 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_7\n(\n    .pwm_out    (PWM8           ),\n    .pwm_Hz     (next_note_tmp8 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_8\n(\n    .pwm_out    (PWM9           ),\n    .pwm_Hz     (next_note_tmp9 ),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n\nPrintHz\n#(\n    .clock_freq (clock_freq     ),\n    .max_pwm_Hz (2000           ),\n    .max_cycle  (1000           )\n) PWM_9\n(\n    .pwm_out    (PWM10          ),\n    .pwm_Hz     (next_note_tmp10),\n    .duty_cycle (400             ),\n    .clk        (clk50m         ),\n    .rst_down   (rst_down       ),\n    .pwm_en     (Ben            )\n);\n    \nendmodule\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u8ba1\u65f6\u5668\u6a21\u5757\uff1a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/\u8ba1\u65f6\u5668\u6a21\u5757\n   \/\/\u5b9a\u65f6\u5668\uff0c\u901a\u8fc7\u7ed9\u5b9a\u4e0e\u65f6\u949f\u9891\u7387\u4e00\u81f4\u7684\u5206\u9891\u503c\uff0c\u751f\u6210\u4e00\u79d2\u5b9a\u65f6\u8109\u51b2\n    \/\/\u5b9a\u65f6\u8109\u51b2\u8fde\u81f3\u4e32\u53e3\u53d1\u9001\u5b57\u7b26\u4e32\u6a21\u5757\u542f\u52a8\u7aef\uff0c\u4ea7\u751f\u6bcf\u79d2\u53d1\u9001\u4e00\u6b21\u7684\u529f\u80fd\n\nmodule timer1 \n#(\n    parameter div_value = 25_000_000,\n    div_width = div_value > 0 ? $clog2(div_value + 1) : 1\n)\n(\n    output reg timeout,\n    input clk,\n    input rst,\n    input en\n);\n\n    reg&#91;div_width-1:0] cnt_value;\n    \n    always@(posedge clk or posedge rst)\n    begin\n        if(rst)\n            timeout &lt;= 0;\n        else if(en)\n                if(cnt_value == div_value - 1)\n                    timeout &lt;= 1;\n                else\n                    timeout &lt;= 0;\n            else\n                timeout &lt;= 0;\n    end\n    \n    always@(posedge clk or posedge rst)\n    begin\n        if(rst )\n            cnt_value &lt;= 0;\n        else\n\t\t\tif(en)\n                if((cnt_value == div_value - 1))\n\t\t\t\t    cnt_value &lt;= 0;\n\t\t\t\telse\n                    cnt_value &lt;= cnt_value + 1;\n            else\n                cnt_value &lt;= 0;\n    end\n    \nendmodule<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6a21\u5757\u7b80\u4ecb\uff1a \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8be5\u6a21\u5757\u4f8b\u5316\u4e86\u662f\u4e2aPWM\u53d1\u751f\u5668\uff0c\u53ef\u5c06\u952e\u76d8\u8bfb\u53d6\u5230\u7684\u5341\u4e2a\u952e\u503c\u8f6c\u6362\u4e3aPWM\u53d1\u751f\u6a21\u5757\u6240\u9700\u8981\u7684\u9891\u7387\u503c\uff0c\u5e76\u8bfb\u53d6\u4fdd\u5b58\u5728 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":196,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-194","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fpga"],"_links":{"self":[{"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":5,"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"predecessor-version":[{"id":200,"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/posts\/194\/revisions\/200"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/media\/196"}],"wp:attachment":[{"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.huanmie.fun\/index.php\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}