This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/Quartus/v2/v2_entry_4490.v
2022-03-29 23:03:53 +08:00

18 lines
No EOL
337 B
Verilog

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