ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
1
???: 2011? 12? 2?
????: ? ?
????????
2??
?????? ?? ????
?? ???
6?
20800577
? ? ?
2
??
1. ??? ??......................................................................................................................................................................................................3
A. ?? ? ???? .................................................................................................................................................................................3
B. ?? ???? ........................................................................................................................................................................................3
C. ???(??) ............................................................................................................................................................................................3
2. Algorithm & Flow Chart..........................................................................................................................................................................4
3. ?? ???......................................................................................................................................................................................................5
A. door_top ...................................................................................................................................................................................................5
B. datapath....................................................................................................................................................................................................6
C. fsm...............................................................................................................................................................................................................7
4. Rusult.................................................................................................................................................................................................................8
3
1. ??? ??
A. ?? ? ????
??? ???? ?? ? ?? ??? ?? ? Digital Door Lock? ?? ??? ???? ?
??? ???, Verilog? Digital Door Lock? ???? ???.
B. ?? ????
i. ???? : 12? 14?
ii. NEXYS2 Board ??? ?? ???? ????.
iii. ?? Block? Verilog Code? ????.
C. ???(??)
i. ? ??
ID(00~99)? Password(4??)? ?? ??
??(open) -> ID ->??(open)-> Password ->??(open)
ii. ?? ??
???? 3? ???? ???? ??
iii. ??? ??
? ?? ?? ?? ???? ??(?? 1?)
iv. ? ??
?? ?? 5? ?? ???? ?? ???.
v. Password setting
??(visit)-> ?? Password ->??(visit)
4
2. Algorithm & Flow Chart
????
(? ??)
? ??
Open ID & Password
?? ??
???
??? ??!!
3? ??
? ?
5? ?
5? ?
??? & ??
?? ??
Visit
Visit
Password
Setting
Set
Set
Input & Output
5
3. ?? ???
A. door_top
datapath
ascii[3:0] eq
released id0
id_en id1
set_en hr1
pass_in_en hr10
comp_en
id_rst
set_rst
in_rst
ce100
fsm
open1 pass_in_en
set1 set_en
visit1 comp_en
eq id_en
released door
thief
id_rst
set_rst
in_rst
show_visit
clk_div100
ce100
(?? ???)
clk_div10
ce10
(?? ???)
Pulse
open open1
set set1
visit visit1
ce10
(debouncing key)
ps2_kbd_top
ps2clk ascii
ps2data released
(ps2 ??? ???)
ss_drive
id0
id1
hr1
hr10
(segment ???)
6
B. datapath
clock
ce hour10
hour1
reg-pass
(user)
In Q0
pass_en Q1
Q2
Q3
reg-pass
(reg_in)
in out0
set_en out1
out2
out3
reg_id
(id_in)
in id_0
id_en id_1
comp
Q0 eq
Q1
Q2
Q3
out0
out1
out2
out3
always@(posedge clk)
if(rst==1)
begin
id0<=0; id1<=0; hr10<=0;hr1<=0;
end
else if(eq==1)
begin
id0<=id_0; id1<=id_1; hr10<=hour10; hr1<=hour1;
end
??? ??? ??? ID? ???? ?? ??
clock : ?? ??
reg_id : ?? ? ? ?? ?? password? ???? register
reg_pass(reg_in) : ?? ? ? ?? ?? password? ???? register
reg_pass(user) : password? ???? register
comp : ???? ?? password? ???? password? ????? ???
7
C. fsm
Close ??
door = 0
id?? ??(1)
id_rst = 1
Open ??
door=1
id?? ??(2)
id_rst = 0
id_en = 1
password ?? ??(1)
in_rst = 1
password ?? ??(2)
in_rst = 0
pass_in_en = 1
?? ??
comp_en = 1
??? ?? ??
thief = 1
Set ??(1)
set_rst = 1
set ??(2)
set_rst = 0
set_en = 1
??? ?? ??
show_visit = 1
open
open
open
visit
eq=1
???=3
5? ?
set
set
5? ?
visit
8
4. Rusult
?? ? latch? ?? ?? ???, ?? ??? ???? ???.
????? ??? ? ?? ?? -> ?? ??
???? ?? ?? -> ?? ??
??? ?? ?? -> ?? ??
3? ??? ?? ?? -> ?? ??
?? ?? ? 5? ? ?? ?? ?? -> ?? ??
?? ?? ? 5? ? ?? ?? ?? -> ?? ??
.
¡ñ ?? ???? ??? ?
? ID ?? Password? ??
? ?? ???? ?? Password? ???.
? ?? ??? VGA? ?? ??.
? ???? board??? ?? ?????.
? ???? ?? 5? ?? ????
? ?? ??? 1?? ID? ?? ??? ????
? Password ?? ?? ?? ??? ??
? Lock ??? ??
? ?? ??? 3??? 5?? ??
? ID? ??? ???? ?? ????.

