data/full_repos/permissive/210844779/lab1/1.4/sr_nand.v
1: b"%Error: data/full_repos/permissive/210844779/lab1/1.4/sr_nand.v:8: Cannot find file containing module: 'mux2x1'\nmux2x1 u0(.I({1'b1,temp0}),.S(Pre),.Y(temp4));\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/210844779/lab1/1.4,data/full_repos/permissive/210844779/mux2x1\n             data/full_repos/permissive/210844779/lab1/1.4,data/full_repos/permissive/210844779/mux2x1.v\n             data/full_repos/permissive/210844779/lab1/1.4,data/full_repos/permissive/210844779/mux2x1.sv\n             mux2x1\n             mux2x1.v\n             mux2x1.sv\n             obj_dir/mux2x1\n             obj_dir/mux2x1.v\n             obj_dir/mux2x1.sv\n%Error: data/full_repos/permissive/210844779/lab1/1.4/sr_nand.v:9: Cannot find file containing module: 'mux2x1'\nmux2x1 u1(.I({1'b0,temp4}),.S(Rst),.Y(temp5));\n^~~~~~\n%Error: data/full_repos/permissive/210844779/lab1/1.4/sr_nand.v:10: Cannot find file containing module: 'mux2x1'\nmux2x1 u2(.I({1'b0,temp1}),.S(Pre),.Y(temp6));\n^~~~~~\n%Error: data/full_repos/permissive/210844779/lab1/1.4/sr_nand.v:11: Cannot find file containing module: 'mux2x1'\nmux2x1 u3(.I({1'b1,temp6}),.S(Rst),.Y(temp7));\n^~~~~~\n%Error: Exiting due to 4 error(s)\n"
module sr_nand(S,R,En,Pre,Rst,Q,not_Q);

input S,R,En,Pre,Rst;
output Q,not_Q;

wire temp0,temp1,temp2,temp3,temp4,temp5,temp6,temp7;

mux2x1 u0(.I({1'b1,temp0}),.S(Pre),.Y(temp4));
mux2x1 u1(.I({1'b0,temp4}),.S(Rst),.Y(temp5));
mux2x1 u2(.I({1'b0,temp1}),.S(Pre),.Y(temp6));
mux2x1 u3(.I({1'b1,temp6}),.S(Rst),.Y(temp7));

nand u4(temp0,temp7,temp2);
nand u5(temp1,temp5,temp3);

nand u6(temp2,S,En);
nand u7(temp3,R,En);

assign Q= temp5;
assign not_Q= temp7;

endmodule
module sr_nand(S,R,En,Pre,Rst,Q,not_Q);


input S,R,En,Pre,Rst;
output Q,not_Q;

wire temp0,temp1,temp2,temp3,temp4,temp5,temp6,temp7;

mux2x1 u0(.I({1'b1,temp0}),.S(Pre),.Y(temp4));
mux2x1 u1(.I({1'b0,temp4}),.S(Rst),.Y(temp5));
mux2x1 u2(.I({1'b0,temp1}),.S(Pre),.Y(temp6));
mux2x1 u3(.I({1'b1,temp6}),.S(Rst),.Y(temp7));

nand u4(temp0,temp7,temp2);
nand u5(temp1,temp5,temp3);

nand u6(temp2,S,En);
nand u7(temp3,R,En);

assign Q= temp5;
assign not_Q= temp7;

endmodule