data/full_repos/permissive/446997925/hw3/comparator.v
1: b'%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:15: Signal definition not found, creating implicitly: \'and1\'\nand a1(and1, a, b_not);\n       ^~~~\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:16: Signal definition not found, creating implicitly: \'or1\'\nand a2(or1, and1, in_eq);\n       ^~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:20: Signal definition not found, creating implicitly: \'and2\'\n                                                                           : ... Suggested alternative: \'and1\'\nand a3(and2, a_not, b);\n       ^~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:21: Signal definition not found, creating implicitly: \'or2\'\n                                                                           : ... Suggested alternative: \'or1\'\nand a4(or2, and2, in_eq);\n       ^~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:25: Signal definition not found, creating implicitly: \'and3\'\n                                                                           : ... Suggested alternative: \'and1\'\nxnor x1(and3,a,b);\n        ^~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:35: Signal definition not found, creating implicitly: \'pre_out_gt\'\n                                                                           : ... Suggested alternative: \'out_gt\'\ncomparator_1bit f(a[1], b[1], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                   ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:35: Signal definition not found, creating implicitly: \'pre_out_lt\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_1bit f(a[1], b[1], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                               ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:35: Signal definition not found, creating implicitly: \'pre_out_eq\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_1bit f(a[1], b[1], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                           ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:44: Signal definition not found, creating implicitly: \'pre_out_gt\'\n                                                                           : ... Suggested alternative: \'out_gt\'\ncomparator_2bit f(a[1:0], b[1:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                       ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:44: Signal definition not found, creating implicitly: \'pre_out_lt\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_2bit f(a[1:0], b[1:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                   ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:44: Signal definition not found, creating implicitly: \'pre_out_eq\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_2bit f(a[1:0], b[1:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                               ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:53: Signal definition not found, creating implicitly: \'pre_out_gt\'\n                                                                           : ... Suggested alternative: \'out_gt\'\ncomparator_4bit f(a[3:0], b[3:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                       ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:53: Signal definition not found, creating implicitly: \'pre_out_lt\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_4bit f(a[3:0], b[3:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                   ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:53: Signal definition not found, creating implicitly: \'pre_out_eq\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_4bit f(a[3:0], b[3:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                               ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:62: Signal definition not found, creating implicitly: \'pre_out_gt\'\n                                                                           : ... Suggested alternative: \'out_gt\'\ncomparator_8bit f(a[7:0], b[7:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                       ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:62: Signal definition not found, creating implicitly: \'pre_out_lt\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_8bit f(a[7:0], b[7:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                   ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:62: Signal definition not found, creating implicitly: \'pre_out_eq\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_8bit f(a[7:0], b[7:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                               ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:71: Signal definition not found, creating implicitly: \'pre_out_gt\'\n                                                                           : ... Suggested alternative: \'out_gt\'\ncomparator_16bit f(a[15:0], b[15:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                          ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:71: Signal definition not found, creating implicitly: \'pre_out_lt\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_16bit f(a[15:0], b[15:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                      ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:71: Signal definition not found, creating implicitly: \'pre_out_eq\'\n                                                                           : ... Suggested alternative: \'pre_out_gt\'\ncomparator_16bit f(a[15:0], b[15:0], in_gt, in_lt, in_eq, pre_out_gt, pre_out_lt, pre_out_eq),\n                                                                                  ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:98: Signal definition not found, creating implicitly: \'gt_m\'\ncomparator c(a, b, gt_m, lt_m, out_eq);\n                   ^~~~\n%Warning-IMPLICIT: data/full_repos/permissive/446997925/hw3/comparator.v:98: Signal definition not found, creating implicitly: \'lt_m\'\n                                                                           : ... Suggested alternative: \'gt_m\'\ncomparator c(a, b, gt_m, lt_m, out_eq);\n                         ^~~~\n%Error: data/full_repos/permissive/446997925/hw3/comparator.v:100: Cannot find file containing module: \'mux_2_to_1\'\nmux_2_to_1 mux1(gt_m, b_s, sel, out_gt);\n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/446997925/hw3,data/full_repos/permissive/446997925/mux_2_to_1\n             data/full_repos/permissive/446997925/hw3,data/full_repos/permissive/446997925/mux_2_to_1.v\n             data/full_repos/permissive/446997925/hw3,data/full_repos/permissive/446997925/mux_2_to_1.sv\n             mux_2_to_1\n             mux_2_to_1.v\n             mux_2_to_1.sv\n             obj_dir/mux_2_to_1\n             obj_dir/mux_2_to_1.v\n             obj_dir/mux_2_to_1.sv\n%Error: data/full_repos/permissive/446997925/hw3/comparator.v:101: Cannot find file containing module: \'mux_2_to_1\'\nmux_2_to_1 mux2(lt_m, a_s, sel, out_lt);\n^~~~~~~~~~\n%Error: Exiting due to 2 error(s), 22 warning(s)\n'
module comparator_1bit(a, b, in_gt, in_lt, in_eq, out_gt, out_lt, out_eq);

input a, b;
input in_gt, in_lt, in_eq;
output out_gt, out_lt, out_eq;

wire a_not, b_not;

not n1(a_not, a);
not n2(b_not, b);


and a1(and1, a, b_not);
and a2(or1, and1, in_eq);
or o1(out_gt, or1, in_gt);


and a3(and2, a_not, b);
and a4(or2, and2, in_eq);
or o2(out_lt, or2, in_lt);


xnor x1(and3,a,b);
and a5(out_eq, and3, in_eq);

endmodule
module comparator_1bit(a, b, in_gt, in_lt, in_eq, out_gt, out_lt, out_eq);


input a, b;
input in_gt, in_lt, in_eq;
output out_gt, out_lt, out_eq;

wire a_not, b_not;

not n1(a_not, a);
not n2(b_not, b);


and a1(and1, a, b_not);
and a2(or1, and1, in_eq);
or o1(out_gt, or1, in_gt);


and a3(and2, a_not, b);
and a4(or2, and2, in_eq);
or o2(out_lt, or2, in_lt);


xnor x1(and3,a,b);
and a5(out_eq, and3, in_eq);

endmodule