Hi everyone. I need help. Actually this is one of my homework assignment. It says we need to design a traffic light controller using both software and hardware language. I am not here looking for solution. I guess I can ask the problem here. Actually, the assignment does not restrict us any thing about design a traffic light controller. We need first to design in software then write in a hardware one. My question is that I don't know how to define a proper input
and output so that I can show it is real a traffic light simulator.
Because I need to implement both in SW and HW. I think I should define before I start to code. The spec or functionality is all free. I can design as it function like a traffic light simulator.
Somehow, based on my limited skill and programming experience. This kind of spec let me really confused. There is a hint of assignment: It says I can draw a block diagram for the traffic light first and determine the message flow between each block. That will make HW implement easier... My question is this kind of spec somehow seems "abstract" for me. I don't know how
I should let the simulator looks light a traffic light. If I am not able to implement in GUI, how should I define the input/output of this question? If anyone who's also familiar with hardware language, please tell me what kinds of I/O I can deal with this kind of problem?