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

📄 pci_clk_reset.v

📁 pci 接口协议 用Verilog编写
💻 V
字号:
// --------------------------------------------------------------------// >>>>>>>>>>>>>>>>>>>>>>>>> COPYRIGHT NOTICE <<<<<<<<<<<<<<<<<<<<<<<<<// --------------------------------------------------------------------// Copyright (c) 2001 by Lattice Semiconductor Corporation// --------------------------------------------------------------------//// Permission:////   Lattice Semiconductor grants permission to use this code for use//   in synthesis for any Lattice programmable logic product.  Other//   use of this code, including the selling or duplication of any//   portion is strictly prohibited.//// Disclaimer:////   This VHDL or Verilog source code is intended as a design reference//   which illustrates how these types of functions can be implemented.//   It is the user's responsibility to verify their design for//   consistency and functionality through the use of formal//   verification methods.  Lattice Semiconductor provides no warranty//   regarding the use or functionality of this code.//// --------------------------------------------------------------------//           //                     Lattice Semiconductor Corporation//                     5555 NE Moore Court//                     Hillsboro, OR 97214//                     U.S.A////                     TEL: 1-800-Lattice (USA and Canada)//                          408-826-6000 (other locations)////                     web: http://www.latticesemi.com///                     email: techsupport@latticesemi.com//// --------------------------------------------------------------------// Revision History :// --------------------------------------------------------------------//   Ver  :| Author            :| Mod. Date :| Changes Made://   v1.0 :| D.S.              :| 11/09/98  :| Initial Creation// --------------------------------------------------------------------////	Module  pci_clk_rest// This module provides a pci clock output and reset signal.// Adjust the period and reset_time paramters for whatever  you like.						`timescale 1 ns/1 ps		module pci_clk_reset(                      pci_clk,                      reset_l);// --------------------------------------------------------------------// port listoutput         pci_clk,               reset_l;// --------------------------------------------------------------------// registersreg            pci_clk,               reset_l;// --------------------------------------------------------------------// parametersparameter period      = 30;         // pci clock periodparameter reset_time  = 120;	    // reset power-up time// --------------------------------------------------------------------// initial assignmentsinitial begin        pci_clk <= 1'b0;	reset_l  <= 1'b0;	$display($time,": Reset Asserted");	#reset_time;	$display($time,": Reset Deasserted");	reset_l  <= 1'b1;	end// --------------------------------------------------------------------// pci clock generationalways   #(period/2) pci_clk <= ~pci_clk;endmodule

⌨️ 快捷键说明

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