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

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

?? tb_i2s.vhd

?? I2S verilog HDL code including test environment
?? VHD
?? 第 1 頁 / 共 2 頁
字號:
----------------------------------------------------------------------
----                                                              ----
---- WISHBONE I2S Interface IP Core                               ----
----                                                              ----
---- This file is part of the I2S Interface project               ----
---- http://www.opencores.org/cores/i2s_interface/                ----
----                                                              ----
---- Description                                                  ----
---- I2S top level test bench. Two transmitters and two receivers ----
---- are instantiated, one each in slave and master mode.         ----
---- Test result is displayed in the log window, there should     ----
---- be no errors.                                                ----
----                                                              ----
---- To Do:                                                       ----
---- -                                                            ----
----                                                              ----
---- Author(s):                                                   ----
---- - Geir Drange, gedra@opencores.org                           ----
----                                                              ----
----------------------------------------------------------------------
----                                                              ----
---- Copyright (C) 2004 Authors and 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 General          ----
---- Public License as published by the Free Software Foundation; ----
---- either version 2.0 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 General Public License for more details.----
----                                                              ----
---- You should have received a copy of the GNU General           ----
---- Public License along with this source; if not, download it   ----
---- from http://www.gnu.org/licenses/gpl.txt                     ----
----                                                              ----
----------------------------------------------------------------------
--
-- CVS Revision History
--
-- $Log: tb_i2s.vhd,v $
-- Revision 1.2  2004/08/07 12:33:29  gedra
-- De-linted.
--
-- Revision 1.1  2004/08/04 14:31:02  gedra
-- Top level test bench.
--
--
--
 
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
use work.wb_tb_pack.all;
	
entity tb_i2s is  

end tb_i2s;