More Related Content

What's hot (20)

Bellman ford algorithm
Bellman ford algorithmBellman ford algorithm
Bellman ford algorithm
AnuragChaudhary70
?
Bellman Ford's Algorithm
Bellman Ford's AlgorithmBellman Ford's Algorithm
Bellman Ford's Algorithm
Tanmay Baranwal
?
Chap7 2 Ecc Intro
Chap7 2 Ecc IntroChap7 2 Ecc Intro
Chap7 2 Ecc Intro
Edora Aziz
?
Bfs and Dfs
Bfs and DfsBfs and Dfs
Bfs and Dfs
Masud Parvaze
?
Parallel sorting Algorithms
Parallel  sorting AlgorithmsParallel  sorting Algorithms
Parallel sorting Algorithms
GARIMA SHAKYA
?
HASHING IS NOT YASH IT IS HASH.pptx
HASHING IS NOT YASH IT IS HASH.pptxHASHING IS NOT YASH IT IS HASH.pptx
HASHING IS NOT YASH IT IS HASH.pptx
JITTAYASHWANTHREDDY
?
Cs6503 theory of computation november december 2015 be cse anna university q...
Cs6503 theory of computation november december 2015  be cse anna university q...Cs6503 theory of computation november december 2015  be cse anna university q...
Cs6503 theory of computation november december 2015 be cse anna university q...
appasami
?
Master theorem
Master theoremMaster theorem
Master theorem
fika sweety
?
Simulated annealing in n - queens
Simulated annealing in n - queensSimulated annealing in n - queens
Simulated annealing in n - queens
Hemant Chetwani
?
Bellman ford algorithm
Bellman ford algorithmBellman ford algorithm
Bellman ford algorithm
Ruchika Sinha
?
Theory of computation Lec1
Theory of computation Lec1Theory of computation Lec1
Theory of computation Lec1
Arab Open University and Cairo University
?
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
hamza haseeb
?
Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)
Shuvongkor Barman
?
µÚÒ»½²£ºÐéÄâÓïÆø
µÚÒ»½²£ºÐéÄâÓïÆøµÚÒ»½²£ºÐéÄâÓïÆø
µÚÒ»½²£ºÐéÄâÓïÆø
luciashun
?
Graph theory
Graph theory Graph theory
Graph theory
iranian translate
?
Maximum Matching in General Graphs
Maximum Matching in General GraphsMaximum Matching in General Graphs
Maximum Matching in General Graphs
Ahmad Khayyat
?
Trees and graphs
Trees and graphsTrees and graphs
Trees and graphs
Lokesh Singrol
?
Disjoint sets union, find
Disjoint sets  union, findDisjoint sets  union, find
Disjoint sets union, find
subhashchandra197
?
implementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity pptimplementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity ppt
AntaraBhattacharya12
?
Ch07 1-2-overview graphcoverage
Ch07 1-2-overview graphcoverageCh07 1-2-overview graphcoverage
Ch07 1-2-overview graphcoverage
Rija Hameed
?
Chap7 2 Ecc Intro
Chap7 2 Ecc IntroChap7 2 Ecc Intro
Chap7 2 Ecc Intro
Edora Aziz
?
Parallel sorting Algorithms
Parallel  sorting AlgorithmsParallel  sorting Algorithms
Parallel sorting Algorithms
GARIMA SHAKYA
?
HASHING IS NOT YASH IT IS HASH.pptx
HASHING IS NOT YASH IT IS HASH.pptxHASHING IS NOT YASH IT IS HASH.pptx
HASHING IS NOT YASH IT IS HASH.pptx
JITTAYASHWANTHREDDY
?
Cs6503 theory of computation november december 2015 be cse anna university q...
Cs6503 theory of computation november december 2015  be cse anna university q...Cs6503 theory of computation november december 2015  be cse anna university q...
Cs6503 theory of computation november december 2015 be cse anna university q...
appasami
?
Simulated annealing in n - queens
Simulated annealing in n - queensSimulated annealing in n - queens
Simulated annealing in n - queens
Hemant Chetwani
?
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
hamza haseeb
?
Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)
Shuvongkor Barman
?
µÚÒ»½²£ºÐéÄâÓïÆø
µÚÒ»½²£ºÐéÄâÓïÆøµÚÒ»½²£ºÐéÄâÓïÆø
µÚÒ»½²£ºÐéÄâÓïÆø
luciashun
?
Maximum Matching in General Graphs
Maximum Matching in General GraphsMaximum Matching in General Graphs
Maximum Matching in General Graphs
Ahmad Khayyat
?
implementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity pptimplementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity ppt
AntaraBhattacharya12
?
Ch07 1-2-overview graphcoverage
Ch07 1-2-overview graphcoverageCh07 1-2-overview graphcoverage
Ch07 1-2-overview graphcoverage
Rija Hameed
?

