The codes are shown below just edit them to Find fa1bv fa5bv


The codes are shown below, just edit them to Find:
fa1b.v
fa5b.v
mul2b.v
lut.v

Solution

for fa1b:

assign s=(a^b)^c;

assign cout=(a & b)|(a &c)|(b&c);

for two bit Multiplier:

wire a,b,c,d;

and a1(out[0],in1[0],in2[0]);

and a2(a,in1[1],in2[0]);

and a3(b,in[0],in2[1]);

and a4(c,in[1],in2[1]);

fa1b fa1(a,b,\'0\',out[1],d);

fa1b fa2(c,d,\'0\',out[2],out[3]);

For LUT ineed a Table to solve

 The codes are shown below, just edit them to Find: fa1b.v fa5b.v mul2b.v lut.vSolutionfor fa1b: assign s=(a^b)^c; assign cout=(a & b)|(a &c)|(b&c);

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site