Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can anyone able to help me with this Lab please. Coded for SystemVerilog tBirdTaillightTop.sv taillight.sv FILL lN THE COMMENTED LINES BELOW TO FINISH THE tBirdTaillightTop
Can anyone able to help me with this Lab please. Coded for SystemVerilog
tBirdTaillightTop.sv
taillight.sv
FILL lN THE COMMENTED LINES BELOW TO FINISH THE tBirdTaillightTop and taillight module.
tBirdTaillightTop slowClock taillight clk clk clk clk 1Hz led[15] l led[14] clk 1Hz clk Jeft LEDs reset slowClockInstance reset turnSignal[2:0] brake 15] |Jed [13] turnSignal btnU leftTaillight btnU 10'b0 led [12:3] taillight [21 1ed[2] rightLEDs [11edr1 btnC btnC clk reset turnsignal[2:0] brake SW[15:0] sw[ 15:0] turnSignal led[0] rightTaillight module tBirdTaillightTop ( input logic clk, input loaic [15:01 sw, input logic btnc, input logic btnU, output logic [15:0] led logic clk 1Hz; logic [2:0] leftLEDs; // declare a three-bit logic bus called rightLEDs (similar to leftLEDs) slowClock slowClockInstance ( .ck(k) , . re set (btnU) , .clk 1H2.(clk 1Hz) ) ; taillight leftTaillight( .glk(glk 1Hz), .reset(btnU), .brake (btnc), .turnSignal (sw[15]), .taillights(leftLEDs)); // instantiate the rightTaillight, similar to the leftTaillight above assign led[15:13] - fleftLEDs [0], leftLEDs [1], leftLEDs [ 2]; assign led [ 12:31 = 10 'b00000 00000; // assign led 2:01 to rightLEDs, similar to led 15:131 above endmodule tBirdTaillightTop slowClock taillight clk clk clk clk 1Hz led[15] l led[14] clk 1Hz clk Jeft LEDs reset slowClockInstance reset turnSignal[2:0] brake 15] |Jed [13] turnSignal btnU leftTaillight btnU 10'b0 led [12:3] taillight [21 1ed[2] rightLEDs [11edr1 btnC btnC clk reset turnsignal[2:0] brake SW[15:0] sw[ 15:0] turnSignal led[0] rightTaillight module tBirdTaillightTop ( input logic clk, input loaic [15:01 sw, input logic btnc, input logic btnU, output logic [15:0] led logic clk 1Hz; logic [2:0] leftLEDs; // declare a three-bit logic bus called rightLEDs (similar to leftLEDs) slowClock slowClockInstance ( .ck(k) , . re set (btnU) , .clk 1H2.(clk 1Hz) ) ; taillight leftTaillight( .glk(glk 1Hz), .reset(btnU), .brake (btnc), .turnSignal (sw[15]), .taillights(leftLEDs)); // instantiate the rightTaillight, similar to the leftTaillight above assign led[15:13] - fleftLEDs [0], leftLEDs [1], leftLEDs [ 2]; assign led [ 12:31 = 10 'b00000 00000; // assign led 2:01 to rightLEDs, similar to led 15:131 above endmoduleStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started