Viewers also liked (20)

Process to file Income Tax Return (ITR1) on www.itreturnsonline.com
Process to file Income Tax Return (ITR1) on www.itreturnsonline.comProcess to file Income Tax Return (ITR1) on www.itreturnsonline.com
Process to file Income Tax Return (ITR1) on www.itreturnsonline.com
rollitservices
?
§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í
§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í
§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í
Irina Oshnurova
?
How to Unblock an ePass2003 Token
How to Unblock an ePass2003 TokenHow to Unblock an ePass2003 Token
How to Unblock an ePass2003 Token
Myesign
?
Indian Currency Vs Other Currency
Indian Currency Vs Other CurrencyIndian Currency Vs Other Currency
Indian Currency Vs Other Currency
jubin
?
Z scores lecture chapter 2 and 4
Z scores lecture chapter 2 and 4Z scores lecture chapter 2 and 4
Z scores lecture chapter 2 and 4
Karen Price
?
ÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊ
ÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊ
ÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊ
Beckett Hsieh
?
Chapter 1 Living With Art
Chapter 1 Living With ArtChapter 1 Living With Art
Chapter 1 Living With Art
joannb
?
UNIT 42: EMPLOYABILITY SKILLS
UNIT 42: EMPLOYABILITY SKILLSUNIT 42: EMPLOYABILITY SKILLS
UNIT 42: EMPLOYABILITY SKILLS
Premium Assignment Help
?
Hidden Reality of Muslims Mughals era
Hidden Reality of Muslims Mughals era Hidden Reality of Muslims Mughals era
Hidden Reality of Muslims Mughals era
Tariq Zafar
?
Hj?rnan och nervsystemet
Hj?rnan och nervsystemetHj?rnan och nervsystemet
Hj?rnan och nervsystemet
davidloving
?
Custom molds case study
Custom molds case studyCustom molds case study
Custom molds case study
Laurie Simmonds
?
Nikah marriage shadi ki raat
Nikah marriage shadi ki raatNikah marriage shadi ki raat
Nikah marriage shadi ki raat
MyWritings
?
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows PhoneWinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
Andreas Jakl
?
Sublime text editor 3 ?? ? ??? v1.4
Sublime text editor 3 ?? ? ??? v1.4Sublime text editor 3 ?? ? ??? v1.4
Sublime text editor 3 ?? ? ??? v1.4
Dongyang Mirae University
?
?1? ???? / ???? ? ????
?1? ???? / ???? ? ?????1? ???? / ???? ? ????
?1? ???? / ???? ? ????
Chang-yong Jung
?
Female genitourinary
Female genitourinaryFemale genitourinary
Female genitourinary
Johanna Mae Maramag
?
chess pieces program of cnc lathe .
chess pieces program of cnc lathe .chess pieces program of cnc lathe .
chess pieces program of cnc lathe .
Amit Garg
?
HACCP PLAN - COOKED MEAT-NOT SHELF STABLE
HACCP PLAN - COOKED MEAT-NOT SHELF STABLEHACCP PLAN - COOKED MEAT-NOT SHELF STABLE
HACCP PLAN - COOKED MEAT-NOT SHELF STABLE
Eng. A.karam Al Malkawi
?
Ipmaster1040a config 9.0
Ipmaster1040a config 9.0Ipmaster1040a config 9.0
Ipmaster1040a config 9.0
bgnos
?
??? ???? ???? ???? (1961-79)
??? ???? ???? ???? (1961-79)??? ???? ???? ???? (1961-79)
??? ???? ???? ???? (1961-79)
Philip Cho
?
Process to file Income Tax Return (ITR1) on www.itreturnsonline.com
Process to file Income Tax Return (ITR1) on www.itreturnsonline.comProcess to file Income Tax Return (ITR1) on www.itreturnsonline.com
Process to file Income Tax Return (ITR1) on www.itreturnsonline.com
rollitservices
?
§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í
§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í
§µ§é§Ö§Ò§ß§à§Ö §á§à§ã§à§Ò§Ú§Ö §Õ§Ý§ñ §ß§à§Ó§Ú§é§Ü§à§Ó. §¬§Ý§Ñ§Ó§Ú§ê§Ú §Ü§Ý§Ñ§Ó§Ú§Ñ§ä§å§â§í
Irina Oshnurova
?
How to Unblock an ePass2003 Token
How to Unblock an ePass2003 TokenHow to Unblock an ePass2003 Token
How to Unblock an ePass2003 Token
Myesign
?
Indian Currency Vs Other Currency
Indian Currency Vs Other CurrencyIndian Currency Vs Other Currency
Indian Currency Vs Other Currency
jubin
?
Z scores lecture chapter 2 and 4
Z scores lecture chapter 2 and 4Z scores lecture chapter 2 and 4
Z scores lecture chapter 2 and 4
Karen Price
?
ÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊ
ÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊ
ÍøÂ·ÎÊ¾í¡¢³§±Ê³§³§·ÖÎöÓëÁªºÏ·ÖÎöʵ×÷-ÈþÐÇͳ¼ÆÏĶ÷¹ËÎÊ
Beckett Hsieh
?
Chapter 1 Living With Art
Chapter 1 Living With ArtChapter 1 Living With Art
Chapter 1 Living With Art
joannb
?
Hidden Reality of Muslims Mughals era
Hidden Reality of Muslims Mughals era Hidden Reality of Muslims Mughals era
Hidden Reality of Muslims Mughals era
Tariq Zafar
?
Hj?rnan och nervsystemet
Hj?rnan och nervsystemetHj?rnan och nervsystemet
Hj?rnan och nervsystemet
davidloving
?
Nikah marriage shadi ki raat
Nikah marriage shadi ki raatNikah marriage shadi ki raat
Nikah marriage shadi ki raat
MyWritings
?
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows PhoneWinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
Andreas Jakl
?
chess pieces program of cnc lathe .
chess pieces program of cnc lathe .chess pieces program of cnc lathe .
chess pieces program of cnc lathe .
Amit Garg
?
Ipmaster1040a config 9.0
Ipmaster1040a config 9.0Ipmaster1040a config 9.0
Ipmaster1040a config 9.0
bgnos
?
??? ???? ???? ???? (1961-79)
??? ???? ???? ???? (1961-79)??? ???? ???? ???? (1961-79)
??? ???? ???? ???? (1961-79)
Philip Cho
?

