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

📄 ceshi.v

📁 实现交通灯
💻 V
字号:
`timescale 1ns / 1ps////////////////////////////////////////////////////////////////////////////////// Company: // Engineer://// Create Date:   17:28:19 02/20/2009// Design Name:   test// Module Name:   D:/ise_book/traffic/ceshi.v// Project Name:  traffic// Target Device:  // Tool versions:  // Description: //// Verilog Test Fixture created by ISE for module: test//// Dependencies:// // Revision:// Revision 0.01 - File Created// Additional Comments:// ////////////////////////////////////////////////////////////////////////////////module ceshi_v;	// Inputs	reg clk;	reg rst;	reg ucar;	reg lcar;	// Outputs	wire [5:0] lights;	// Instantiate the Unit Under Test (UUT)	test uut (		.clk(clk), 		.rst(rst), 		.ucar(ucar), 		.lcar(lcar), 		.lights(lights)	);	initial begin		// Initialize Inputs		clk = 0;		rst = 0;		ucar = 0;		lcar = 0;		// Wait 100 ns for global reset to finish		#10 rst=1;		#10 rst=0;      #10 lcar=1; 
		#10 ucar=1;				// Add stimulus here	end	//	initial begin			always		#5 clk=~clk;		      endmodule

⌨️ 快捷键说明

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