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

正文內(nèi)容

基于vhdl的出租車計(jì)價(jià)器的設(shè)計(jì)(編輯修改稿)

2024-07-23 12:32 本頁面
 

【文章內(nèi)容簡(jiǎn)介】 附錄(程序源代碼)library ieee。use 。use 。use 。entity taxi isport( 輸入時(shí)鐘 clk:in std_logic。 計(jì)價(jià)器啟動(dòng) start:in std_logic。 等待信號(hào) wait_signal:in std_logic。 公里脈沖信號(hào) mile:in std_logic。 單程鍵 one_way:in std_logic。 復(fù)位鍵 rst:in std_logic。 計(jì)費(fèi)輸出 cost0,cost1,cost2,cost3:out std_logic_vector(3 downto 0)。 等待時(shí)間輸出 min0,min1:out std_logic_vector(3 downto 0)。 行駛公里輸出 km0,km1:out std_logic_vector(3 downto 0))。end。architecture bhv of taxi is延遲信號(hào)signal mile_r1,mile_r2,mile_clk,start_r,clk1hz:std_logic。分頻器signal count:integer range 0 to 29。signal sec:integer range 0 to 59。計(jì)費(fèi)寄存器signal c0,c1,c2,c3:std_logic_vector(3 downto 0)。公里/等待時(shí)間寄存器signal k0,k1,m0,m1:std_logic_vector(3 downto 0)。路程大于3公里,使能有效signal en0 : std_logic。單程且大于20公里,使能有效signal en1 : std_logic。等待時(shí)間,1脈沖/分鐘signal wait_clk :std_logic。計(jì)費(fèi)時(shí)鐘signal cost_clk : std_logic。begin 輸出顯示 min0=m0。 min1=m1。 km0=k0。 km1=k1。 cost0=c0。 cost1=c1。 cost2=c2。 cost3=c3。分頻進(jìn)程U1:process( rst,clk) begin if rst=39。039。 then if clk39。event and clk=39。139。 then if count=5 then count=0。 clk1hz=39。139。 else count=count+1。 clk1hz=39。039。 end if。 end if。 end if。 end process。等待計(jì)時(shí)進(jìn)程U2:process(rst,clk1hz,start,wait_signal) begin if rst=39。139。 then
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1