»ùÓÚ-FPGAÊý×ÖÃÜÂëËø ÏÂÔØ±¾ÎÄ

.

CPLD/FPGA¿Î³ÌÉè¼Æ

ÏîÄ¿Ãû³Æ£º×¨Òµ°à¼¶£ºÑ§ÉúѧºÅ£ºÑ§ÉúÐÕÃû£ºÖ¸µ¼ÀÏʦ£º

»ùÓÚFPGAµÄÊý×ÖÃÜÂëËøÉè¼Æ

Äê6ÔÂ4ÈÕ

2016

.

Õª Òª

±¾Éè¼ÆÊÇ»ùÓÚÏÖ³¡¿É±à³ÌÃÅÕóÁÐFPGA Æ÷¼þµÄµç×ÓÃÜÂëËøµÄÉè¼Æ¡£Í¨¹ýVerilogÓïÑÔ¿ØÖÆ4λ¶þ½øÖÆÊý£¬×é³ÉÊý×ÖÅÅÁУ¬ÐγÉÒ»¸ö¼òµ¥µÄÊý×ÖÃÜÂëËø£¬¼ÙÉèÔ¤ÉèÃÜÂëΪ4λÊý£º0000£¬µ±ÊäÈëÕýȷʱÊä³öΪ1¡¢ÊäÈë´íÎóʱÊä³öΪ0¡£Í¬Ê±Êä³öÊäÈëµÄ´ÎÊý£¬µ±3´ÎÒÔÉÏÊäÈë´íÎóʱ£¬Êä³öÒ»¸ö±¨¾¯Ðźţ¬¼´Ê¹µÚËÄ¡¢Îå´ÎÊäÈëÕýÈ·Ò²Êä³ö±¨¾¯Ðźš£

±¾Éè¼ÆÀûÓÃModelsimÈí¼þ±àдVerilog HDLÓ²¼þÃèÊöÓïÑÔ³ÌÐòÒÔʵÏÖÊäÈëÃÜÂë¡¢¿ªËø¡¢±¨¾¯¹¦ÄÜ¡£ ͨ¹ý·ÂÕæµ÷ÊÔ£¬ÀûÓÿɱà³ÌÆ÷¼þFPGAµÄµç×ÓÃÜÂëËøµÄÉè¼Æ»ù±¾´ïµ½ÁËÔ¤ÆÚÄ¿µÄ¡£

¹Ø¼ü´Ê£º ÏÖ³¡¿É±à³ÌÃÅÕóÁУ»Êý×ÖÃÜÂëËø£»Verilog HDL£»

.

Abstract

This design is the electronic code lock field programmable gate array FPGA devices based design. By Verilog language control 4-bit binary number, composed of figures arranged to form a simple digital lock, assuming that the default password is 4 digits: 0000, correct output when the input is 1, the output of the input error to zero. At the same time the number of input and output, and when more than three times the input error, an alarm signal is output, even if the fourth and fifth also enter the correct output alarm signal.

This design uses Modelsim software write Verilog HDL hardware description language program to implement a password lock, alarm function. The simulation debugging, using the programmable device FPGA design basic electronic locks to achieve the desired purpose.

Key words: FPGA£»The digital combination lock£»Verilog HDL£»