Which of the following modes of ventilatory support would re…

Questions

Which оf the fоllоwing modes of ventilаtory support would result in the highest meаn аirway pressure?

Dоwnlоаd the prоvided document Exаm #1. /content/enforced/622788-S_RRCC_MAT1240X81_202710/MAT1240 exаm %231 online (1).pdf Answer each question on your own paper. In order to get all the points you must show your detailed steps in your written paper. Upload a PDF of your written work using  "Add File" button below. Thanks

In this prоblem yоu will write multiplexer mоdules in Verilog or System Verilog. Write your code with good orgаnizаtion so thаt it compiles, simulates, and synthesizes without errors or warnings. If you have blocks indent them for full credit. Your answer must be complete and clear and with no compile, simulation, or synthesis errors or warnings. Declare all variables. If you use System Verilog clearly state you are using it for credit. Your code should be efficient, succinct (about the minimum number of lines). Do not use compiler directives, and if you don't know how to do that don't worry about it. Make sure your code avoids an inferred latch. a) First write Verilog or System Verilog code for a 2:1 multiplexer module where inputs A and B and output Z are 3 bits wide arrays. Select bit S is 1 bit and when it is 1'b1 Z = A, otherwise it is B. Note: there is a reference 1 bit MUX in cheat sheet. To implement this functionality use always and if statements. Within these constraints and our coding standard use the minimum number of lines. b) Now write Verilog or System Verilog code for a 4:1 multiplexer module using a case statement approach. Inputs are A,B,C,D and output is F and they are 3 bit wide arrays as before. Select is named S and is 2 bit wide array. F = A when the S = 2'b00, F = B when S = 2'b01, F = C when S = 2'b10 and F = D when S = 2'b11. Initialize F to zero and default to undefined using constants with the same number of bits. Use good code organization. Within these constraints and our coding standard use the minimum number of lines.