【正文】
進(jìn)行 5s倒計(jì)時(shí)。 圖 60s 定時(shí)單元模塊 仿真圖 (6)譯碼模塊仿真結(jié)果: 圖 為譯碼器的仿真時(shí)序。例如圖中輸出 0111111,在數(shù)碼管上顯示 0,輸出 0000110,在數(shù)碼管上顯示 1,其他的同理。 圖 顯示控制仿真 陜西理工學(xué)院畢業(yè)設(shè)計(jì) 第 18 頁 共 38 頁 (8)整體仿真結(jié)果: 如圖 , 整個(gè)輸出都是以時(shí)鐘信號(hào)為基礎(chǔ)的,信號(hào)燈的亮滅順序符合設(shè)計(jì)的要求 , DOUT1和 DOUT2為 甲 路譯碼后數(shù)碼管的數(shù)據(jù)顯示, DOUT3和 DOUT4為 乙 路譯碼后數(shù)碼管的數(shù)據(jù)顯示,圖中 DOUTA和 DOUTB 分別為 甲 路和 乙 路譯碼前的數(shù)據(jù),結(jié)合信號(hào)燈的亮滅狀態(tài)很明顯看到 甲路左拐燈 (AL)為高電平時(shí) DOUTA 先清零然后顯示 10s倒計(jì)時(shí), 甲 路黃燈( AY)為高電平時(shí) DOUTA 先清零然后 5s倒計(jì)時(shí),到 甲 路紅燈倒計(jì)時(shí)到 0時(shí), 甲 路也同時(shí)倒計(jì)時(shí)到 0,然后 乙 路信號(hào)燈按順序亮滅,符合設(shè)計(jì)要求。譯碼器 1 和譯碼器 2 接甲車道的兩個(gè) 7段數(shù)碼管,譯碼器 3 和譯碼器 4 接乙車道的兩個(gè)7段 共陰 數(shù)碼管。 整個(gè) 設(shè)計(jì) 系統(tǒng) ,外圍電路少、功耗低、可靠性高 ,便于系統(tǒng)功能的修改,設(shè)計(jì)效率高。 陜西理工學(xué)院畢業(yè)設(shè)計(jì) 第 20 頁 共 38 頁 總結(jié) 本設(shè)計(jì)采用 CPLD芯片自動(dòng)控制交通燈及時(shí)間顯示的方法。設(shè)計(jì)過程包括硬件電路設(shè)計(jì)和程序設(shè)計(jì)兩大步驟。本文介紹了控制的基本原理以及控制的表現(xiàn),同時(shí),論述了系統(tǒng)中交通現(xiàn)狀、交通管理及背景信息。實(shí)現(xiàn)了四種顏色交通信號(hào)燈的交替點(diǎn)亮 , 以及時(shí)間的倒計(jì)時(shí)顯示,指揮行人和車輛安全通行。通過此次設(shè)計(jì),我對(duì)于 VHDL硬件描述語言有了更深入地了解,也在原來所學(xué)的理論基礎(chǔ)上進(jìn)一步的應(yīng)用。 數(shù)字化時(shí)代的到來給人們的生活水平帶來了極大的改變,我們有理由相信,隨著數(shù)字化的深入,交通燈控制器的功能將日趨完善。在今后的電子產(chǎn)品研究開發(fā)過程中, EDA技術(shù)將會(huì)具有更好的開發(fā)手段和更高的性價(jià)比,并且將擁有更為廣闊的市場(chǎng)應(yīng)用前景。 作為一 名本 科 學(xué) 生,由于經(jīng)驗(yàn)的缺 乏, 我在設(shè)計(jì)過程中 難免有許多考慮不周全的地方,如果沒有導(dǎo)師的督促指導(dǎo),以及同學(xué)們的支持, 我 想要完成這個(gè)設(shè)計(jì) 任務(wù) 是難以想象的。 何 老師 給了我很大的幫助, 在我做畢業(yè)設(shè)計(jì)的 這段期間內(nèi) , 無論是 從 設(shè)計(jì)程序 到查閱資料, 還是 設(shè)計(jì) 草 案的 修改 和 確定 , 以及 中期檢 查 和 后期詳細(xì)設(shè)計(jì)等每個(gè)階段 都給予了我悉心的指導(dǎo)。在我發(fā)給何老師的每一封有關(guān)設(shè)計(jì)的郵件中,他總是認(rèn)真地做好批閱,幫我糾正每一個(gè)細(xì)節(jié)。 除了敬佩 何 老師的專業(yè)水平外, 他嚴(yán)謹(jǐn)治學(xué)的態(tài)度 和 對(duì)工作充滿熱情 的精神也是我永遠(yuǎn)學(xué)習(xí)的榜樣,并將積極影響我今后的學(xué)習(xí)和工作。 最 后 , 還 要感謝我的母校 — 陜西理工學(xué)院四年年 來對(duì)我的大力 培養(yǎng); 感謝大學(xué) 四 年來所有的老師 對(duì)我的幫助 ,為我打下 電子 專業(yè)知識(shí)的基礎(chǔ);同時(shí)還要感謝 我的爸爸媽媽、我的同學(xué)們 ,正是因?yàn)橛辛四銈兊闹С趾凸膭?lì) ,我的 畢業(yè)設(shè)計(jì)才會(huì)順利 地 完成。s in 20 centuries, international last electronics and calculator technique more the forerunner39。s hardware structure and work the way carry on heavy Gou and make thus the design of hardware can like software design so convenient all these biggest changed a traditional numerical method, design process of the system design and design idea and promoted the EDA technical quick development. The EDA is an electronics design automation of abbreviation, design from the calculator assistance at the beginning of 9039。s hardware structure and work the way carry on heavy Gou and make thus the design of hardware can like software design so convenient all these biggest changed a traditional numerical method, design process of the system design and design idea and promoted the EDA technical quick use of EDA tool, the electronics designer can start design electronics system from the concept, calculate way, agreement...etc., a great deal of work can pass calculator pletion, and can design the electronics product is from the electric circuit, the function analyze pute of the whole process of design an IC landscape or PCB landscape on board auto processing pletion. Use to the EDA concept or category very breadth in each realm of the machine, electronics, correspondence, aviation aerospace, chemical engineering, mineral, living creature, medical science, military...etc., all there is EDA EDA technique has already extensively used in each archduke department, the Qi business unit and research teaching section example in the airplane the manufacturing the process, from design, performance test and characteristic analytical until fly emulation, may involve an EDA EDA technique that this text point mainly to the design, 陜西理工學(xué)院畢業(yè)設(shè)計(jì) 第 24 頁 共 38 頁 PCB design of the electronics electric circuit and IC design. The EDA design can is divided into system class, electric circuit class and physics to carry out class. The EDA in mon use software and tool pile up one after another and get into an our country currently and have the EDA software of extensive influence to have:MultiSIM 7(the latest edition of original EWB), PSPICE, OrCAD, PCAD, Protel, Viewlogic, Mentor, Graphics, Synopsys, LSIIogic, Cadence, MicroSim, ISE, modelsim etc..These tools all have stronger function, generally can used for a few aspects, for example a lot of softwares all can carry on an electric circuit design with imitate really, together entering can also carry on PCB to automatically set up cloth line, can output various form a document with the third square software connect. The VHDL birth in the end of 1987, the VHDL is confirm by IEEE and American Ministry of National Defense to describe language for the standard VHDL standard edition from the IEEE, IEEE1076(call 87 versions) after, the each EDA pany released own VHDL design environment one after another, or declared that the own design tool can connect with the VHDL designed realm to get to extensively accept in the electronics, and gradually replaced an originally not standard hardware description 1993, the IEEE carried on to revise to the VHDL, describe ability to up expand a VHDL contents from higher abstract layer and the system, announced the VHDL of new and Verilog are the industrial standard hardware description of the IEEEs language, again arrive support of numerous EDA panies, at electronics engineering realm, have bee in general use hardware to describe language in is expert think, in the new century in, the VHDL will start to undertake a greatly part of numerical system design mission at the Verilog language. The VHDL language is a kind of deluxe language which useds for an electric circuit expects to appear after the 8039。t see part), since involve internal function and calculate way of entity to plete part to 1 designed entity to define exterior interface after, once it internal development pletion after, other designs can directly adjust to use this kind of will design 陜西理工學(xué)院畢業(yè)設(shè)計(jì) 第 25 頁 共 38 頁 entity to be divided into a little bit basic VHDL system that is a VHDL system inside the concept of outside part design design of a little bit basic and other hardware describe the language pare and the VHDL has a following characteristics:The function is strong and the design be VHDL has the function strong language structure, can describe a plicated logic control with the simple and direct and explicit source has a multilayer design description function, in multiple layers thin turn, fin