Question

An automobile controller receives several sensor inputs from various engine systems. Four of the sensors are:...

An automobile controller receives several sensor inputs from various engine systems. Four of the sensors are: Coolant Temperature (CT) that outputs a “1” when the coolant temperature exceeds 200 degrees; Coolant Low (CL) that outputs a “1” when the coolant level falls below 60% of capacity; Oil Temperature (OT) that outputs a “1” when the oil temperature exceeds 180 degrees, and Oil Low (OL) that outputs a “1” when the oil level falls below 75% capacity. Design and implement a warning light system that: 1) illuminates a yellow light whenever the Coolant or Oil levels are low by themselves, or when the Oil Temperature is too high and the Oil Level is OK, or when the Coolant Temperature is too high and the Oil Level to too low; and 2) illuminates a Red light (in the same LED package) whenever the Coolant temperature is too high and the Coolant level is too low, or when the Oil Temperature is too high and the Oil Level is too low, or when the Coolant and Oil Temperatures are too high at the same time, or when the Coolant and Oil levels are too low at the same time the Coolant Temperature is too high and the Oil Level is OK.

Create a Verilog description of a circuit that meets these requirements, and implement the circuit on your Blackboard. Use four slide switches for the sensor inputs and a single 3-color LED for outputs.

Homework Answers

Answer #1

// Four sensor of automobile

// sensor 1 CT = 1 : coolant Temp>200

// sensor 2 CL = 1: coolant Capacity <60%

// sensor 3 OT = 1: Oil Temp > 180

// sensor 4 OL = 1: Oil capacity < 75%

module automobile controller (ct,cl,ot,ol,red,yellow);

input ct,cl,ot,ol;

output reg red, yellow;

always @(*)

begin

if (cl == 1 || ol == 1 || (ot == 1 && ol == 0) || (ct == 1 && ol == 1) )

yellow = 1;

else yellow = 0;

if ((cl==1 && cl==1 ) || (ot == 1 && ol == 1) || (ct == 1 && ot == 1) || (cl == 1 && ol == 1) || (ct== 1 && ol ==0))

red = 1;

else red =0;

end

endmodule

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
digital logic A digital circuit consists of four inputs and two outputs. One of the outputs...
digital logic A digital circuit consists of four inputs and two outputs. One of the outputs takes the value logical one "only when there is a majority of inputs to one". The other output is activated only if there is equal number of inputs to one "than to zero". a) Write the truth table. b) Draw the necessary digital circuit with logic gates. ----------------------------------------------------------------------------- A drip irrigation system has three sensors that measure different physical parameters. A Sensor H measures...
31.   An increase in government spending of $200 million financed by a new tax of $200...
31.   An increase in government spending of $200 million financed by a new tax of $200 million in an economy with a marginal propensity to consume of .90 could result in an increase in nominal GDP (assuming a closed economy with no taxes or leakages) of up to how much? (a) $0; (b) $2,000 million; (c) $180 million; (d) $200 million. 32.   One important consequence of widened income and wealth disparities is a: (a) higher rate of inflation than would...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
read Seasons of Love chapter:measuring a child's life after suicide. please answer the questions : reflect...
read Seasons of Love chapter:measuring a child's life after suicide. please answer the questions : reflect on what happens to the families when there is a suicide in the family, based on the Seasons of Love chapter...how should people be told? What details are best left unshared? below is the story These theories may have a certain face-validity, but they often neglect environmental or contextual factors that are innate to answering the question of “why” a person might engage in...
Assignment: What are the main arguments in the article? Please answer within 5 hours. It is...
Assignment: What are the main arguments in the article? Please answer within 5 hours. It is extremely urgent!!!!!!!!!!!!!!!!!!!!!!!! --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- BIOETHICS. Bioethics as a field is relatively new, emerging only in the late 1960s, though many of the questions it addresses are as old as medicine itself. When Hippocrates wrote his now famous dictum Primum non nocere (First, do no harm), he was grappling with one of the core issues still facing human medicine, namely, the role and duty of the...
What topics are covered in the following article? Please answer within 5 hours. It is extremely...
What topics are covered in the following article? Please answer within 5 hours. It is extremely urgent!!!!!!!!!!!!!!!!!!!!!!!! --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- BIOETHICS. Bioethics as a field is relatively new, emerging only in the late 1960s, though many of the questions it addresses are as old as medicine itself. When Hippocrates wrote his now famous dictum Primum non nocere (First, do no harm), he was grappling with one of the core issues still facing human medicine, namely, the role and duty of the physician....
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Discuss ethical issues that can be identified in this case and the mode of managing ethics...
Discuss ethical issues that can be identified in this case and the mode of managing ethics Enron finds itself in this case. How would you describe the ethical culture and levels of trust at Enron? Provide reasons for your assessment. THE FALL OF ENRON: A STAKEHOLDER FAILURE Once upon a time, there was a gleaming headquarters office tower in Houston, with a giant tilted "£"' in front, slowly revolving in the Texas sun. The Enron Corporation, which once ranked among...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT