It complains Input   and Input  is never used .The output is just displaying the concatenation of  a[3] and b[3].

a = 1001

b = 1100

module stone(a,b,rslt);

input [3:0] a,b;

output reg [0:1] rslt;

integer i;

always @(a,b)

begin

for (i = 0; i

Similar questions and discussions