freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于cpld的出租車計費(fèi)系統(tǒng)設(shè)計_畢業(yè)設(shè)計論文(參考版)

2025-07-07 07:26本頁面
  

【正文】 。 kmt3=kmtmp3。 U4:kmmoney PORT MAP(clk,reset,timetmp,clktmp,kmtmp2,kmtmp3,count1,count2,count3)。 U2:times PORT MAP(clk,reset,start,stop,sp,timetmp)。 signal kmtmp3 :std_logic_vector(3 downto 0)。 signal timetmp:std_logic。 end ponent kmmoney。 count2 :out std_logic_vector(3 downto 0)。 kmt3 :in std_logic_vector(3 downto 0)。 clkout :in std_logic。 reset :in std_logic。 end ponent kilometers。 20 kmt2:out std_logic_vector(3 downto 0)。 ponent kilometers is 定義計程模塊 port( clkout,reset:in std_logic。 timecount:out std_logic )。 stop :in std_logic。 reset:in std_logic。 end ponent speed。 sp :in std_logic_vector(2 downto 0)。 start:in std_logic。 architecture rtl of top is 對上述電路模塊進(jìn)行元件定義 ponent speed is 定義速度模塊 port( clk :in std_logic。 count3:out std_logic_vector(3 downto 0) )。 count1:out std_logic_vector(3 downto 0)。 kmt2:out std_logic_vector(3 downto 0)。 sp :in std_logic_vector(2 downto 0)。 start :in std_logic。 19 entity top is port( 定義整個系統(tǒng)的輸入輸出端口 clk :in std_logic。 1) TOP 模塊 library ieee。 總費(fèi)用的十位 count3=cash(11 downto 8)。 count1=cash(3 downto 0)。 end if。 end if。 end if。 end if。 if reg2(7 downto 4)1001then 百位進(jìn)位 cash=reg2+000001100000。 if 0000amp。then if clkout_t=9 then clkout_t:=0。 and enable=39。 里程計費(fèi) elsif clkout=39。 else cash=reg2+0001。 else cash=reg2。 if reg2(3 downto 0)+00011001then 產(chǎn)生進(jìn)位 reg2(7 downto 0):=reg2(7 downto 0)+00000111。139。139。 起步費(fèi)用設(shè)為 3 元 elsif clk39。139。 variable clkout_t:integer range 0 to 10。 end process。039。139。 end if。 begin kmmoney1:PROCESS(cash,kmt2) 此進(jìn)程產(chǎn)生下一進(jìn)程的敏感信號 begin if cash=000001000000then price=0100。 signal price:std_logic_vector(3 downto 0)。 end kmmoney。 count2 :out std_logic_vector(3 downto 0)。 kmt3 :in std_logic_vector(3 downto 0)。 clkout :in std_logic。 reset :in std_logic。 use 。 1)Kmmoney 模塊 library ieee。 end process。 kmt2=km_reg(7 downto 4)。 end if。 十分位向個分位進(jìn)位 else km_reg(3 downto 0):=km_reg(3 downto 0)+0001。139。 elsif clkout39。139。 architecture rtl of kilometers is begin process(clkout,reset) 啟動進(jìn)程 variable km_reg:std_logic_vector(11 downto 0)。 kmt3:out std_logic_vector(3 downto 0) )。 kmt1:out std_logic_vector(3 downto 0)。 use 。 16 1)Kilometers 模塊 library ieee。 end process。 end case。 t_state:=t1。 else timecount=39。then t_state:=t0。 elsif stop=39。139。039。 when t2= waittime:=waittime+1。 t_state:=t1。 when t1= if sp=000then t_state:=t2。 else t_state:=t0。139。039。)then 時鐘上升沿到達(dá) case t_state is 根據(jù)條件完成狀態(tài)轉(zhuǎn)換 when t0= waittime:=0。event and clk=39。then 復(fù)位清零 t_state:=t0。 begin if reset=39。 variable t_state:state_type。 end times。 sp :in std_logic_vector(2 downto 0)。 start:in std_logic。 entity times is port( 定義輸入輸出端口 clk :in std_logic。 加載庫文件 use 。 end rtl。 end if。 end if。 else t:=t+1。139。 有客上車但車速為 0,即剛上車還未起步 elsif t=kinside then t:=0。then s_state:=s0。 if stop=39。 when s1= clkout=39。 else s_state:=s0。139。039。then 時鐘上升沿到達(dá)時,狀態(tài)轉(zhuǎn)換 case s_state is when s0= t:=0。event and clk=39。then 復(fù)位清零 s_state:=s0。 if reset=39。 第六檔 when111=kinside:=4。 第四檔 when101=kinside:=12。 第二檔 when011=kinside:=20。 停止?fàn)顟B(tài)或空檔 when001=kinside:=28。 variable kinside:integer range 0 to 30。 枚舉類型; variable s_state:state_type。 end speed。 sp :in std_logic_vector(2 downto 0)。 start:in std_logic。 entity speed is port( 定義輸入輸出端口 clk :in std_logic。 加載庫文件 use 。在系統(tǒng)設(shè)計過程 中,我也遇到了較多的困難,我十分感謝我的朋友和老師給與我的幫助和支持,使我能順利完成本系統(tǒng)的設(shè)計與實(shí)現(xiàn)。 致謝 本次設(shè)計從選題到最后完成,都得到了指導(dǎo)老師邵利敏老師的悉心指導(dǎo)。并且, CPLD 器件的成本越來越低 ,這些都說明可編程器件已成為現(xiàn)在及未來很長一段時間的主流,用它來實(shí)現(xiàn)的出租車計費(fèi)器省去很多外圍電路,穩(wěn)定,簡單有效,將來必然可以設(shè)計出更多更強(qiáng)大的功能,提高產(chǎn)品競爭力。 本文論述了基于 CPLD 的出租車計費(fèi)器設(shè)計,分別介
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1