More from ?? ? (20)

???, ??? Program structure 130529
???, ??? Program structure 130529???, ??? Program structure 130529
???, ??? Program structure 130529
?? ?
?
???, ??? ???? ?? 130522
???, ??? ???? ?? 130522???, ??? ???? ?? 130522
???, ??? ???? ?? 130522
?? ?
?
???, ??? Wbs, gant chart 130515
???, ??? Wbs, gant chart 130515???, ??? Wbs, gant chart 130515
???, ??? Wbs, gant chart 130515
?? ?
?
19.??? ???? program homework
19.??? ???? program homework19.??? ???? program homework
19.??? ???? program homework
?? ?
?
17.tigerteam design document
17.tigerteam design document17.tigerteam design document
17.tigerteam design document
?? ?
?
16.h trainer user manual
16.h trainer user manual16.h trainer user manual
16.h trainer user manual
?? ?
?
15.ai term project_final
15.ai term project_final15.ai term project_final
15.ai term project_final
?? ?
?
14.c++ final term
14.c++ final term14.c++ final term
14.c++ final term
?? ?
?
12.dsd dicegame
12.dsd dicegame12.dsd dicegame
12.dsd dicegame
?? ?
?
11.dsd alarmed clock
11.dsd alarmed clock11.dsd alarmed clock
11.dsd alarmed clock
?? ?
?
10.dsd 4 bit-alu
10.dsd 4 bit-alu10.dsd 4 bit-alu
10.dsd 4 bit-alu
?? ?
?
8.login desing serial adder
8.login desing serial adder8.login desing serial adder
8.login desing serial adder
?? ?
?
4. ??? ???? ???
4. ??? ???? ???4. ??? ???? ???
4. ??? ???? ???
?? ?
?
3. ???? ?? ?????? ???
3. ???? ?? ?????? ???3. ???? ?? ?????? ???
3. ???? ?? ?????? ???
?? ?
?
2.?????????
2.?????????2.?????????
2.?????????
?? ?
?
1.c term project report
1.c term project report1.c term project report
1.c term project report
?? ?
?
18.?? final ??
18.?? final ??18.?? final ??
18.?? final ??
?? ?
?
???, ??? ???? ?? 130501
???, ??? ???? ?? 130501???, ??? ???? ?? 130501
???, ??? ???? ?? 130501
?? ?
?
??? ??? ?????-130417
??? ??? ?????-130417??? ??? ?????-130417
??? ??? ?????-130417
?? ?
?
One click recovery_application-??_?_??_??
One click recovery_application-??_?_??_??One click recovery_application-??_?_??_??
One click recovery_application-??_?_??_??
?? ?
?
???, ??? Program structure 130529
???, ??? Program structure 130529???, ??? Program structure 130529
???, ??? Program structure 130529
?? ?
?
???, ??? ???? ?? 130522
???, ??? ???? ?? 130522???, ??? ???? ?? 130522
???, ??? ???? ?? 130522
?? ?
?
???, ??? Wbs, gant chart 130515
???, ??? Wbs, gant chart 130515???, ??? Wbs, gant chart 130515
???, ??? Wbs, gant chart 130515
?? ?
?
19.??? ???? program homework
19.??? ???? program homework19.??? ???? program homework
19.??? ???? program homework
?? ?
?
17.tigerteam design document
17.tigerteam design document17.tigerteam design document
17.tigerteam design document
?? ?
?
16.h trainer user manual
16.h trainer user manual16.h trainer user manual
16.h trainer user manual
?? ?
?
15.ai term project_final
15.ai term project_final15.ai term project_final
15.ai term project_final
?? ?
?
14.c++ final term
14.c++ final term14.c++ final term
14.c++ final term
?? ?
?
12.dsd dicegame
12.dsd dicegame12.dsd dicegame
12.dsd dicegame
?? ?
?
11.dsd alarmed clock
11.dsd alarmed clock11.dsd alarmed clock
11.dsd alarmed clock
?? ?
?
10.dsd 4 bit-alu
10.dsd 4 bit-alu10.dsd 4 bit-alu
10.dsd 4 bit-alu
?? ?
?
8.login desing serial adder
8.login desing serial adder8.login desing serial adder
8.login desing serial adder
?? ?
?
4. ??? ???? ???
4. ??? ???? ???4. ??? ???? ???
4. ??? ???? ???
?? ?
?
3. ???? ?? ?????? ???
3. ???? ?? ?????? ???3. ???? ?? ?????? ???
3. ???? ?? ?????? ???
?? ?
?
2.?????????
2.?????????2.?????????
2.?????????
?? ?
?
1.c term project report
1.c term project report1.c term project report
1.c term project report
?? ?
?
18.?? final ??
18.?? final ??18.?? final ??
18.?? final ??
?? ?
?
???, ??? ???? ?? 130501
???, ??? ???? ?? 130501???, ??? ???? ?? 130501
???, ??? ???? ?? 130501
?? ?
?
??? ??? ?????-130417
??? ??? ?????-130417??? ??? ?????-130417
??? ??? ?????-130417
?? ?
?
One click recovery_application-??_?_??_??
One click recovery_application-??_?_??_??One click recovery_application-??_?_??_??
One click recovery_application-??_?_??_??
?? ?
?

