Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Before a car engine can be Cranked, to start it, the following conditions have t

ID: 1970815 • Letter: B

Question

Before a car engine can be Cranked, to start it, the following conditions have to exist for a continuous duration of at least 50 ms: The engine must not be Running, the key must be in the Start position, and either the gear lever is in the Neutral position and the Brake is on or the gear lever is in the Park position. If any of the conditions isn’t met the timer restarts (from 0). Assign variable names (single capitals indicated) and their true states. Write Verilog code for the Crank signal. Assume that a 200 Hz clock signal is available.

Explanation / Answer

LIBRARY ieee; USE ieee.std_logic_1164.ALL; ENTITY clk200Hz_tb IS END clk200Hz_tb; ARCHITECTURE behavior OF clk200Hz_tb IS COMPONENT clk200Hz PORT( clk_in : IN std_logic; reset : IN std_logic; clk_out: OUT std_logic ); END COMPONENT; -- Inputs signal clk_in : std_logic := '0'; signal reset : std_logic := '0'; -- Outputs signal clk_out : std_logic; constant clk_in_t : time := 50ms; BEGIN -- Instance of unit under test. uut: clk200Hz PORT MAP ( clk_in => clk_in, reset => reset, clk_out => clk_out ); -- Clock definition. entrada_process :process begin clk_in
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote