亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fracn09.pl

?? Clock generation perl to vhdl oijoij
?? PL
?? 第 1 頁 / 共 5 頁
字號:
    vhdl "\t\t\t\tcarry <= new_phase(num_bits - 1);\n";    vhdl "\t\t\t\tif (carry = '1') then\n";    vhdl "\t\t\t\t\tmsb <= not msb;\t-- toggle msb\n";    vhdl "\t\t\t\tend if;\n";    vhdl "\t\t\t\toutput_pulse <= msb and carry;\n";    #vhdl "\t\t\t\t-- decode counter\n";    vhdl "\t\t\t\td_carry <= carry;\n";    vhdl "\t\t\t\td_msb_1 <= msb and not (d_carry and late);\n";    vhdl "\t\t\t\tif (carry = '1') then\n";    vhdl "\t\t\t\t\tlate <= phase_diff(num_bits);\n";    vhdl "\t\t\t\tend if;\n";    vhdl "\t\t\tend if;\n";    vhdl "\t\tend if;\n";    vhdl "\tend process phase_accumulator;\n";    vhdl "\n";    vhdl "\tphase_diff <= (phase(num_bits - 2 downto 0) & '0') - ('0' & c);\n";    vhdl "\n";    vhdl "\toutput_50 <= d_msb_1 or d_msb_2_neg;\n";    vhdl "\n";    vhdl "\tneg_edge : process (async_reset, clock)\n";    vhdl "\tbegin\n";    vhdl "\t\tif (async_reset = '1') then\n";    vhdl "\t\t\td_msb_2_neg <= '0';\n";    vhdl "\t\telsif (falling_edge(clock)) then\n";    vhdl "\t\t\tif (clock_enable = '1') then\n";    vhdl "\t\t\t\td_msb_2_neg <= msb xor (d_carry and not (not late and not msb));\n";    vhdl "\t\t\tend if;\n";    vhdl "\t\tend if;\n";    vhdl "\tend process neg_edge;\n";    vhdl "\n";    vhdl "\tassert c(num_bits - 1) = '0' severity failure; \n";    vhdl "\n";    vhdl "end generate gen_other_phase_accumulator;\n";    vhdl "\n";}verilog "/** this section not yet implemented in the Verilog version */\n\n";# write prescaler processcomment_line;comment " Prescaler.  Divides by either $n or " . ($n+1) . "\n";comment " depending on whether the signal \"modulus_control\" is '0' or '1'.\n";comment " Note: the \"terminal count\" is fixed, and the load value is\n";comment " varied, to give smaller, faster logic (?)\n";comment_line;vhdl "gen_prescaler : if not use_phase_accumulator generate\n";vhdl "\tprescaler : process (async_reset, clock)\n";vhdl "\tbegin\n";vhdl "\t\tif (async_reset = '1') then\n";vhdl "\t\t\tprescaler_count  <= 0;\n";vhdl "\t\t\tprescaler_out    <= '0';\n" if ($n > 1);#vhdl "--" if (not $gen_50_percent_output);vhdl "\t\t\tprescaler_out_50 <= '0';\n";vhdl "\t\telsif (rising_edge(clock)) then\n";vhdl "\t\t\tif (clock_enable = '1') then\n";vhdl "\t\t\t\t-- manage counter\n";vhdl "\t\t\t\tif (prescaler_count < n) then\n";vhdl "\t\t\t\t\tprescaler_count <= prescaler_count + 1;\n";vhdl "\t\t\t\telse\n";vhdl "\t\t\t\t\tif (modulus_control = '0') then\n";vhdl "\t\t\t\t\t\tprescaler_count <= 1;\n";vhdl "\t\t\t\t\telse\n";vhdl "\t\t\t\t\t\tprescaler_count <= 0;\n";vhdl "\t\t\t\t\tend if;\n";vhdl "\t\t\t\tend if;\n";if ($n > 1) {    # only need to decode if there are more than 2 states (i.e. > 1 ff)    vhdl "\t\t\t\t-- decode counter\n";    vhdl "\t\t\t\tif (prescaler_count < n) then\n";    vhdl "\t\t\t\t\tprescaler_out <= '0';\n";    vhdl "\t\t\t\telse\n";    vhdl "\t\t\t\t\tprescaler_out <= '1';\n";    vhdl "\t\t\t\tend if;\n";}vhdl "\t\t\t\tif (prescaler_count <= n/2) then\n";#vhdl "--" if (not $gen_50_percent_output);vhdl "\t\t\t\t\tprescaler_out_50 <= '0';\n";vhdl "\t\t\t\telse\n";#vhdl "--" if (not $gen_50_percent_output);vhdl "\t\t\t\t\tprescaler_out_50 <= '1';\n";vhdl "\t\t\t\tend if;\n";vhdl "\t\t\tend if;\n";vhdl "\t\tend if;\n";vhdl "\tend process prescaler;\n";vhdl "\n";if ($n <= 1) {    vhdl "\tprescaler_out <= '0' when prescaler_count = 0 else '1';\n";}vhdl "\toutput_pulse <= prescaler_out;\n";vhdl "\n";vhdl "end generate gen_prescaler;\n";vhdl "\n";verilog "\talways @(posedge async_reset or posedge clock ) begin : prescaler\n";verilog "\t\tif (async_reset)\n";verilog "\t\t\tbegin\n";verilog "\t\t\t\tprescaler_count  <= 0;\n";verilog "\t\t\t\tprescaler_out    <= 0;\n" if ($n > 1);#verilog "//" if (not $gen_50_percent_output);verilog "\t\t\t\tprescaler_out_50 <= 0;\n";verilog "\t\t\tend\n";verilog "\t\telse\n";verilog "\t\t\tbegin\n";verilog "\t\t\t\tif (clock_enable)\n";verilog "\t\t\t\t\tbegin\n";verilog "\t\t\t\t\t\t// manage counter\n";verilog "\t\t\t\t\t\tif (prescaler_count < n)\n";#verilog "\t\t\t\t\t\t\tbegin\n";verilog "\t\t\t\t\t\t\tprescaler_count <= prescaler_count + 1;\n";#verilog "\t\t\t\t\t\t\tend\n";verilog "\t\t\t\t\t\telse\n";#verilog "\t\t\t\t\t\t\tbegin\n";verilog "\t\t\t\t\t\t\tprescaler_count <= modulus_control ? 0 : 1;\n";#verilog "\t\t\t\t\t\t\t\tif (!modulus_control)\n";#verilog "\t\t\t\t\t\t\t\t\tbegin\n";#verilog "\t\t\t\t\t\t\t\t\t\tprescaler_count <= 1;\n";#verilog "\t\t\t\t\t\t\t\t\tend\n";#verilog "\t\t\t\t\t\t\t\telse\n";#verilog "\t\t\t\t\t\t\t\t\tbegin\n";#verilog "\t\t\t\t\t\t\t\t\t\tprescaler_count <= 0;\n";#verilog "\t\t\t\t\t\t\t\t\tend\n";#verilog "\t\t\t\t\t\t\t\tend\n";if ($n > 1) {    # only need to decode if there are more than 2 states (i.e. > 1 ff)    verilog "\t\t\t\t\t\t// decode counter\n";    verilog "\t\t\t\t\t\tprescaler_out <= (prescaler_count < n) ? 0 : 1;\n";    #verilog "\t\t\t\t\t\tif (prescaler_count < n) begin\n";    #verilog "\t\t\t\t\t\t\tprescaler_out <= 0;\n";    #verilog "\t\t\t\t\t\tend else begin\n";    #verilog "\t\t\t\t\t\t\tprescaler_out <= 1;\n";    #verilog "\t\t\t\t\t\tend\n";}verilog "\t\t\t\t\t\t// make 50% duty cycle output\n";verilog "\t\t\t\t\t\tprescaler_out_50 <= (prescaler_count <= n/2) ? 0 : 1;\n";#verilog "\t\t\t\t\t\tif (prescaler_count <= n/2) begin\n";##verilog "//" if (not $gen_50_percent_output);#verilog "\t\t\t\t\t\t\tprescaler_out_50 <= 0;\n";#verilog "\t\t\t\t\t\tend else begin\n";##verilog "//" if (not $gen_50_percent_output);#verilog "\t\t\t\t\t\t\tprescaler_out_50 <= 1;\n";#verilog "\t\t\t\t\t\tend\n";verilog "\t\t\t\t\tend\n";verilog "\t\t\tend\n";verilog "\t\tend\n";verilog "\n";if ($n <= 1) {    verilog "\tassign prescaler_out = (prescaler_count ? 1 : 0);\n";}verilog "\tassign output_pulse = prescaler_out;\n";verilog "\n";if ($gen_50_percent_output) {    # write duty cycle correction process    comment_line;    comment " Duty cycle improvement using falling edge flip flop.\n";    comment_line;    vhdl "duty_cycle_improver : if improve_duty_cycle and not use_phase_accumulator generate\n";    vhdl "\timprover : process (async_reset, clock)\n";    vhdl "\tbegin\n";    vhdl "\t\tif (async_reset = '1') then\n";    vhdl "\t\t\tduty_correction <= '0';\n";    vhdl "\t\telsif (falling_edge(clock)) then\n";    vhdl "\t\t\tif (clock_enable = '1') then\n";    vhdl "\t\t\t\tduty_correction <= prescaler_out_50 or modulus_control;\n" if (($n & 1) == 1);    vhdl "\t\t\t\tduty_correction <= prescaler_out_50 and modulus_control;\n" if (($n & 1) == 0);    vhdl "\t\t\tend if;\n";    vhdl "\t\tend if;\n";    vhdl "\tend process improver;\n";    vhdl "\n";    vhdl "\toutput_50 <= duty_correction and prescaler_out_50;\n" if (($n & 1) == 1);    vhdl "\toutput_50 <= duty_correction or prescaler_out_50;\n" if (($n & 1) == 0);    vhdl "\n";    vhdl "end generate duty_cycle_improver;\n";    vhdl "\n";    vhdl "no_duty_cycle_improver : if not improve_duty_cycle and not use_phase_accumulator generate\n";    vhdl "\toutput_50 <= prescaler_out_50;\n";    vhdl "end generate no_duty_cycle_improver;\n";    vhdl "\n";    verilog "/** this section not yet implemented in the Verilog version */\n\n";    verilog "\n";    verilog "\tassign output_50 = prescaler_out_50;\n";    verilog "\n";}# write controller processcomment_line;comment " Controller.\n";comment " Wobbles the signal \"modulus_control\" to cause the prescaler\n";comment " to divide by the correct ratio (in the long term).\n";comment " Modulus_control must be '0' for $a counts of prescaler_out,\n";comment " and '1' for $b counts (out of a total of " . ($a + $b) . " counts).\n";comment " The simple way to do this is to just have modulus_control '0' for\n";comment " all $a counts, then '1' for $b counts, but this may result in severe jitter.\n";comment " The jitter can be reduced (at some hardware cost) by interleaving\n";comment " the '0' and '1' counts.\n";comment " This behaviour can be controlled by the generic parameter \"minimum_jitter\".\n";comment " Note that there are many hardware / jitter tradeoffs.\n";comment " Best results may require human intervention!\n";comment_line;# high jitter controllervhdl "high_jitter_controller : if not minimum_jitter and not use_phase_accumulator and not use_recursive_controller generate\n";vhdl "\tcontroller : process (async_reset, clock)\n";vhdl "\tbegin\n";vhdl "\t\tif (async_reset = '1') then\n";vhdl "\t\t\tmodulus_control <= '0';\n";vhdl "\t\t\tcontroller_count <= 0;\n";vhdl "\t\telsif (rising_edge(clock)) then\n";vhdl "\t\t\tif (clock_enable = '1') then\n";vhdl "\t\t\t\tif (prescaler_out = '1') then\n";vhdl "\t\t\t\t\t-- manage counter\n";vhdl "\t\t\t\t\tif (controller_count < a + b - 1) then\n";vhdl "\t\t\t\t\t\tcontroller_count <= controller_count + 1;\n";vhdl "\t\t\t\t\telse\n";vhdl "\t\t\t\t\t\tcontroller_count <= 0;\n";vhdl "\t\t\t\t\tend if;\n";vhdl "\t\t\t\t\t-- decode counter\n";vhdl "\t\t\t\t\tif (controller_count < a) then\n";vhdl "\t\t\t\t\t\tmodulus_control <= '0';\n";vhdl "\t\t\t\t\telse\n";vhdl "\t\t\t\t\t\tmodulus_control <= '1';\n";vhdl "\t\t\t\t\tend if;\n";vhdl "\t\t\t\tend if;\n";vhdl "\t\t\tend if;\n";vhdl "\t\tend if;\n";vhdl "\tend process controller;\n";vhdl "end generate high_jitter_controller;\n";vhdl "\n";if ( $low_jitter_controller ) {    # low jitter controller    vhdl "low_jitter_controller : if minimum_jitter and not use_phase_accumulator and not use_recursive_controller generate\n";    vhdl "\tcontroller : process (async_reset, clock)\n";    vhdl "\tbegin\n";    vhdl "\t\tif (async_reset = '1') then\n";    my $odd_one_out = (($a < $b) or ($b == 0)) ? 1 : 0;    #$odd_one_out = 1;   # some chips might have problem with async sets    vhdl "\t\t\tmodulus_control <= " . ($odd_one_out ? "'0'" : "'1'") . ";\n";    vhdl "\t\t\tcontroller_count <= 0;\n";    vhdl "\t\telsif (rising_edge(clock)) then\n";    vhdl "\t\t\tif (clock_enable = '1') then\n";    vhdl "\t\t\t\tif (prescaler_out = '1') then\n";    vhdl "\t\t\t\t\t-- manage counter\n";    vhdl "\t\t\t\t\tif (controller_count < a + b - 1) then\n";    vhdl "\t\t\t\t\t\tcontroller_count <= controller_count + 1;\n";    vhdl "\t\t\t\t\telse\n";    vhdl "\t\t\t\t\t\tcontroller_count <= 0;\n";    vhdl "\t\t\t\t\tend if;\n";    vhdl "\t\t\t\t\t-- decode counter\n";    vhdl "\t\t\t\t\tif (controller_count <= a + b - 1) then\n";    vhdl "\t\t\t\t\t\tcase controller_count is\n";    if (($a + $b) > 1) {        vhdl "\t\t\t\t\t\t\twhen ";        my $num_printed = 0;        my $need_separator = 0;        for (my $index = 0; $index < $a + $b; $index++)        {            if ((substr $controller_table, $index, 1) == $odd_one_out) {                if ($num_printed > 7) {                    # wrap long lines                    vhdl " => modulus_control <= " . ($odd_one_out ? "'0'" : "'1'") . ";\n";                    vhdl "\t\t\t\t\t\t\twhen ";                    $num_printed = 0;                    $need_separator = 0;                }                vhdl (($need_separator ? "\|" : "") . $index);                $num_printed++;                $need_separator = 1;            }        }        vhdl " => modulus_control <= " . ($odd_one_out ? "'0'" : "'1'") . ";\n";    }    vhdl "\t\t\t\t\t\t\twhen others => modulus_control <= " . (($odd_one_out xor ($b == 0)) ? "'1'" : "'0'") . ";\n";    vhdl "\t\t\t\t\t\tend case;\n";    vhdl "\t\t\t\t\telse\n";    vhdl "\t\t\t\t\t\tmodulus_control <= '-';\t-- allow logic reductions (?)\n";    vhdl "\t\t\t\t\tend if;\n";    vhdl "\t\t\t\tend if;\n";    vhdl "\t\t\tend if;\n";    vhdl "\t\tend if;\n";    vhdl "\tend process controller;\n";    vhdl "end generate low_jitter_controller;\n";    vhdl "\n";}else {    vhdl "assert not minimum_jitter or use_recursive_controller or use_phase_accumulator\n";    vhdl "\treport \"Minimum jitter controller not available, as $0 was run with -g option\"\n";    vhdl "\tseverity failure;\n";    vhdl "\n";}verilog "/** this section not yet implemented in the Verilog version */\n\n";# recursive controllercomment_line;comment " recursive controller\n";comment " The modulus control signal for the prescaler can be generated by another\n";comment " fractional-N divider, which in turn can have its modulus control signal\n";comment " generated by yet another fractional-N divider, and so on.\n";comment " We stop when we don't need another fractional-N divider, and can just use\n";comment " a fixed divider.\n";comment " The p

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
9l国产精品久久久久麻豆| 色悠悠亚洲一区二区| 欧美一级国产精品| 日韩精品中文字幕在线不卡尤物 | 99精品一区二区| 91精品国产综合久久久久久漫画| 欧美岛国在线观看| 免费观看在线综合色| 国产suv精品一区二区6| 日本久久电影网| 亚洲精品一区二区三区在线观看| 国产精品久久三区| 亚洲一区二区在线免费观看视频| 人人狠狠综合久久亚洲| 正在播放亚洲一区| 日本美女视频一区二区| av资源站一区| 成人欧美一区二区三区黑人麻豆| 青青草97国产精品免费观看无弹窗版 | 99久久99久久精品免费看蜜桃 | 中文字幕一区二区不卡| 99久久国产免费看| 亚洲人成网站色在线观看| 日本午夜精品一区二区三区电影 | 欧美精品一区二区三区高清aⅴ | 欧美在线一二三| 久久精品一区二区三区不卡| 夜夜爽夜夜爽精品视频| 大尺度一区二区| 91精品国产乱| 亚洲一区二区三区视频在线播放| 中文字幕在线不卡| 99国产精品99久久久久久| 亚洲免费在线播放| 欧美日韩一区二区三区不卡| 欧美韩国日本综合| 精品在线免费观看| 欧美亚洲图片小说| 亚洲视频在线一区观看| 盗摄精品av一区二区三区| 亚洲欧洲日产国码二区| 在线亚洲一区二区| 日韩成人一级片| 久久综合色一综合色88| 青青国产91久久久久久| 久久综合色之久久综合| 成人国产精品免费观看视频| 精品国产青草久久久久福利| 懂色中文一区二区在线播放| 亚洲视频每日更新| 欧美精品一二三| 亚洲国产中文字幕在线视频综合| 99免费精品在线| 亚洲午夜精品网| 精品精品欲导航| 日本91福利区| 中文乱码免费一区二区| 久久99久久99精品免视看婷婷 | 日日夜夜精品视频免费| 色狠狠桃花综合| 免费成人在线播放| 国产亚洲欧洲997久久综合| 91亚洲精品久久久蜜桃网站 | 国产一区免费电影| 精品少妇一区二区三区在线播放 | 丝瓜av网站精品一区二区| 激情综合色综合久久综合| 国产精品三级在线观看| 欧美日韩国产高清一区二区 | 99久久综合精品| 日韩av高清在线观看| 国产精品情趣视频| 日韩一区二区在线看片| 99国产精品久久久久| 久久国产剧场电影| 国产日韩欧美不卡| 不卡的av在线| 免费成人在线视频观看| 亚洲女人的天堂| 精品久久99ma| 欧美人与禽zozo性伦| 成人动漫一区二区| 另类中文字幕网| 亚洲专区一二三| 国产精品看片你懂得| 日韩亚洲欧美一区| 色婷婷久久久亚洲一区二区三区| 国产一区二区三区视频在线播放| 亚洲午夜免费视频| 欧美国产综合一区二区| 欧美电影免费观看高清完整版在线 | 一本久道中文字幕精品亚洲嫩| 久久成人免费日本黄色| 午夜久久久久久电影| 日韩免费看的电影| 欧日韩精品视频| av在线播放不卡| 久久se精品一区精品二区| 亚洲成人精品在线观看| 精品国产乱子伦一区| 欧美日韩国产免费一区二区| 色哟哟一区二区| 粗大黑人巨茎大战欧美成人| 久久精品国产秦先生| 亚洲高清免费一级二级三级| 综合久久久久久久| 欧美极品少妇xxxxⅹ高跟鞋| 欧美成人综合网站| 91精品国产入口| 欧美性大战久久| 色偷偷久久一区二区三区| 成人丝袜视频网| 国产精品88888| 夜夜嗨av一区二区三区网页| 国产精品三级电影| 久久精品人人爽人人爽| 亚洲精品在线免费观看视频| 337p亚洲精品色噜噜| 色综合久久九月婷婷色综合| a在线欧美一区| 国产99精品国产| 国产成人综合亚洲91猫咪| 亚洲一区在线视频观看| 亚洲欧美综合网| 国产精品国产自产拍在线| 国产亚洲一区二区三区在线观看| 精品日韩一区二区| 精品剧情v国产在线观看在线| 日韩欧美不卡在线观看视频| 日韩欧美电影在线| 精品久久久久久最新网址| 欧美成人video| 精品国产99国产精品| 精品国产乱码久久久久久蜜臀| 欧美成人精品福利| 久久欧美中文字幕| 91精品国产高清一区二区三区| 欧美天天综合网| 欧美日韩高清一区二区不卡 | 91老师片黄在线观看| 国产精品女主播av| 国产婷婷色一区二区三区在线| 中文在线一区二区| 国产精品免费视频网站| 18涩涩午夜精品.www| 亚洲精品日韩综合观看成人91| 精品国产亚洲在线| 26uuu另类欧美亚洲曰本| 久久精品一区二区| 国产精品久久久久久久午夜片 | 亚洲高清在线视频| 三级影片在线观看欧美日韩一区二区| 午夜精品福利在线| 免费成人小视频| 国产成人综合网| 色综合网站在线| 成人免费三级在线| 91免费看片在线观看| 欧美日本精品一区二区三区| 欧美电视剧在线观看完整版| 久久久777精品电影网影网 | 精品成人免费观看| 亚洲国产成人自拍| 一区二区三区精密机械公司| 日韩黄色在线观看| 国内精品在线播放| 美女视频网站久久| 五月天激情综合| 精品一区二区三区视频 | 99久久综合99久久综合网站| 91福利在线免费观看| 91麻豆精品91久久久久同性| 欧美成人一区二区三区在线观看 | 99久久99久久精品免费观看| 一本大道久久a久久综合| 6080国产精品一区二区| 久久亚洲综合色一区二区三区 | ●精品国产综合乱码久久久久| 亚洲一区二区视频| 久久成人久久爱| 99久久精品国产导航| 91麻豆精品国产91久久久久久| 久久伊99综合婷婷久久伊| 日韩伦理免费电影| 蜜桃久久久久久| www.亚洲色图| 91精品国产综合久久久久久久| 国产视频在线观看一区二区三区| 亚洲在线免费播放| 国产最新精品免费| 色狠狠色噜噜噜综合网| 精品国产露脸精彩对白| 亚洲精品自拍动漫在线| 国精品**一区二区三区在线蜜桃| 91亚洲精品久久久蜜桃网站| 日韩免费视频一区二区| 亚洲免费在线看| 国产一区二区在线观看免费| 欧美怡红院视频| 国产精品美日韩|