13.dsd ??? ?????_2?? 6?

  • 1. 1 ???: 2011? 12? 2? ????: ? ? ???????? 2?? ?????? ?? ???? ?? ??? 6? 20800577 ? ? ?
  • 2. 2 ?? 1. ??? ??......................................................................................................................................................................................................3 A. ?? ? ???? .................................................................................................................................................................................3 B. ?? ???? ........................................................................................................................................................................................3 C. ???(??) ............................................................................................................................................................................................3 2. Algorithm & Flow Chart..........................................................................................................................................................................4 3. ?? ???......................................................................................................................................................................................................5 A. door_top ...................................................................................................................................................................................................5 B. datapath....................................................................................................................................................................................................6 C. fsm...............................................................................................................................................................................................................7 4. Rusult.................................................................................................................................................................................................................8
  • 3. 3 1. ??? ?? A. ?? ? ???? ??? ???? ?? ? ?? ??? ?? ? Digital Door Lock? ?? ??? ???? ? ??? ???, Verilog? Digital Door Lock? ???? ???. B. ?? ???? i. ???? : 12? 14? ii. NEXYS2 Board ??? ?? ???? ????. iii. ?? Block? Verilog Code? ????. C. ???(??) i. ? ?? ID(00~99)? Password(4??)? ?? ?? ??(open) -> ID ->??(open)-> Password ->??(open) ii. ?? ?? ???? 3? ???? ???? ?? iii. ??? ?? ? ?? ?? ?? ???? ??(?? 1?) iv. ? ?? ?? ?? 5? ?? ???? ?? ???. v. Password setting ??(visit)-> ?? Password ->??(visit)
  • 4. 4 2. Algorithm & Flow Chart ???? (? ??) ? ?? Open ID & Password ?? ?? ??? ??? ??!! 3? ?? ? ? 5? ? 5? ? ??? & ?? ?? ?? Visit Visit Password Setting Set Set Input & Output
  • 5. 5 3. ?? ??? A. door_top datapath ascii[3:0] eq released id0 id_en id1 set_en hr1 pass_in_en hr10 comp_en id_rst set_rst in_rst ce100 fsm open1 pass_in_en set1 set_en visit1 comp_en eq id_en released door thief id_rst set_rst in_rst show_visit clk_div100 ce100 (?? ???) clk_div10 ce10 (?? ???) Pulse open open1 set set1 visit visit1 ce10 (debouncing key) ps2_kbd_top ps2clk ascii ps2data released (ps2 ??? ???) ss_drive id0 id1 hr1 hr10 (segment ???)
  • 6. 6 B. datapath clock ce hour10 hour1 reg-pass (user) In Q0 pass_en Q1 Q2 Q3 reg-pass (reg_in) in out0 set_en out1 out2 out3 reg_id (id_in) in id_0 id_en id_1 comp Q0 eq Q1 Q2 Q3 out0 out1 out2 out3 always@(posedge clk) if(rst==1) begin id0<=0; id1<=0; hr10<=0;hr1<=0; end else if(eq==1) begin id0<=id_0; id1<=id_1; hr10<=hour10; hr1<=hour1; end ??? ??? ??? ID? ???? ?? ?? clock : ?? ?? reg_id : ?? ? ? ?? ?? password? ???? register reg_pass(reg_in) : ?? ? ? ?? ?? password? ???? register reg_pass(user) : password? ???? register comp : ???? ?? password? ???? password? ????? ???
  • 7. 7 C. fsm Close ?? door = 0 id?? ??(1) id_rst = 1 Open ?? door=1 id?? ??(2) id_rst = 0 id_en = 1 password ?? ??(1) in_rst = 1 password ?? ??(2) in_rst = 0 pass_in_en = 1 ?? ?? comp_en = 1 ??? ?? ?? thief = 1 Set ??(1) set_rst = 1 set ??(2) set_rst = 0 set_en = 1 ??? ?? ?? show_visit = 1 open open open visit eq=1 ???=3 5? ? set set 5? ? visit
  • 8. 8 4. Rusult ?? ? latch? ?? ?? ???, ?? ??? ???? ???. ????? ??? ? ?? ?? -> ?? ?? ???? ?? ?? -> ?? ?? ??? ?? ?? -> ?? ?? 3? ??? ?? ?? -> ?? ?? ?? ?? ? 5? ? ?? ?? ?? -> ?? ?? ?? ?? ? 5? ? ?? ?? ?? -> ?? ?? . ¡ñ ?? ???? ??? ? ? ID ?? Password? ?? ? ?? ???? ?? Password? ???. ? ?? ??? VGA? ?? ??. ? ???? board??? ?? ?????. ? ???? ?? 5? ?? ???? ? ?? ??? 1?? ID? ?? ??? ???? ? Password ?? ?? ?? ??? ?? ? Lock ??? ?? ? ?? ??? 3??? 5?? ?? ? ID? ??? ???? ?? ????.