architecture behav of tb_i2s is

  component tx_i2s_topm 
    generic (DATA_WIDTH: integer range 16 to 32;
             ADDR_WIDTH: integer range 5 to 32);
    port (
      -- Wishbone interface
      wb_clk_i: in std_logic;
      wb_rst_i: in std_logic;
      wb_sel_i: in std_logic;
      wb_stb_i: in std_logic;
      wb_we_i: in std_logic;
      wb_cyc_i: in std_logic;
      wb_bte_i: in std_logic_vector(1 downto 0);
      wb_cti_i: in std_logic_vector(2 downto 0);
      wb_adr_i: in std_logic_vector(ADDR_WIDTH - 1 downto 0);
      wb_dat_i: in std_logic_vector(DATA_WIDTH -1 downto 0);
      wb_ack_o: out std_logic;
      wb_dat_o: out std_logic_vector(DATA_WIDTH - 1 downto 0);
      -- Interrupt line
      tx_int_o: out std_logic;
      -- I2S signals
      i2s_sd_o: out std_logic;
      i2s_sck_o: out std_logic;
      i2s_ws_o: out std_logic);
  end component;

  component tx_i2s_tops 
    generic (DATA_WIDTH: integer range 16 to 32;
             ADDR_WIDTH: integer range 5 to 32);
    port (
      wb_clk_i: in std_logic;
      wb_rst_i: in std_logic;
      wb_sel_i: in std_logic;
      wb_stb_i: in std_logic;
      wb_we_i: in std_logic;
      wb_cyc_i: in std_logic;
      wb_bte_i: in std_logic_vector(1 downto 0);
      wb_cti_i: in std_logic_vector(2 downto 0);
      wb_adr_i: in std_logic_vector(ADDR_WIDTH - 1 downto 0);
      wb_dat_i: in std_logic_vector(DATA_WIDTH -1 downto 0);
      i2s_sck_i: in std_logic;
      i2s_ws_i: in std_logic;
      wb_ack_o: out std_logic;
      wb_dat_o: out std_logic_vector(DATA_WIDTH - 1 downto 0);
      tx_int_o: out std_logic;
      i2s_sd_o: out std_logic);
  end component;

  component rx_i2s_topm 
    generic (DATA_WIDTH: integer range 16 to 32;
             ADDR_WIDTH: integer range 5 to 32);
    port (
      wb_clk_i: in std_logic;
      wb_rst_i: in std_logic;
      wb_sel_i: in std_logic;
      wb_stb_i: in std_logic;
      wb_we_i: in std_logic;
      wb_cyc_i: in std_logic;
      wb_bte_i: in std_logic_vector(1 downto 0);
      wb_cti_i: in std_logic_vector(2 downto 0);
      wb_adr_i: in std_logic_vector(ADDR_WIDTH - 1 downto 0);
      wb_dat_i: in std_logic_vector(DATA_WIDTH -1 downto 0);
      i2s_sd_i: in std_logic;             -- I2S data input
      wb_ack_o: out std_logic;
      wb_dat_o: out std_logic_vector(DATA_WIDTH - 1 downto 0);
      rx_int_o: out std_logic;            -- Interrupt line
      i2s_sck_o: out std_logic;           -- I2S clock out
      i2s_ws_o: out std_logic);           -- I2S word select out
  end component;
  
  component rx_i2s_tops
    generic (DATA_WIDTH: integer range 16 to 32;
             ADDR_WIDTH: integer range 5 to 32);
    port (
      wb_clk_i: in std_logic;
      wb_rst_i: in std_logic;
      wb_sel_i: in std_logic;
      wb_stb_i: in std_logic;
      wb_we_i: in std_logic;
      wb_cyc_i: in std_logic;
      wb_bte_i: in std_logic_vector(1 downto 0);
      wb_cti_i: in std_logic_vector(2 downto 0);
      wb_adr_i: in std_logic_vector(ADDR_WIDTH - 1 downto 0);
      wb_dat_i: in std_logic_vector(DATA_WIDTH -1 downto 0);
      i2s_sd_i: in std_logic;             -- I2S data input
      i2s_sck_i: in std_logic;            -- I2S clock input
      i2s_ws_i: in std_logic;            -- I2S word select input
      wb_ack_o: out std_logic;
      wb_dat_o: out std_logic_vector(DATA_WIDTH - 1 downto 0);
      rx_int_o: out std_logic);           -- Interrupt line
  end component;

  signal wb_clk_o, wb_rst_o, wb_sel_o, wb_stb_o, wb_we_o : std_logic;
  signal wb_cyc_o, wb_ack_i, rx1_int_o: std_logic;
  signal tx_int_o, tx1_ack, rx1_ack, tx2_ack, rx2_ack : std_logic;
  signal rx2_int_o, tx1_int_o, tx2_int_o : std_logic;
  signal wb_bte_o : std_logic_vector(1 downto 0);
  signal wb_cti_o : std_logic_vector(2 downto 0);
  signal wb_adr_o : std_logic_vector(15 downto 0);
  signal wb_dat_i, wb_dat_o, rx1_dat_i: std_logic_vector(31 downto 0);
  signal tx1_dat_i, rx2_dat_i, tx2_dat_i: std_logic_vector(31 downto 0);
  signal wb_stb_32bit_rx1, wb_stb_32bit_tx1 : std_logic;
  signal wb_stb_32bit_rx2, wb_stb_32bit_tx2 : std_logic;
  signal i2s_sd1, i2s_sd2, i2s_sck1, i2s_sck2, i2s_ws1, i2s_ws2: std_logic;
  -- register address definitions
  constant RX1_VERSION : natural := 16#1000#;
  constant RX1_CONFIG  : natural := 16#1001#;
  constant RX1_INTMASK : natural := 16#1002#;
  constant RX1_INTSTAT : natural := 16#1003#;
  constant RX1_BUF_BASE: natural := 16#1020#;
  constant TX1_VERSION : natural := 16#2000#;
  constant TX1_CONFIG  : natural := 16#2001#;
  constant TX1_INTMASK : natural := 16#2002#;
  constant TX1_INTSTAT : natural := 16#2003#;
  constant TX1_BUF_BASE: natural := 16#2020#;
  constant RX2_VERSION : natural := 16#3000#;
  constant RX2_CONFIG  : natural := 16#3001#;
  constant RX2_INTMASK : natural := 16#3002#;
  constant RX2_INTSTAT : natural := 16#3003#;
  constant RX2_BUF_BASE: natural := 16#3020#;
  constant TX2_VERSION : natural := 16#4000#;
  constant TX2_CONFIG  : natural := 16#4001#;
  constant TX2_INTMASK : natural := 16#4002#;
  constant TX2_INTSTAT : natural := 16#4003#;
  constant TX2_BUF_BASE: natural := 16#4020#;
  
