显示页面讨论修订记录反向链接回到顶部 本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。 ====简单逻辑门测试文件==== <code verilog> //******************************************************** // // Copyright(c)2016, STEP FPGA // All rights reserved // // File name : gates_tb.v // Module name : gates_tb // Author : STEP // Email : info@stepfpga.com // Data : 2016/08/19 // Version : V1.0 // Description : testbench module // // Modification history // ---------------------------------------------------------------------------- // Version Data(2016/08/19) V1.0 // Description // //******************************************************** // // //******************* //DEFINE MODULE PORT //******************* `timescale 1ns/100ps module gates_tb; reg a,b; initial begin a=0; b=0; #50; a=0; b=1; #50; a=1; b=0; #50; a=1; b=1; #50; end gates gates_tb_uut( .a (a), .b (b) ); endmodule </code>