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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? test_bench.v

?? PCI IP核功能實(shí)現(xiàn)
?? V
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
//////////////////////////////////////////////////////////////////////////                                                              ////////  File name "test_bench.v"                                    ////////                                                              ////////  This file is part of the "PCI bridge" project               ////////  http://www.opencores.org/cores/pci/                         ////////                                                              ////////  Author(s):                                                  ////////      - mihad@opencores.org                                   ////////      - Miha Dolenc                                           ////////                                                              ////////  All additional information is avaliable in the README.pdf   ////////  file.                                                       ////////                                                              ////////                                                              //////////////////////////////////////////////////////////////////////////////                                                              //////// Copyright (C) 2001 Miha Dolenc, mihad@opencores.org          ////////                                                              //////// This source file may be used and distributed without         //////// restriction provided that this copyright statement is not    //////// removed from the file and that any derivative work contains  //////// the original copyright notice and the associated disclaimer. ////////                                                              //////// This source file is free software; you can redistribute it   //////// and/or modify it under the terms of the GNU Lesser General   //////// Public License as published by the Free Software Foundation; //////// either version 2.1 of the License, or (at your option) any   //////// later version.                                               ////////                                                              //////// This source is distributed in the hope that it will be       //////// useful, but WITHOUT ANY WARRANTY; without even the implied   //////// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      //////// PURPOSE.  See the GNU Lesser General Public License for more //////// details.                                                     ////////                                                              //////// You should have received a copy of the GNU Lesser General    //////// Public License along with this source; if not, download it   //////// from http://www.opencores.org/lgpl.shtml                     ////////                                                              ////////////////////////////////////////////////////////////////////////////// CVS Revision History//// $Log: test_bench.v,v $// Revision 1.5  2001/07/30 15:24:34  mihad// no message////// Common definitions for simulation purposes`define Tpci 75 // Tp/2 = 7.5ns => Tp = 15ns => Fpci = 66MHz`define Twb 25  // Tp/2 = 2.5ns =>   Tp = 5ns  => Fwb  = 200MHz//Running this test bench requires all include files in same directory`include "constants.v"`include "conf_space.v"`include "wb_slave.v"`include "wb_master32.v"`include "wbw_wbr_fifos.v"`include "wb_bus_mon.v"`include "bus_commands.v"`include "decoder.v"`include "delayed_sync.v"`include "delayed_write_reg.v"/*===================================================================================================This test bench is intended for HOST bridge implementation simulation. ( definition in constants.v )The reason is that configuration space operation, configuration and interrupt acknowledge cyclesrequest generation are also tested in this testbench. This features are only implemented in HOST bridge implementation. ===================================================================================================*/module TEST_BENCH () ;// clocksreg wb_clock ;reg pci_clock ;// resetreg reset ;/*==================================================================================================Simulated signals - signals on PCI side of the bridge are simulated in behavioral fashion==================================================================================================*/// read enable for wbw_fiforeg wbw_renable ;// write enable for wbr_fiforeg wbr_wenable ;// data input to wbr fiforeg [31:0] wbr_data_in ;// byte enable input to wbr fiforeg [3:0] wbr_be_in ;// control input to wbr fiforeg [3:0] wbr_control_in ;// pciw fifo empty indicatorreg pciw_empty ;// variable for feeding delayed trans. logic with status signalreg del_error_signal ;// variable for communicating to completing task that it should terminate with an errorreg error_terminate ;// pci delayed read completion pendingreg pci_drcomp_pending ;// lock simulation - signal locks out all but configuration accesses from WISHBONE busreg wbs_lock ;// pci side configuration space address, data and read enable signalsreg  [11:0] pci_conf_raddr ;reg         pci_conf_renable ;wire [31:0] pci_conf_data_probe ;// pci side completion simulation variablesreg del_comp_done, del_rty_exp;// variables for various error reporting mechanismsreg perr_set, serr_set, master_abort_recv, target_abort_recv, target_abort_set, master_data_par_err ;// outputs from configuration space for pci interfacewire [7:0] cache_line_size_probe ;wire [7:0] latency_tim_probe ;wire [2:0] int_pin_probe ;// pci address decoding values - just for checking since PCI side is only simulatedwire [19:0] pci_ba0, pci_ba1, pci_ba2, pci_ba3, pci_ba4, pci_ba5 ;wire [19:0] pci_am0, pci_am1, pci_am2, pci_am3, pci_am4, pci_am5 ;wire [19:0] pci_ta0, pci_ta1, pci_ta2, pci_ta3, pci_ta4, pci_ta5 ;wire [5:0]  pci_map ;wire [1:0]  pci_img_ctrl0, pci_img_ctrl1, pci_img_ctrl2, pci_img_ctrl3, pci_img_ctrl4, pci_img_ctrl5 ;// pci error reporting variables - simulatedreg [3:0]  pci_error_be ;reg [3:0]  pci_error_bc ;reg        pci_error_rty_exp ;reg        pci_error_sig ;reg [31:0] pci_error_addr ;reg [31:0] pci_error_data ;wire pci_error_rty_exp_set ;// error log enable signalwire pci_error_en ;// WISHBONE error reporting variablesreg [3:0] wb_error_be ;reg [3:0] wb_error_bc ;reg wb_error_rty_exp ;reg wb_error_es ;reg wb_error_sig ;reg [31:0] wb_error_addr ;reg [31:0] wb_error_data ;wire wb_error_rty_exp_set ;// interrupt status generationreg isr_int_prop ;reg isr_err_int  ;reg isr_par_err_int ;reg isr_sys_err_int ;/*============================================================================================Module interconnect signals - wires, buses, muxes for module interconnects============================================================================================*/// configuration hit wirewire conf_hit ;// delayed read bus command buswire [3:0] del_bc ;// data for delayed read requests and completionswire [31:0] del_addr ;wire [3:0]  del_be ;// delayed read flag wireswire    del_req,         del_comp,         read_in_burst,         pci_req ;// configuration space data input - from WISHBONE slave, since this is HOST implementation simulationwire [31:0] conf_data;// address from MUX, WISHBONE slave output and input data buses and SEL busreg     [31:0]  address ;// image access data and bus command/byte enable buseswire [31:0] image_data ;wire [3:0]  image_cbe ;// WISHBONE Write FIFO outputswire [31:0] wbw_data_probe ;wire [3:0]  wbw_cbe_probe ;wire [3:0]  wbw_control_probe ;// WISHBONE Read FIFO - WISHBONE slave interconnectwire [31:0] wbr_data ;wire [3:0]  wbr_be ;wire [3:0]  wbr_control ;// delayed read request bus command outputwire [3:0] del_bc_probe ;// configuration offset and byte enable interconnectwire [11:0] conf_offset_probe ;wire [3:0] conf_be_probe ;// configuration cycle address interconnectwire [23:0] config_addr ;// control bus interconnect between WBW_FIFO and WISHBONE slavewire [3:0] wbw_control ;// configuration space data outputwire [31:0] conf_data_probe ;// image hit signalswire [4:0] hit ;// WISHBONE bus interconnect between behav. master and WISHBONE slavewire    [31:0]  addr_o ;            // addresswire    [31:0]  sdat_o ;            // DAT_O from slavewire    [31:0]  sdat_i ;            // DAT_I to slavewire    [3:0]   sel ;               // SEL_I to slavewire            cyc ;               // CYC_I to slavewire            stb ;               // STB_I to slavewire            we  ;               // WE_I to slavewire            ack ;               // ACK_O from slavewire            rty ;               // RTY_O from slavewire            err ;               // ERR_O from slavewire            cab ;               // CAB_I to slave// map wireswire [5:1] wb_map ;// wb image control signalswire [2:0] wb_img_ctrl0, wb_img_ctrl1, wb_img_ctrl2, wb_img_ctrl3, wb_img_ctrl4, wb_img_ctrl5 ;wire [4:0] wb_mrl = { wb_img_ctrl5[0], wb_img_ctrl4[0], wb_img_ctrl3[0], wb_img_ctrl2[0], wb_img_ctrl1[0] } ;wire [4:0] wb_pref = { wb_img_ctrl5[1], wb_img_ctrl4[1], wb_img_ctrl3[1], wb_img_ctrl2[1], wb_img_ctrl1[1] } ;`ifdef FPGA    assign glbl.GSR = reset ;`endif// WISHBONE read FIFO flush wirewire wbs_wbr_flush, delayed_sync_wbr_flush ;wire wbr_flush = wbs_wbr_flush || delayed_sync_wbr_flush ;// memory for storing various data/*-----------------------------------------------------------------------------------------------------------------------------Memory is devided into four pieces - two for writes and two for reads - one of each for IO and one for MEMORY accesses.Test bench first copies data from Write memory, through WISHBONE slave and WBW_FIFO to simulated side of the bridge. This sidefills read memory. Then Test Bench reads data through WBR_FIFO and WISHBONE slave module and compares it to written data-----------------------------------------------------------------------------------------------------------------------------*/reg [31:0] wmem_data [0:1023] ; // data for memory mapped image writesreg [31:0] wio_data  [0:1023] ; // data for IO mapped image writesreg [7:0] rmem_data [0:4095] ;  // data for memory mapped image readsreg [7:0] rio_data  [0:4095] ;  // data for IO mapped image readsreg [31:0] conf_read_data ;     // data for configuration cycle read requestreg [31:0] iack_read_data ;     // data for interrupt acknowledge cycle read request// memory array for FIFO contents checking - FIFO contents is checked whenever something is read from itreg [39:0] wbw_contents[0:`WBW_DEPTH - 1] ;reg [`WBW_ADDR_LENGTH - 1:0] wbw_write_pointer ;reg [`WBW_ADDR_LENGTH - 1:0] wbw_read_pointer ;// WISHBONE slave interface instantiationWB_SLAVE wishbone_slave(

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产福利一区在线观看| 国产午夜精品一区二区| 亚洲男帅同性gay1069| 成人一区二区三区视频 | 成人黄页在线观看| 26uuu亚洲综合色欧美| 国产一区二区福利视频| 久久影院午夜论| 国产伦精品一区二区三区在线观看 | 日韩欧美你懂的| 免费在线一区观看| 欧美精品一区二区三区蜜桃视频| 精品午夜一区二区三区在线观看| 久久久久久毛片| 福利一区福利二区| 亚洲天堂成人在线观看| 91久久人澡人人添人人爽欧美| 一区二区三区中文字幕在线观看| 欧美中文字幕一区| 青青草精品视频| 国产色爱av资源综合区| 99天天综合性| 五月天欧美精品| 精品国产一区二区三区不卡 | 国产丝袜在线精品| 成人免费av网站| 亚洲黄色尤物视频| 欧美一区二区三区人| 国产一区二区三区免费| 1024成人网| 制服丝袜亚洲精品中文字幕| 国产一区中文字幕| 综合电影一区二区三区| 欧美日韩视频在线一区二区| 国模少妇一区二区三区| 亚洲视频狠狠干| 日韩一区二区精品葵司在线| 成人激情小说乱人伦| 亚洲国产乱码最新视频| 久久亚洲免费视频| 在线中文字幕一区| 国产精品一区二区不卡| 一区二区三区欧美视频| xfplay精品久久| 91成人免费网站| 欧美一区二区三区免费| 久久精品国产免费看久久精品| 中文字幕免费观看一区| 51精品国自产在线| 岛国av在线一区| 亚洲国产视频直播| 国产精品色哟哟网站| 91精品欧美一区二区三区综合在 | 精品处破学生在线二十三| aa级大片欧美| 国内外成人在线视频| 一区二区三区精密机械公司| 久久久久久久久97黄色工厂| 欧美日韩国产乱码电影| 99v久久综合狠狠综合久久| 蜜臀久久久久久久| 亚洲精品自拍动漫在线| 久久综合资源网| 欧美精品1区2区3区| 9l国产精品久久久久麻豆| 另类小说色综合网站| 亚洲国产日韩a在线播放性色| 国产欧美一区二区精品性色超碰 | 亚洲三级免费观看| 欧美精品一区男女天堂| 5月丁香婷婷综合| 91麻豆自制传媒国产之光| 国产成人午夜视频| 久久精工是国产品牌吗| 亚洲高清免费视频| 悠悠色在线精品| 中文字幕的久久| 久久九九久久九九| www国产亚洲精品久久麻豆| 欧美精品一二三| 欧美日韩在线观看一区二区| 色综合久久久久久久久久久| 成人av午夜影院| 成人免费观看男女羞羞视频| 国产成人精品免费网站| 国产成人欧美日韩在线电影| 狠狠狠色丁香婷婷综合激情| 美女视频黄频大全不卡视频在线播放| 亚洲va国产天堂va久久en| 一区二区理论电影在线观看| 亚洲三级在线播放| 日韩美女久久久| 亚洲精品欧美专区| 亚洲乱码一区二区三区在线观看| 亚洲欧美自拍偷拍色图| 亚洲欧美一区二区三区极速播放 | 中文字幕亚洲区| 国产精品萝li| 制服丝袜成人动漫| 紧缚奴在线一区二区三区| 日日摸夜夜添夜夜添精品视频| 亚洲综合男人的天堂| 秋霞午夜av一区二区三区| 国产麻豆成人传媒免费观看| 欧美优质美女网站| 国产精品亲子乱子伦xxxx裸| 七七婷婷婷婷精品国产| 91久久精品日日躁夜夜躁欧美| 精品福利一区二区三区| 视频在线在亚洲| 色婷婷久久99综合精品jk白丝| 久久久99久久| 日本欧美一区二区| 欧美视频在线播放| 国产精品福利电影一区二区三区四区| 久久丁香综合五月国产三级网站| 一本久久精品一区二区| 国产精品麻豆99久久久久久| 国产在线精品视频| 日韩欧美自拍偷拍| 三级亚洲高清视频| 欧美婷婷六月丁香综合色| 亚洲天堂中文字幕| 国产**成人网毛片九色| 久久免费国产精品| 国产一区福利在线| 精品国产一区二区三区四区四| 日本欧美肥老太交大片| 欧美精品 国产精品| 一区二区三区四区不卡视频| 91视频在线观看免费| 综合激情网...| 91麻豆视频网站| 亚洲另类春色校园小说| 色婷婷精品久久二区二区蜜臀av| 国产精品黄色在线观看| jizz一区二区| 亚洲欧洲另类国产综合| 色综合天天在线| 亚洲另类色综合网站| 91福利视频在线| 亚洲超丰满肉感bbw| 欧美久久久一区| 日本va欧美va瓶| 欧美不卡一二三| 国产精品一区二区久久精品爱涩| 国产日产欧美精品一区二区三区| 国产在线视视频有精品| 国产欧美日韩综合| 北岛玲一区二区三区四区| 1区2区3区欧美| 欧美系列日韩一区| 奇米色一区二区| 久久午夜老司机| 9l国产精品久久久久麻豆| 亚洲精品国产精品乱码不99| 欧美系列在线观看| 男女性色大片免费观看一区二区| 欧美成人精品3d动漫h| 国产成人精品免费在线| 亚洲男人的天堂在线aⅴ视频| 欧美性猛交一区二区三区精品| 日本伊人色综合网| 国产校园另类小说区| 91日韩一区二区三区| 日日欢夜夜爽一区| 久久综合九色欧美综合狠狠| 成人黄色在线看| 午夜激情综合网| 国产亚洲欧美中文| 91色乱码一区二区三区| 免费不卡在线观看| 欧美国产日本视频| 精品视频一区 二区 三区| 国产在线播放一区二区三区| 亚洲区小说区图片区qvod| 欧美乱熟臀69xxxxxx| 国产999精品久久| 亚洲国产一区二区三区青草影视| 日韩欧美一级二级三级| 99精品在线免费| 奇米精品一区二区三区在线观看一| 久久久久国产精品厨房| 欧美在线免费观看亚洲| 九九九精品视频| 亚洲自拍偷拍av| 2014亚洲片线观看视频免费| 欧美亚洲国产怡红院影院| 韩国三级电影一区二区| 亚洲国产视频直播| 国产欧美一区二区精品仙草咪| 欧美日免费三级在线| gogogo免费视频观看亚洲一| 日韩avvvv在线播放| 亚洲麻豆国产自偷在线| 久久久久久久久久久久电影| 欧美美女视频在线观看| av成人免费在线观看| 久久99国产精品免费| 亚洲高清一区二区三区|