【正文】
then f=f_15。f_1=39。 if q_16=14 then q_16=0。039。q_16=0。 分的十位計數(shù)器 signal m0:std_logic_vector(3 downto 0)。architecture behav of taxi issignal f_15,f_16,f_1:std_logic。entity taxi isport ( clk_240 :in std_logic。文件名:。 頻率為240Hz的時鐘 start :in std_logic。 頻率為15Hz,16Hz,1Hz的信號signal q_15:integer range 0 to 15。 分的個位計數(shù)器signal en1,en0,f:std_logic。f_15=39。 else if q_15=15 then q_15=0。f_16=39。139。 此IF語句得到計費(fèi)脈沖f elsif en0=39。end process。039。139。 if m1amp。039。 else k0=k0+1。 else en1=39。cha0=c0。 公里數(shù)據(jù)、分鐘數(shù)據(jù)輸出 end if。 elsif f39。 end if。end proc