Sr. No.
|
Name of the Pin
|
Direction
|
Width
|
Description
|
1
|
Nw_pa
|
Output
|
1
|
News Paper Signal
|
2
|
Coin
|
Input
|
2
|
Only two Coins,
5 =2’b01 10 =2’b10 0 =2’b00 |
3
|
Clk
|
Input
|
1
|
Clock Signal
|
4
|
Rst
|
Input
|
1
|
Reset Signal
|
In this wending machine, it accepts only two coins, 5 point and 10 point. Whenever total of coins equal to 15 points, then nw_pa signal will go high and user will get news paper. It will not return any coin, if total of points exceeds 15 points.