mirror of
https://github.com/MPSU/APS.git
synced 2025-09-15 17:20:10 +00:00
ЛР15. Исправление опечаток в листингах
This commit is contained in:
committed by
GitHub
parent
f483e4d255
commit
5797bf3190
@@ -79,7 +79,7 @@ module turnstile_fsm(
|
|||||||
input logic push,
|
input logic push,
|
||||||
input logic coin,
|
input logic coin,
|
||||||
output logic is_locked
|
output logic is_locked
|
||||||
)
|
);
|
||||||
|
|
||||||
enum logic {LOCKED=1, UNLOCKED=0} state;
|
enum logic {LOCKED=1, UNLOCKED=0} state;
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ module turnstile_fsm(
|
|||||||
input logic coin,
|
input logic coin,
|
||||||
output logic is_locked,
|
output logic is_locked,
|
||||||
output logic green_light
|
output logic green_light
|
||||||
)
|
);
|
||||||
|
|
||||||
enum logic {LOCKED=1, UNLOCKED=0} state;
|
enum logic {LOCKED=1, UNLOCKED=0} state;
|
||||||
|
|
||||||
@@ -162,7 +162,7 @@ module turnstile_fsm(
|
|||||||
input logic coin,
|
input logic coin,
|
||||||
output logic is_locked,
|
output logic is_locked,
|
||||||
output logic green_light
|
output logic green_light
|
||||||
)
|
);
|
||||||
|
|
||||||
enum logic {LOCKED=1, UNLOCKED=0} state, next_state;
|
enum logic {LOCKED=1, UNLOCKED=0} state, next_state;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user