⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 srlc32e.v

📁 DDR2源代码 DDR2源代码 DDR2源代码
💻 V
字号:
// $Header: /devl/xcs/repo/env/Databases/CAEInterfaces/verunilibs/data/rainier/SRLC32E.v,v 1.2 2005/03/15 19:30:29 yanx Exp $///////////////////////////////////////////////////////////////////////////////// Copyright (c) 1995/2004 Xilinx, Inc.// All Right Reserved./////////////////////////////////////////////////////////////////////////////////   ____  ____//  /   /\/   /// /___/  \  /    Vendor : Xilinx// \   \   \/     Version : 10.1//  \   \         Description : Xilinx Functional Simulation Library Component//  /   /                  16-Bit Shift Register Look-Up-Table with Carry and Clock Enable// /___/   /\     Filename : SRLC32E.v// \   \  /  \    Timestamp : Thu Mar 25 16:43:40 PST 2004//  \___\/\___\//// Revision://    03/15/05 - Initial version.// End Revision`timescale  1 ps / 1 psmodule SRLC32E (Q, Q31, A, CE, CLK, D);    parameter INIT = 32'h00000000;    output Q;    output Q31;    input  [4:0] A;    input  CE, CLK, D;    reg  [31:0] data;    assign  Q = data[A];    assign  Q31 = data[31];    initial    begin          assign  data = INIT;          while (CLK === 1'b1 || CLK===1'bX)             #10;           deassign data;    end    always @(posedge CLK)	if (CE == 1'b1) 	    data <= #100 {data[30:0], D};endmodule

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -