📄 test_match_rec.v
字号:
`timescale 1ns / 1ps////////////////////////////////////////////////////////////////////////////////// Company: // Engineer://// Create Date: 17:05:53 06/06/2008// Design Name: match_rec// Module Name: E:/wangqiuju/study/researchproject/FPGA/book_onFPGA/wireless-FPGA-design-code/Verilog-code/c12_0/12-2_0/match_rec/test_match_rec.v// Project Name: match_rec// Target Device: // Tool versions: // Description: //// Verilog Test Fixture created by ISE for module: match_rec//// Dependencies:// // Revision:// Revision 0.01 - File Created// Additional Comments:// ////////////////////////////////////////////////////////////////////////////////module test_match_rec; // Inputs reg clk; reg reset; reg x_in; // Outputs wire [1:0] y_out; // Instantiate the Unit Under Test (UUT) match_rec uut ( .clk(clk), .reset(reset), .x_in(x_in), .y_out(y_out) ); always #50 clk=~clk; initial begin // Initialize Inputs clk = 0; reset = 0; x_in = 0; // Wait 100 ns for global reset to finish #150; // Add stimulus here reset=1; x_in=1; #200 x_in=0; #200 x_in=1; #100 x_in=0; #200 x_in=1; #100 x_in=0; #100 x_in=1; #200 x_in=0; #100 $stop; end endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -