Complete the code to declare an 8-bit wide bus named data.
wire [1] data;In Verilog, to declare an 8-bit bus, you use [7:0] before the signal name.
Complete the code to declare a 16-bit register bus named address.
reg [1] address;The correct way to declare a 16-bit register bus is reg [15:0] address;.
Fix the error in the bus declaration for a 4-bit wire named control.
wire [1] control;The correct 4-bit bus declaration uses [3:0] to specify bits 3 down to 0.
Complete the code to declare a 12-bit wide register bus named data_bus.
reg [1] data_bus ;The correct declaration is reg [11:0] data_bus;. The semicolon is already in the code, so the second blank is empty.
Fill both blanks to declare a 10-bit wide wire bus named input_signal and assign it to zero.
wire [1] input_signal = [2];
The correct declaration is wire [9:0] input_signal = 10'b0;. The second blank is empty because no extra syntax is needed between the variable name and assignment.