begin

  wb_ack_i <= rx1_ack or tx1_ack or rx2_ack or tx2_ack;
  wb_dat_i <= rx1_dat_i when wb_stb_32bit_rx1 = '1'
              else tx1_dat_i when wb_stb_32bit_tx1 = '1'
              else rx2_dat_i when wb_stb_32bit_rx2 = '1'
              else tx2_dat_i when wb_stb_32bit_tx2 = '1'
              else (others => '0');

-- I2S transmitter 1, slave mode
  ITX32S: tx_i2s_tops 
    generic map (DATA_WIDTH => 32,
                 ADDR_WIDTH => 6)
    port map (
      -- Wishbone interface
      wb_clk_i => wb_clk_o,
      wb_rst_i => wb_rst_o,
      wb_sel_i => wb_sel_o,
      wb_stb_i => wb_stb_32bit_tx1,
      wb_we_i => wb_we_o,
      wb_cyc_i => wb_cyc_o,
      wb_bte_i => wb_bte_o,
      wb_cti_i => wb_cti_o,
      wb_adr_i => wb_adr_o(5 downto 0),
      wb_dat_i => wb_dat_o(31 downto 0),
      wb_ack_o => tx1_ack,
      wb_dat_o => tx1_dat_i,
      tx_int_o => tx1_int_o,
      i2s_sd_o => i2s_sd1,
      i2s_sck_i => i2s_sck1,
      i2s_ws_i => i2s_ws1);

