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

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

?? gigabitber_rx.v

?? 這是用于xilinx virtex-2 pro產品的誤碼儀方案verilog HDL代碼
?? V
字號:
///////////////////////////////////////////////////////////////////////////////////    File Name:  GigabitBER_RX.v//      Version:  2.2//         Date:  05/14/03//        Model:  Reciever Core for the Bit Error Rate Tester.//                GigabitBER_RX recieves a bit stream sent by a GigabitBER_TX,//                analyzing the stream for errors.  The reciever attempts to//                synchronize the pattern generator in the transmitter with//                its own pattern generator.//                The reciever has two resets.  The first is generated from the//                reset_in port.  This reset clears the counters and resets the//                state machine that looks for long strings of commas from the//                transmitter.  The second reset is generated when a long string//                of commas is detected.  This reset is used to synchronize the//                pattern generators in the reciever and the transmitter.////      Company:  Xilinx, Inc.//  Contributor:  Mike Matera////   Disclaimer:  XILINX IS PROVIDING THIS DESIGN, CODE, OR//                INFORMATION "AS IS" SOLELY FOR USE IN DEVELOPING//                PROGRAMS AND SOLUTIONS FOR XILINX DEVICES.  BY//                PROVIDING THIS DESIGN, CODE, OR INFORMATION AS//                ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE,//                APPLICATION OR STANDARD, XILINX IS MAKING NO//                REPRESENTATION THAT THIS IMPLEMENTATION IS FREE//                FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE//                RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY//                REQUIRE FOR YOUR IMPLEMENTATION.  XILINX//                EXPRESSLY DISCLAIMS ANY WARRANTY WHATSOEVER WITH//                RESPECT TO THE ADEQUACY OF THE IMPLEMENTATION,//                INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR//                REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE//                FROM CLAIMS OF INFRINGEMENT, IMPLIED WARRANTIES//                OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR//                PURPOSE.////                (c) Copyright 2003 Xilinx, Inc.//                All rights reserved./////////////////////////////////////////////////////////////////////////////////`ifdef GIGABITBER_RX `else `define GIGABITBER_RX`timescale               100ps/10ps //-------------------------------------------------------------// // Constant Summary://// SCIENTIFIC:  //  Defined enables logic to measure the error figure.//// RX_INIT_COUNTER_MSB: //  Number of bits in the comma stream counter.  This controls//  the number of cycles that comma is received before//  resetting the pattern follower.//// TOTAL_FRAMES_MSB: //  Number of bits in the total frames counter.  Larger values//  allow for greater test times. //// DROPPED_FRAMES_MSB: //  Number of bits in the total frames counter.  Larger values//  allow for measurement of higher bit error rates. ////-------------------------------------------------------------module GigabitBER_RX( data_in, comma_detect_in, en_comma_align_out,                       total_frames_out, dropped_frames_out, error_figure_out,                      search_out, link_out, error_out, abort_out, bec_count_out,                      overflow_flag, pattern_select_in, reset_in, clock_in, data_to_chipscope);   //-------------------------------------------------------------   //    // Port Summary:   //    // data_in[19:00] (synchronous: clock_in)   //    Data from the MGT.   //   // comma_detect_in (synchronous: clock_in)   //    Connected to the RXCOMMADET port of the MGT.  This signal   //    is used to identify commas in the bit stream.  It is   //    generated correctly wether or not the stream is properly   //    aligned.   //   // en_comma_align_out (synchronous: clock_in)   //    Connected to the ENPCOMMAALIGN port of the MGT.  This   //    signal is high during the initialization phase of the   //    reciever.  Otherwise it is low so that random data does   //    not cause realignment.   //   // total_frames_out[`TOTAL_FRAMES_MSB:00] (synchronous: clock_in)   //    Total frames received.   //   // dropped_frames_out[`DROPPED_FRAMES_MSB:00] (synchronous: clock_in)   //    Total frames received with error.   //   // error_figure_out[`TOTAL_FRAMES_MSB:00] (synchronous: clock_in)   //    Shortest interval between consecutive errors.  This   //    number is important for good calculation of a bit   //    error rate.   //   // search_out (synchronous: clock_in)   //    High indicating the receiver is waiting to establish link.   //   // link_out (synchronous: clock_in)   //    High indicating the receiver has established a link.   //   // error_out (synchronous: clock_in)   //    High indicating a bit error has caused dropped_frames_out    //    to increment.   //   // abort_out (synchronous: clock_in)   //    High when the reciever has abandoned the test due to bit   //    errors.  This condition can only be cleared by the   //    receipt of a comma stream.  (reset_in won't do it).   //   // bec_count_out (synchronous: clock_in)   //    Total number of bit errors.   //   // overflow_flag (synchronous: clock_in)   //    Overflow flag indicating the overflow of bit error counter.   //   // pattern_select_in[03:00] (synchronous: clock_in)   //    Selects which PRBS Pattern to use.   //   // reset_in (synchronous: clock_in)   //    Reset for the counters and the comma detect logic.   //   // clock_in (clock: buffered)   //    Reciever clock.  This clock must also be connected to   //    RXUSRCLK on the MGT.   //   //-------------------------------------------------------------   output [`DROPPED_FRAMES_MSB:00] dropped_frames_out;   output [`TOTAL_FRAMES_MSB:00]   total_frames_out, error_figure_out;   output                          search_out, link_out, error_out, abort_out,                                   en_comma_align_out;   output                          overflow_flag;   output [31:00]                  bec_count_out;      output [40:00]                  data_to_chipscope;      input [19:00]                   data_in;     input [03:00]                   pattern_select_in;   input                           reset_in, clock_in,                                   comma_detect_in;      reg [`TOTAL_FRAMES_MSB:00]      total_frames_out;   reg [`DROPPED_FRAMES_MSB:00]    dropped_frames_out;   reg [31:00]                     bec_count;   reg [31:00]                     bec_count_out_del;   reg                             overflow_flag;   wire [31:00]                    bec_count_out;   wire                            Armed, Locked, Distress, Abort,                                   FoundCommaStream, CommaStrobe,                                   frame_advance, error_advance;   wire [31:00]                    errored_bits;   assign                          search_out = Armed;   assign                          link_out = Locked | Distress;   assign                          error_out = Distress;   assign                          abort_out = Abort;   assign                          en_comma_align_out = FoundCommaStream;   assign                          frame_advance = link_out | error_out;      CommaStream comma_comp      (      .remote_reset_out(FoundCommaStream),      .comma_detect_in(comma_detect_in),       .reset_in(link_out),      .clock_in(clock_in)      );      RisingEdgeDetect strobe_comp     (      .rising_edge_out(CommaStrobe),       .sig_in(FoundCommaStream),       .clock_in(clock_in)      );      PatternFollower expected_comp     (      .data_in(data_in),             .armed_out(Armed),      .errored_bits(errored_bits),        .locked_out(Locked),       .distress_out(Distress),       .abort_out(Abort),            .bit_error_out(error_advance),            .pattern_select_in(pattern_select_in),            .data_to_chipscope(data_to_chipscope),      .reset_in(CommaStrobe), .clock_in(clock_in)      );      // Total Frames   always @ (posedge clock_in) begin      if (reset_in) total_frames_out <= 0;      else if (frame_advance) total_frames_out <= total_frames_out + 1;   end   // Errors   always @ (posedge clock_in) begin      if (reset_in) dropped_frames_out <= 0;      else if (error_advance) dropped_frames_out <= dropped_frames_out + 1;   end   // Bit Error Count   always @ (posedge clock_in)   begin      if (reset_in)      begin         bec_count           <= 32'd0;         overflow_flag       <= 1'b0;      end      else      begin          if (bec_count_out_del > bec_count)           overflow_flag <= 1'b1;           if (error_advance == 1'b1)       begin            bec_count <= bec_count + errored_bits;       end      end   end   always @ (posedge clock_in)   begin      if (reset_in)      begin         bec_count_out_del   <= 32'd0;      end      else      begin        bec_count_out_del <= bec_count;      end   end   assign  bec_count_out = bec_count;`ifdef SCIENTIFIC    reg [`TOTAL_FRAMES_MSB:00]    error_figure_out, last_error_interval, last_error_interval_d1;   reg                           update_figure;   // Update Figure    always @ (posedge clock_in) begin      update_figure <= error_advance & (last_error_interval < error_figure_out);   end      // Error Interval   always @ (posedge clock_in) begin      if (error_advance) last_error_interval <= 0;      else last_error_interval <= last_error_interval + 1;      last_error_interval_d1 <= last_error_interval;   end      // Error Figure   always @ (posedge clock_in) begin      if (reset_in) error_figure_out <= 40'hFFFFFFFFFF;      else if (update_figure) error_figure_out <= last_error_interval_d1;   end`else   assign         error_figure_out = 0;`endif   endmodulemodule CommaStream ( remote_reset_out,                     comma_detect_in,                      reset_in, clock_in                     );      output remote_reset_out;   input  comma_detect_in;   input  reset_in, clock_in;      parameter ARMED_STATE    = 3'b10,             COMMA_STATE    = 3'b01;      reg [`RX_INIT_COUNTER_MSB:00] CommaCounter, CommaCounter__next;   reg [01:00]                   MachineState, MachineState__next;      wire                          armed_bit, comma_bit;   assign                        {armed_bit, comma_bit} = MachineState;   assign                        remote_reset_out = comma_bit;      always @ (comma_detect_in or MachineState or CommaCounter) begin      MachineState__next <= MachineState;      CommaCounter__next <= CommaCounter;      case (MachineState)        ARMED_STATE:                              begin                            if (comma_detect_in) begin                               CommaCounter__next <= CommaCounter + 1;                               if (CommaCounter[`RX_INIT_COUNTER_MSB]) MachineState__next <= COMMA_STATE;                            end else CommaCounter__next <= 0;                         end        COMMA_STATE:     begin                           if (~comma_detect_in) begin                             CommaCounter__next <= CommaCounter + 1;                             if (~CommaCounter[`RX_INIT_COUNTER_MSB])                               MachineState__next <= ARMED_STATE;                                                 end                           else begin                             CommaCounter__next <= {1'b1,`RX_INIT_COUNTER_MSB-1'b0,1'b1};                             MachineState__next <= COMMA_STATE;                                 end                         end             default:         begin                         MachineState__next <= ARMED_STATE;                         CommaCounter__next <= 0;                         end      endcase   end      always @ (posedge clock_in) begin      if (reset_in) begin         MachineState <= ARMED_STATE;         CommaCounter <= 0;      end else begin         MachineState <= MachineState__next;         CommaCounter <= CommaCounter__next;      end   endendmodule`endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美疯狂做受xxxx富婆| 波多野结衣亚洲| 国产在线精品一区二区夜色| 色88888久久久久久影院按摩 | 国产精品国产三级国产aⅴ无密码| 国产激情精品久久久第一区二区| 亚洲国产精品t66y| 91国偷自产一区二区使用方法| 成年人国产精品| 日韩av午夜在线观看| 久久精品欧美一区二区三区麻豆| 9i看片成人免费高清| 成人一区二区三区中文字幕| 亚洲大片在线观看| 久久久精品一品道一区| 91丨九色丨尤物| 国内精品嫩模私拍在线| 国产激情视频一区二区在线观看| 懂色av噜噜一区二区三区av| 日本va欧美va欧美va精品| 中文字幕一区二区视频| 精品国产一区二区三区久久久蜜月| 99久久久久久| 国产成人精品网址| 色哟哟一区二区在线观看| 国内成人精品2018免费看| 成人精品视频网站| 欧美午夜片在线看| 91视频观看视频| 欧美一卡二卡三卡| 欧洲一区二区av| 成人av免费在线播放| 在线日韩av片| 精品日本一线二线三线不卡| 777奇米四色成人影色区| 欧美视频你懂的| 欧美激情中文字幕一区二区| 亚洲美女区一区| 国产日韩欧美高清在线| 久久久综合视频| 亚洲综合色婷婷| 亚洲另类在线制服丝袜| 国产精品传媒在线| 毛片av一区二区| 日本vs亚洲vs韩国一区三区| 成人av网站在线| 日韩欧美中文一区二区| 日韩精品一区二区三区视频| 欧美一区二区视频在线观看| 国产精品欧美一区二区三区| 国产精品美女一区二区在线观看| 亚洲成人福利片| 99久久久精品| 久久一夜天堂av一区二区三区| 精品久久99ma| 亚洲动漫第一页| 日韩电影在线观看一区| 色一情一乱一乱一91av| 久久精品亚洲乱码伦伦中文 | 日韩av网站免费在线| 99精品视频在线播放观看| 欧美精品一区二区久久婷婷 | 日本aⅴ亚洲精品中文乱码| 一本大道久久a久久综合| 国产情人综合久久777777| 成人午夜又粗又硬又大| 精品国产99国产精品| 奇米四色…亚洲| 777欧美精品| 亚洲福利视频导航| 色美美综合视频| 国产精品成人免费在线| 国产91色综合久久免费分享| 精品国产露脸精彩对白| 老汉av免费一区二区三区 | 国产成人自拍网| 久久综合九色综合97_久久久| 免费久久99精品国产| 欧美高清激情brazzers| 亚洲va欧美va人人爽午夜| 欧美伊人久久久久久午夜久久久久| 国产精品久久久久aaaa樱花| 99综合影院在线| 亚洲视频1区2区| 人人精品人人爱| 欧美成人三级在线| 国产揄拍国内精品对白| 国产欧美在线观看一区| 成人v精品蜜桃久久一区| 国产精品免费看片| 色哟哟亚洲精品| 日韩国产精品久久久久久亚洲| 日韩亚洲欧美在线| 丁香婷婷综合网| 亚洲欧美另类久久久精品2019| 色婷婷亚洲精品| 日韩高清一区在线| 久久品道一品道久久精品| 成人午夜短视频| 亚洲激情自拍偷拍| 日韩欧美一区二区久久婷婷| 国产一区二区精品久久91| 亚洲欧洲精品一区二区精品久久久| 91一区二区三区在线播放| 亚洲电影第三页| 欧美成人aa大片| 99久久婷婷国产综合精品| 国产成人精品aa毛片| 亚洲美女视频一区| 欧美一区二区三区在线观看 | 日本韩国欧美国产| 热久久一区二区| 国产精品久久久久aaaa| 91精品国产麻豆| 成人av网站大全| 蜜桃视频在线观看一区二区| 国产精品伦理在线| 欧美一区二区精品久久911| 成人国产在线观看| 美洲天堂一区二卡三卡四卡视频| 欧美经典三级视频一区二区三区| 欧美日韩激情一区二区三区| 亚洲视频一区二区在线| 欧美不卡123| 欧美亚洲高清一区二区三区不卡| 国内精品视频一区二区三区八戒| 亚洲午夜精品久久久久久久久| 26uuu成人网一区二区三区| 日韩精品一区二区三区在线| 色综合天天综合给合国产| 26uuu国产电影一区二区| 色视频欧美一区二区三区| 国产精品一二三在| 日本一区二区视频在线观看| 欧美丰满美乳xxx高潮www| 色噜噜狠狠成人中文综合| 国产精品888| 久久成人精品无人区| 亚洲一区二区三区激情| 国产精品无遮挡| 日韩精品资源二区在线| 欧美高清性hdvideosex| 在线视频欧美区| 色欧美88888久久久久久影院| 国产精品亚洲人在线观看| 久久精品国产免费| 爽好多水快深点欧美视频| 337p日本欧洲亚洲大胆色噜噜| 欧美日韩国产片| 91久久人澡人人添人人爽欧美| 成人avav影音| 福利91精品一区二区三区| 国产精品主播直播| 国产麻豆精品95视频| 国内成+人亚洲+欧美+综合在线| 美女mm1313爽爽久久久蜜臀| 蜜芽一区二区三区| 久久精品国产亚洲a| 久久国产麻豆精品| 国产一区二区免费在线| 国产精品一二三在| a亚洲天堂av| 91国偷自产一区二区开放时间 | 国产成人小视频| 国产乱人伦精品一区二区在线观看| 美女视频第一区二区三区免费观看网站 | 一本色道综合亚洲| 欧洲精品中文字幕| 欧美电影一区二区| 欧美一区二区视频在线观看2020 | 精品国产一二三| 国产拍欧美日韩视频二区| 一色屋精品亚洲香蕉网站| 亚洲激情图片qvod| 日韩专区一卡二卡| 国产在线精品一区二区| 成人黄色小视频| 在线视频欧美精品| 欧美成人免费网站| 国产精品入口麻豆九色| 一区二区三区蜜桃| 国产欧美一区二区在线观看| 国产精品久久久久永久免费观看| 亚洲精选视频在线| 日本欧洲一区二区| 成人综合日日夜夜| 欧美怡红院视频| 国产视频视频一区| 亚洲最新视频在线播放| 久久97超碰色| 秋霞国产午夜精品免费视频| 国产在线精品一区二区三区不卡| 成人h动漫精品一区二区| 精品视频在线视频| 欧美在线你懂得| 欧美一区二区三区公司| 中文字幕一区二区三| 五月婷婷综合网| 亚洲午夜免费视频| 国产美女精品人人做人人爽|