資源描述:
《漢字點陣顯示vhdl源程序》由會員上傳分享,免費在線閱讀,更多相關內(nèi)容在教育資源-天天文庫。
1、漢字點陣顯示VHDL源程序libraryieee;useieee.std_logic_1164.all;useieee.std_logic_unsigned.all;useieee.std_logic_arith.all;entityhzxsisport(clk1,clk2:instd_logic;rd:outstd_logic;we:outstd_logic;ledw:outstd_logic_vector(2downto0);d:outstd_logic_vector(0downto7));endhzxs;architec
2、turehavofhzxsissignalcount:std_logic_vector(0to2);signala:std_logic_vector(3downto0);beginprocess(clk2)beginifclk2'eventandclk2='1'thencount<=count+1;endif;ledw<=count;a(2downto0)<=count;endprocess;process(clk1)beginifclk1'eventandclk1='1'thena(3)<=nota(3);endif;end
3、process;process(a)begincaseaiswhen"0000"=>d<="10110100";--數(shù)when"0001"=>d<="11111111";when"0010"=>d<="01001010";when"0011"=>d<="11011010";when"0100"=>d<="11110110";when"0101"=>d<="11100110";when"0110"=>d<="01110110";when"0111"=>d<="11011011";when"1000"=>d<="00010000"
4、;--字when"1001"=>d<="11111111";appearanceoftheweldappearancequalitytechnicalrequirementsoftheprojectmustnothaveamoltenmetalstreamdoesnotmeltthebasemetaltoweld,weldseamandheat-affectedzonesurfacemustnothavecracks,pores,defectssuchascraterandash,surfacesmoothing,weldan
5、dbasemetalshouldbeevenlysmoothtransition.Width2-3mmfromtheedgeofweldGroove.Surfacereinforcementshouldbelessthanorequalto1+0.2timestheslopeedgewidth,andshouldnotbegreaterthan4mm.Depthofundercutshouldbelessthanorequalto0.5mm,totallengthoftheweldsonbothsidesundercutnot
6、exceed10%oftheweldlength,andlongcontinuousshouldnotbegreaterthan100mm.Wrongsideshouldbelessthanorat0.2T,andshouldnotbegreaterthan2mm(wallthicknessmmt)incompleteornotallow7.57.5.1installationqualityprocessstandardsoftheelectricalenclosureCabinetsurfaceisclean,neat,no
7、significantphenomenonofconvex,closetonature,closethedoor.7.5.2CabinetCabinetfacepaintsnopaint,returnedtorusted,consistentcolor.7.5.3uniformindirectgapfromtoptobottom,slotwidth<1.5mm7.5.4adjacentCabinetsurfaceroughnessis0.7.5.5thecabinetsfirmlyfixed,craftsbeautiful.7
8、.5.6Cabinetsurfacegauge,switchcabinetmarkclear,neat,firmpaste.7.5.7Terminalrowofneat,isreliable,theappearanceiscleanandnotdamaged.7.5.8cab