sys_clk_gen.v

来自「基于xilinx vierex5得pci express dma设计实现。」· Verilog 代码 · 共 30 行

V
30
字号
//-- Copyright(C) 2005 by Xilinx, Inc. All rights reserved.//-- This text contains proprietary, confidential//-- information of Xilinx, Inc., is distributed//-- under license from Xilinx, Inc., and may be used,//-- copied and/or disclosed only pursuant to the terms//-- of a valid license agreement with Xilinx, Inc. This copyright//-- notice must be retained as part of this text at all times.`timescale 1ps/1psmodule sys_clk_gen (sys_clk);output	sys_clk;reg		sys_clk;parameter        offset = 0;parameter        halfcycle = 500;initial begin	sys_clk = 0;	#(offset);	forever #(halfcycle) sys_clk = ~sys_clk;endendmodule // sys_clk_gen

⌨️ 快捷键说明

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