need help immediately
hi! i am in need of help with this project..
i am using digital works..
Draw a circuit with the following entries/exits:
A asynchronous entry of nihilism (RESET) that places the machine in the initial situation (in the Digital Works is connected with interactive input).
Four entries, G1 until G4 (in the Digital Works they are connected with interactive inputs).
Four exits, L1 until L4 (in the Digital Works they are connected with LED of colour blue).
A exit OK (in the Digital Works is connected with LED of colour of green).
A exit ERROR (in the Digital Works is connected with LED of colour red). The operation of circuit follows the following rules:
In conditions of regular operation, only one of exits L1 until L4 is turned on each moment while remainder are closed. In each beat of clock "turns on" the next exit, that is to say first turns on the L1, afterwards the L2, afterwards the L3, afterwards the L4, afterwards again the L1, etc. Is the frequency of clock 5 Hz.
The forecast becomes when we step a button of entry, which gives price 1 in a entry Ground. If we forecasted rightly, if that is to say we selected the entry that corresponds in the exit Li that was turned on before the beat of clock, then turns on exit OK. If we forecasted error, then turns on exit ERROR.
Afterwards the forecast the game stops and exits (L1-L4, OK, ERROR) maintain their price for the next beats of clock until the entry Ground retakes price 0. Then the game restarts: turns on exit L1 and extinguishes the OK and ERROR.
Materialise the circuit with flip-flops type D using 2 different codings: 1. Binary coding (binary encoding)
2. Coding active (ONE-HOT encoding).
sorry for bad english...
thanks in advance
hi! i am in need of help with this project..
i am using digital works..
Draw a circuit with the following entries/exits:
A asynchronous entry of nihilism (RESET) that places the machine in the initial situation (in the Digital Works is connected with interactive input).
Four entries, G1 until G4 (in the Digital Works they are connected with interactive inputs).
Four exits, L1 until L4 (in the Digital Works they are connected with LED of colour blue).
A exit OK (in the Digital Works is connected with LED of colour of green).
A exit ERROR (in the Digital Works is connected with LED of colour red). The operation of circuit follows the following rules:
In conditions of regular operation, only one of exits L1 until L4 is turned on each moment while remainder are closed. In each beat of clock "turns on" the next exit, that is to say first turns on the L1, afterwards the L2, afterwards the L3, afterwards the L4, afterwards again the L1, etc. Is the frequency of clock 5 Hz.
The forecast becomes when we step a button of entry, which gives price 1 in a entry Ground. If we forecasted rightly, if that is to say we selected the entry that corresponds in the exit Li that was turned on before the beat of clock, then turns on exit OK. If we forecasted error, then turns on exit ERROR.
Afterwards the forecast the game stops and exits (L1-L4, OK, ERROR) maintain their price for the next beats of clock until the entry Ground retakes price 0. Then the game restarts: turns on exit L1 and extinguishes the OK and ERROR.
Materialise the circuit with flip-flops type D using 2 different codings: 1. Binary coding (binary encoding)
2. Coding active (ONE-HOT encoding).
sorry for bad english...
thanks in advance