18 lines
337 B
Coq
18 lines
337 B
Coq
|
module v2_entry_4490(clk_in,enable_in,Qout,seg_out,code_out);
|
||
|
input clk_in,enable_in;
|
||
|
output wire [2:0] Qout;
|
||
|
output wire seg_out;
|
||
|
output wire [6:0]code_out;
|
||
|
|
||
|
//调用计数器模块
|
||
|
jyh_4490_2_1 counter(
|
||
|
.clk(clk_in),
|
||
|
.en(enable_in),
|
||
|
.Q(Qout));
|
||
|
|
||
|
//调用译码器模块
|
||
|
jyh_4490_2_2 encoder(
|
||
|
.in(Qout),
|
||
|
.out(code_out));
|
||
|
|
||
|
endmodule
|