1.8-3优先编码器Verilog testbench怎么写?
8-3优先编码器Verilog testbench怎么写?
`timescale 1ns/psmodule testbench;
reg [7:0] data_in ;
reg s ;
wire [2:0] data_out;
wire gs ;
wire es ;
encoder8_3_LS uut(
.s (s ),源码
.data_in (data_in ),
.gs (gs ),
.es (es ),
data_out(data_out)
);
initial
begin
data_in = 0;
s = 0;
#; data_in = 1;
#; data_in = 2;
#; data_in = 3;
#; data_in = 4;
#; data_in = 5;
#; data_in = 6;
#; data_in = 7;
#; s = 1;
#; data_in = 0;
#; data_in = 1;
#; data_in = 2;
#; data_in = 3;
#; data_in = 4;
#; data_in = 5;
#; data_in = 6;
#; data_in = 7;
#;
$finish;
end
endmodule
如果觉得回答的还行,请采纳答案,源码数据结构与算法源码谢谢!源码phpcms 招标源码
源码云豹直播 源码源码云豹直播 源码快递空包 源码
js网页设计附带源码_js网页设计附带源码怎么设置
飞飞cms模板源码下载_飞飞cms最新模板
信息系统项目源码_信息系统项目源码怎么填
qsdd指标源码_qsdd指标使用方法
股票变色均线源码_股票变色均线源码是什么