-- I2S transmitter 2, master mode
  ITX32M: tx_i2s_topm 
    generic map (DATA_WIDTH => 32,
                 ADDR_WIDTH => 6)
    port map (
      -- Wishbone interface

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲自拍偷拍麻豆| 99这里只有久久精品视频| 欧美精品123区| 国产精品女主播在线观看| 麻豆极品一区二区三区| 国产精品美女久久久久av爽李琼| 久久国产婷婷国产香蕉| 欧美在线不卡一区| 亚洲男女一区二区三区| 成人蜜臀av电影| 亚洲精品免费视频| 欧美亚洲一区三区| 一区二区三区不卡视频| 欧美这里有精品| 亚洲高清三级视频| 91精品国产色综合久久不卡电影 | 美腿丝袜亚洲色图| 91精品欧美久久久久久动漫| 精品中文字幕一区二区| 国产精品水嫩水嫩| 日韩一区二区免费电影| 青青草91视频| 最新国产精品久久精品| 高清不卡在线观看| 欧美日高清视频| 日韩高清欧美激情| 精品美女一区二区| 久久综合九色综合欧美98| 中文字幕在线播放不卡一区| 亚洲欧美色综合| 国产精品国产自产拍高清av | 国产精品久久久久久久浪潮网站| 日韩欧美综合一区| 欧美疯狂性受xxxxx喷水图片| 极品销魂美女一区二区三区| 国产精品你懂的| 正在播放亚洲一区| av电影在线观看一区| 亚洲欧美激情小说另类| 日韩一区国产二区欧美三区| caoporn国产精品| 日韩福利电影在线观看| 一区二区三区日韩| 精品国产99国产精品| 色婷婷国产精品综合在线观看| 韩国女主播一区| 免费欧美在线视频| 一区二区三区国产| 国产精品国产三级国产aⅴ无密码| 欧美精品123区| 欧美日韩久久久久久| 色8久久精品久久久久久蜜| 韩国理伦片一区二区三区在线播放 | 欧美精品色一区二区三区| 国产ts人妖一区二区| 久久99国产精品免费网站| 青椒成人免费视频| 五月婷婷久久丁香| 狠狠色丁香九九婷婷综合五月| 亚洲蜜臀av乱码久久精品 | 日韩精品综合一本久道在线视频| 欧美三级电影网站| 久久久精品黄色| 国产一区美女在线| 亚洲国产另类av| 国产午夜亚洲精品午夜鲁丝片| 国产精品对白交换视频| 亚洲va天堂va国产va久| 免费看黄色91| 成人性生交大片免费看中文| 欧美在线播放高清精品| 欧美xxxx老人做受| 国产精品你懂的在线欣赏| 日韩欧美久久久| 中文字幕乱码日本亚洲一区二区| 2021久久国产精品不只是精品| 久久精品免费在线观看| 亚洲一区二区在线观看视频| 婷婷开心激情综合| 国产一区视频导航| 在线中文字幕一区二区| 欧美视频三区在线播放| 久久日韩粉嫩一区二区三区| 国产精品麻豆视频| 午夜成人免费视频| 国产成人免费视频网站高清观看视频| av资源网一区| 日韩女优视频免费观看| 综合av第一页| 国产一区二区三区观看| 欧美乱妇20p| 国产精品青草综合久久久久99| 日韩中文字幕av电影| 国产jizzjizz一区二区| 日韩女优av电影在线观看| 亚洲素人一区二区| 国产成人综合亚洲91猫咪| 91精品欧美一区二区三区综合在| 国产精品毛片久久久久久久| 成人在线视频一区| 欧美日韩午夜在线视频| 午夜伊人狠狠久久| 99久久伊人久久99| 91成人看片片| 亚洲一级在线观看| 国产精品福利一区二区| 久久精品亚洲精品国产欧美| 色综合一个色综合亚洲| 久久久.com| 美女网站在线免费欧美精品| 在线看一区二区| 国产精品无码永久免费888| 欧美a一区二区| 欧美日韩一区三区| 亚洲欧美激情视频在线观看一区二区三区| 国产一区二区中文字幕| 91精品国产一区二区| 午夜婷婷国产麻豆精品| 日本不卡一区二区三区高清视频| 色欧美乱欧美15图片| 一区二区三区免费网站| 欧洲一区在线电影| 一区二区三区视频在线观看| 欧美日韩久久不卡| 狠狠色丁香久久婷婷综合_中| 欧美成人精精品一区二区频| 精品一区二区三区av| www激情久久| 成人h动漫精品一区二区| 亚洲日本乱码在线观看| 91免费看`日韩一区二区| 亚洲综合在线免费观看| 7777精品伊人久久久大香线蕉的 | 国产精品久久久久影院亚瑟 | 亚洲一区二区三区四区五区中文 | 国产精品香蕉一区二区三区| 一区二区成人在线视频| 成人黄色一级视频| 国产欧美日韩在线观看| 欧美午夜精品久久久久久超碰| 欧美一区二区视频免费观看| 国产欧美日韩在线视频| 欧美日韩美女一区二区| 天堂在线一区二区| 在线不卡的av| 美国十次了思思久久精品导航| 日韩免费性生活视频播放| 热久久久久久久| 精品sm捆绑视频| 国产成人精品综合在线观看| 欧美激情中文字幕| www.99精品| 亚洲一区二区高清| 欧美一区二区成人6969| 日本久久精品电影| 麻豆精品久久久| 丝袜诱惑亚洲看片| 中文字幕在线播放不卡一区| 欧美大尺度电影在线| 欧美精品第1页| 欧美日韩国产一区| 91精品办公室少妇高潮对白| 蜜臀av一区二区三区| 香蕉成人啪国产精品视频综合网 | 亚洲激情六月丁香| 国产精品青草久久| 久久久青草青青国产亚洲免观| 日韩欧美久久久| 日韩视频免费观看高清完整版 | kk眼镜猥琐国模调教系列一区二区| 亚洲在线一区二区三区| 亚洲女女做受ⅹxx高潮| 国产精品不卡一区二区三区| 国产精品美女www爽爽爽| 国产精品人人做人人爽人人添| 国产精品另类一区| 国产精品久久夜| 亚洲精品国产一区二区精华液| 综合av第一页| 日韩黄色小视频| 麻豆精品一区二区综合av| 国产99精品在线观看| 国产成+人+日韩+欧美+亚洲| 99久久精品一区| 欧美日韩亚洲不卡| 91看片淫黄大片一级在线观看| 国产乱码精品1区2区3区| 岛国av在线一区| 欧美高清dvd| 国产欧美一区二区精品性 | 五月婷婷激情综合| 精品福利av导航| 成人综合日日夜夜| 日韩一区精品字幕| 亚洲色图视频网站| 久久久久久久久久久久久久久99| 欧美性做爰猛烈叫床潮| 国产凹凸在线观看一区二区| 免费成人在线影院| 亚洲欧美偷拍三级|