preview

Nt1310 Unit 8 Assignment 2

Decent Essays

and the second path is where ten is added to the value of the entrance and then the subtraction occurs. On the side you can see a series of logic gates that generate a function that will produce an output of 1 only when digit 1 of the exit is bigger than that of the entrance. This output will be sent to two different multiplexers, one for each digit. In the digit 1 diagram it will be sent to a multiplexer that will decide whether to use the subtraction where the entrance has been increased by 10 or whether to use the other where the entrance has had no alteration. If it is a 1, then it will use the first option where ten was added to the entrance. If it is a zero, then the latter will be used. This can be seen below in figure 2. Figure 2 In digit 2 we have a similar circuit, where the subtraction for the entrance minus the exit occurs. However in this one we have another multiplexer that has another two options. On one option we have where the subtraction occurs alone. On the other option we have where the subtraction of the entrance minus the exit minus 1. The reason that we have this minus one is to account for if digit 1 needed to borrow from digit 2. The selector bit for this multiplexer is also again controlled by the output of the function that determines if digit 1 of the exit is bigger …show more content…

Automatic counting of people is also very important for both business and security applications [10].This paper proposes a system able to detect and people using a photoelectric sensor/counter in an controlled area. This project focuses on designing an effective counter using IR as a sensing element that is capable of counting from 0 to 99 or higher if needed. Although mostly developed for the manufacturing industry, the project employs methods that can prove particularly effective when determining the amount of people in an

Get Access