Question: module top ( input A , input B , input C , output reg F ) ; always @ * begin / / Concatenate inputs
module top
input A
input B
input C
output reg F
;
always @ begin
Concatenate inputs to form a bit binary number
reg : concatABC;
concatABC A B C;
Check if the binary number is divisible by
if concatABC begin
F ; Output is true if divisible by
end else begin
F ; Output is false otherwise
end
end
endmodule
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
