![]() ![]() My thought is that the excess use of “if-else” statement within a switch statement may be the cause of the problems, but I can’t figure it out at this moment. Additional money after st50 does not get returned, it stays on the FSM. After refund has been issued, the FSM does not return to st0 and the refund outputs stay on.ģ. RST (reset) doesn’t reset the FSM to st0.Ģ. Here is the list of the problems I recognized:ġ. The code does not have any syntactical error, but it is not doing what I desire. I will try to make some helpful comments. I will have my code in a text document file and some screenshots in this Word file. The FSM then return st50 and await the user’s next action. Once 50 cents is reached, any additional money that the machine collects will be automatically return. Once 50 cents is reach, the user has the option to buy the candy and the FSM must return to st0 after.Ĥ. Once the refund has been issued, the FSM must return to st0.ģ. ![]() The vending machine must have the “refund” feature at any point of the finite state machine.Ģ. St0 being no money is remained, all the way to st100 being 1 dollar is remained.ġ. I am using the finite state machine (FSM) to keep track of the amount of money that remains and execute according actions depends on what the user does subsequently. The integrated schematic entry and simulation software was designed specifically for educational. Once 50 cents are collected, the user would press an “OK” button and the machine would give out the candy. LogicWorks teaches the concepts of digital electronic circuits. Each item is 50 cents and the machine accepts nickels, dimes and quarters. ![]() Perform Test Moves and Execute Sequences6. Create a pre-defined Sequence of Motion Steps4. Set User Units, Positioning Mode and Servopack Options3. Basically I want simulate a vending machine that sells candies. LogicWorks is a simple configuration and testing utility for SigmaLogic Controllers. Thank you all.ĭescription: It is a relative simple project in terms functionality. I am very unfamiliar with VHDL and my team members, teacher and TA have not been able to help. This is my final project of a Digital System course. Vending Machine Controller-using VHDL and Logicworks 5 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |