verilog出租车计价器

出租车计价器由以下几个模块组成:

1、速度产生模块

module velocity(clk,rst,en_1,en_2,F_1HZ,frequency );

2、速度判断模块

module judge_v(rst,frequency,F_1HZ,en_1,en_2,v_h,v_l);

3、路程模块

module kilometer(rst,frequency,start,stop,distance_q,distance_b,distance_s,distance_g);

4、时间模块

module clock(F_1HZ,rst,start,stop,en1,en2,time_h,time_t,time_o,flag_1min,T_goes);

5、价格模块

Module price(clk,rst,start,stop,v_h,v_l,flag_1min,distance_b,distance_s,flag,money_q,money_b,

money_s,money_g);

6、VGA模块

module VGA_disp (clk,rst,time_h,time_t,time_o,money_q,money_b,money_s,money_g,distance_q,

distance_b,distance_s,distance_g,hs, vs,vga_r,vga_g,vga_b);

猜你喜欢

转载自blog.csdn.net/QQ_778132974/article/details/111997957