목차
없음
본문내용
고급커피를 선택시
coffin <="0010";--고급커피 출력
restoration<="0000";--반환된 것이 없음을 표시
sig <= "1101101";--세그먼트 2을 표시
elsif citron='1' then--유자차 선택시
coffin <="0100";--유자차 출력
restoration<="0000";--반환된 것이 없음을 표시
sig <= "0110000";--세그먼트 1을 표시
elsif butter='1' then--땅콩차 선택시
coffin<="1000";--땅콩차 출력
restoration<="0000";--반환된 것이 없음을 표시
sig <= "1111110";--세그먼트 0을 표시
end if;
if return1='1' then--반환버튼 선택시
coffin<="0000";-선택된 음료가 없을을 표시
sig <= "1111110";--세그먼트 0을 표시
restoration<="0010";--반환된 것으로 표시
end if;
end case;
end process;
end test;
★핀번호
Signal Name
In/Out
Pin
연결소자
milk
Input
115
Button SW 1
coffee
Input
114
Button SW 2
citron
Input
113
Button SW 3
butter
Input
112
Button SW 4
return1
Input
104
Button SW 6
clk
Input
79
Main Clock
coin
Input
111
Button SW 5
sig0
Output
167
7 Segment Array G
sig1
Output
168
7 Segment Array F
sig2
Output
169
7 Segment Array E
sig3
Output
170
7 Segment Array D
sig4
Output
172
7 Segment Array C
sig5
Output
173
7 Segment Array B
sig6
Output
174
7 Segment Array A
coffin0
Output
187
LED4
coffin1
Output
189
LED3
coffin2
Output
190
LED2
coffin3
Output
191
LED1
restoration0
Output
175
LED8
restoration1
Output
176
LED7
restoration2
Output
177
LED6
restoration3
Output
179
LED5
coffin <="0010";--고급커피 출력
restoration<="0000";--반환된 것이 없음을 표시
sig <= "1101101";--세그먼트 2을 표시
elsif citron='1' then--유자차 선택시
coffin <="0100";--유자차 출력
restoration<="0000";--반환된 것이 없음을 표시
sig <= "0110000";--세그먼트 1을 표시
elsif butter='1' then--땅콩차 선택시
coffin<="1000";--땅콩차 출력
restoration<="0000";--반환된 것이 없음을 표시
sig <= "1111110";--세그먼트 0을 표시
end if;
if return1='1' then--반환버튼 선택시
coffin<="0000";-선택된 음료가 없을을 표시
sig <= "1111110";--세그먼트 0을 표시
restoration<="0010";--반환된 것으로 표시
end if;
end case;
end process;
end test;
★핀번호
Signal Name
In/Out
Pin
연결소자
milk
Input
115
Button SW 1
coffee
Input
114
Button SW 2
citron
Input
113
Button SW 3
butter
Input
112
Button SW 4
return1
Input
104
Button SW 6
clk
Input
79
Main Clock
coin
Input
111
Button SW 5
sig0
Output
167
7 Segment Array G
sig1
Output
168
7 Segment Array F
sig2
Output
169
7 Segment Array E
sig3
Output
170
7 Segment Array D
sig4
Output
172
7 Segment Array C
sig5
Output
173
7 Segment Array B
sig6
Output
174
7 Segment Array A
coffin0
Output
187
LED4
coffin1
Output
189
LED3
coffin2
Output
190
LED2
coffin3
Output
191
LED1
restoration0
Output
175
LED8
restoration1
Output
176
LED7
restoration2
Output
177
LED6
restoration3
Output
179
LED5
소개글