摘要VHDL非常适用于可编程逻辑器件的应用设计
尤其在大容量CPLD和FPGA的应用设计中,若采用以往的布尔方程或门级描述方式,很难快速有效地完成
VHDL能提供高级语言结构,方便地描述大型电路,快速地完成设计
它是一种标准语言,它的设计描述可被不同的工具所支持,可用不同器件来实现
文中以基于FPGA的电子密码锁的设计为实例,从方案的确定,各阶层的划分,VHDL的应用,采用了VHDL自顶向下的设计方法
它是一种高效率设计出它体积小、功耗低、价格便宜、安全可靠、维护和升级都十分方便的电子密码锁电路
关键词:VHDL;自顶向下的设计方法;数字密码锁;EDA;数字系统ABSTRACTVHDLisverysuitabletothedesignofprogrammablelogicdevices
Itisdifficulttodesignlargeca-pacityCPLDandFPGAwiththedescriptionmethodofBooleanequationsorofgates
VHDLcanprovidehighlevellanguagestructure,describelargescalecircuitconvenientlyandcompletedesignrapidly
Itisastandardlanguage
Itsdesigndescriptioncanbesupportedbydifferenttoolsandimplementedbydifferentdevices
Thispaperintro-ducestheVHDLtop-downdesignmethodincludingschemedetermination,hierarchydivision,andInordertoFPGA-basedelectronicpassword-lockdesigna