?? tb_traffic_light_controller2.v
字號:
//***************************************************// File Name: tb_traffic_light_controller.v// Date: September 29,2008// author: yilong.you// yilong.you@stu.xjtu.edu.cn //**************************************************/`timescale 1ns/1nsmodule tb_traffic_light_controller2; reg clk,reset; wire[1:0] light_color; traffic_light_controller2 h1(.clk(clk),.reset(reset),.light_color(light_color)); always #1 clk=~clk; initial begin clk=0; reset=1; #2 reset=0; #100$stop; end always@(negedge clk)begin $display("At time %t:light_color=%b",$time,light_color); endendmodule
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -