|
I hv been using this code for 1 bit register but I am getting comparison failure ,
Kindly suggest me what should I change or Improve.
Mux (a=in, b=true, sel=false, out=out1mux);
DFF( in=out1mux, out=out1dff);
Mux( a=out1dff, b=in, sel=load, out=out2mux);
DFF( in=out2mux, out=out2dff);
Mux( a=out2dff, b=in, sel=load, out=out3mux);
DFF( in=out3mux, out=out);
Same problem comes if I remove last set of Mux and DFF chips and modify pins.
|