Hi Thomas,
first of all thank's for the fast reply.
i don't know also why he want such a traffic light.
about your program...
i don't need to initialize an entity at all?
You always need an entity. Don't expect me to write basics down for
you. The code from me is not even syntactically correct.
You asked for a program, and I gave you one. It will do what is needed
include looping infinite, but you cannot expect this to be simple
converted into real hardware.
To get real hardware you would need first to learn the difference
between a program (software) and a circuit (hardware). If you don't
know these differences, and understand why there is a reason to have
both possibilities in VHDL you will have a hard time till you have
your first own circuit running.
If you think about a circuit, you need to think about hardware
representations for time, lightbulbs, and so one. But why would this
circuit traffic light have some inputs called "go_green"?
This is a question to be answered by the guy who invents the system.
If you like me to invent your system, you should be able to pay me.
Else it will be your task.
and what about a clk, i don't need to use one for geting a real seconds?
Yes you will need a source that allows you to tell, when a second has
passed. This can be a (precise) clock for your design, or an cyclic
pulse that is not used as clock in your design, but represents a clock
on system level.
bye Thomas