IO System - Non-Synthesizable Verilog Model - Engineering Assignment Help

Download Solution Order New Solution
Internal Code: 3AJBJ

Engineering Assignment Help

Task: In Practical 1 you designed an FSM to maintain a carpark occupancy count. Recall that the FSM was monitoring activity of cars using two sensors, as pictured in Figure 1 below. The desired behaviour for this module was that the count would increase upon observation of a sensor sequence matching a car entering the carpark (sensor input ab = “00” ? “10” ? “11” ? “01”? ”00”), and decrease upon observation of a sensor sequence matching a car exiting the carpark (sensor input ab = “00” ? “01” ? “11” ? “10” ? ”00”). The carpark maximum occupancy was 15 vehicles. Need the code and FSM diagram for this question as well. For Practical 2, you must now develop a self-checking testbench that will instantiate the top-level of this FSM. Your testbench should use the same structure as in the Comprehensive Testbench example in the Chu book (see Figure 2). Engineering Engineering Your testbench should efficiently generate a stimulus using tasks or functions as appropriate to create test sequences. Code should be easily readable with clear intent. The testbench should include a monitor module that models the desired FSM behaviour and reports errors between expected output and the DUT output. Your testbench’s error checking should be entirely automated and should produce a log file that reports pass/fail results. Refer to Chu book section 7.5.10 and view the Comprehensive Testbench example on Blackboard for further information on the intended structure of this testbench. Instructions
  1. Create modules for a top-level testbench, a stimulus generator to drive all inputs of the FSM and a monitor to receive FSM inputs and outputs and produce pass/fail results.
  2. Instantiate your DUT, stimulus generator and monitor modules in your top-level testbench. Connect the stimulus and DUT output in a similar manner to Figure 2.
  3. Complete the Verilog code for your stimulus generator and monitor blocks.
  4. Introduce errors into your FSM and report how your testbench reacts to them.
This Engineering Assignment has been solved by our Engineering experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.