data/full_repos/permissive/516533387/morsedecoder.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/516533387/morsedecoder.v:391: Multiple top level modules\n                                                                          : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                          : ... Top module \'morse_decoder\'\nmodule morse_decoder(\n       ^~~~~~~~~~~~~\n                                                                          : ... Top module \'unit_conter\'\nmodule unit_conter(clk, unit_freq , out_clk);\n       ^~~~~~~~~~~\n                                                                          : ... Top module \'lcdlab3\'\nmodule lcdlab3(\n       ^~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/516533387/morsedecoder.v:37: Signal definition not found, creating implicitly: \'GIPO_0\'\n                                                                         : ... Suggested alternative: \'GPIO_0\'\nassign GIPO_0 = 36\'hzzzzzzzzz;\n       ^~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/516533387/morsedecoder.v:38: Signal definition not found, creating implicitly: \'GIPO_1\'\n                                                                         : ... Suggested alternative: \'GIPO_0\'\nassign GIPO_1 = 36\'hzzzzzzzzz;\n       ^~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/516533387/morsedecoder.v:41: Signal definition not found, creating implicitly: \'RST\'\nassign RST = KEY[0];\n       ^~~\n%Warning-IMPLICIT: data/full_repos/permissive/516533387/morsedecoder.v:54: Signal definition not found, creating implicitly: \'newsletter\'\n                                                                         : ... Suggested alternative: \'new_letter\'\nfsm F (clk2, beep, letter , LEDR[17:12] , newsletter);\n                                          ^~~~~~~~~~\n%Warning-IMPLICIT: data/full_repos/permissive/516533387/morsedecoder.v:71: Signal definition not found, creating implicitly: \'now_letter\'\n                                                                         : ... Suggested alternative: \'new_letter\'\nmux8bit9tol MUX1 (letter , now_letter);\n                           ^~~~~~~~~~\n%Error: data/full_repos/permissive/516533387/morsedecoder.v:105: Pin not found: \'hex2\'\n                                                               : ... Suggested alternative: \'hex1\'\n    .hex2(rhex2),\n     ^~~~\n%Error: data/full_repos/permissive/516533387/morsedecoder.v:106: Pin not found: \'hex3\'\n                                                               : ... Suggested alternative: \'hex1\'\n    .hex3(rhex3),\n     ^~~~\n%Error: data/full_repos/permissive/516533387/morsedecoder.v:107: Pin not found: \'hex4\'\n                                                               : ... Suggested alternative: \'hex1\'\n    .hex4(rhex4),\n     ^~~~\n%Error: data/full_repos/permissive/516533387/morsedecoder.v:108: Pin not found: \'hex5\'\n                                                               : ... Suggested alternative: \'hex1\'\n    .hex5(rhex5),\n     ^~~~\n%Error: data/full_repos/permissive/516533387/morsedecoder.v:109: Pin not found: \'hex6\'\n                                                               : ... Suggested alternative: \'hex1\'\n    .hex6(rhex6),\n     ^~~~\n%Error: data/full_repos/permissive/516533387/morsedecoder.v:110: Pin not found: \'hex7\'\n                                                               : ... Suggested alternative: \'hex1\'\n    .hex7(rhex7),\n     ^~~~\n%Error: data/full_repos/permissive/516533387/morsedecoder.v:111: Pin not found: \'hex8\'\n                                                               : ... Suggested alternative: \'hex1\'\n    .hex8(rhex8),\n     ^~~~\n%Error: Exiting due to 7 error(s), 6 warning(s)\n'
module mux8bit9tol(select , q);
input [8:0] select;
output [7:0] q;

reg [7:0] q;

parameter [5:0] BLANK = 6'b000000;
parameter [5:0] A = 6'b011010;
parameter [5:0] B = 6'b000001;
parameter [5:0] C = 6'b000010;
parameter [5:0] D = 6'b000011;
parameter [5:0] E = 6'b000100;
parameter [5:0] F = 6'b000101;
parameter [5:0] G = 6'b000110;
parameter [5:0] H = 6'b000111;
parameter [5:0] I = 6'b001000;
parameter [5:0] J = 6'b001001;
parameter [5:0] K = 6'b001010;
parameter [5:0] L = 6'b001011;
parameter [5:0] M = 6'b001100;
parameter [5:0] N = 6'b001101;
parameter [5:0] O = 6'b001110;
parameter [5:0] P = 6'b001111;
parameter [5:0] Q = 6'b010000;
parameter [5:0] R = 6'b010001;
parameter [5:0] S = 6'b010010;
parameter [5:0] T = 6'b010011;
parameter [5:0] U = 6'b010100;
parameter [5:0] V = 6'b010101;
parameter [5:0] W = 6'b010110;
parameter [5:0] X = 6'b010111;
parameter [5:0] Y = 6'b011000;
parameter [5:0] Z = 6'b011001;
parameter [5:0] ONE  = 6'b011010;
parameter [5:0] TWO = 6'b011011;
parameter [5:0] THREE = 6'b011100;
parameter [5:0] FOUR = 6'b011101;
parameter [5:0] FIVE = 6'b011110;
parameter [5:0] SIX = 6'b011111;
parameter [5:0] SEVEN = 6'b100000;
parameter [5:0] EIGHT = 6'b100001;
parameter [5:0] NINE = 6'b100010;
parameter [5:0] ZERO = 6'b100011;
parameter [5:0] BEFORETWO = 6'b100100;
parameter [5:0] BEFOREEIGHT = 6'b100101;
parameter [5:0] BEFORENINE = 6'b100110;

always @ ( select ) 
begin
    case ( select )
     BLANK :  q = 8'h20;
     A :  q = 8'h41;
     B :  q = 8'h42;
     C :  q = 8'h43;
     D :  q = 8'h44; 
     E :  q = 8'h45;
     F :  q = 8'h46;
     G :  q = 8'h47;
     H :  q = 8'h48;
     I :  q = 8'h49;
     J :  q = 8'h4A;
     K :  q = 8'h4B;
     L :  q = 8'h4C;
     M :  q = 8'h4D;
     N :  q = 8'h4E;
     O :  q = 8'h4F;
     P :  q = 8'h50;
     Q :  q = 8'h51;
     R :  q = 8'h52;
     S :  q = 8'h53;
     T :  q = 8'h54;
     U :  q = 8'h55;
     V :  q = 8'h56;
     W :  q = 8'h57;
     X :  q = 8'h58;
     Y :  q = 8'h59;
     Z :  q = 8'h5A;
     ONE :  q = 8'h31;
     TWO :  q = 8'h32;
     THREE :  q = 8'h33;
     FOUR :  q = 8'h34;
     FIVE :  q = 8'h35;
     SIX :  q = 8'h36;
     SEVEN :  q = 8'h37;
     EIGHT :  q = 8'h38;
     NINE :  q = 8'h39;
     ZERO :  q = 8'h30;
     default : q = 8'h20;
    endcase
end
endmodule
module mux8bit9tol(select , q);

input [8:0] select;
output [7:0] q;

reg [7:0] q;

parameter [5:0] BLANK = 6'b000000;
parameter [5:0] A = 6'b011010;
parameter [5:0] B = 6'b000001;
parameter [5:0] C = 6'b000010;
parameter [5:0] D = 6'b000011;
parameter [5:0] E = 6'b000100;
parameter [5:0] F = 6'b000101;
parameter [5:0] G = 6'b000110;
parameter [5:0] H = 6'b000111;
parameter [5:0] I = 6'b001000;
parameter [5:0] J = 6'b001001;
parameter [5:0] K = 6'b001010;
parameter [5:0] L = 6'b001011;
parameter [5:0] M = 6'b001100;
parameter [5:0] N = 6'b001101;
parameter [5:0] O = 6'b001110;
parameter [5:0] P = 6'b001111;
parameter [5:0] Q = 6'b010000;
parameter [5:0] R = 6'b010001;
parameter [5:0] S = 6'b010010;
parameter [5:0] T = 6'b010011;
parameter [5:0] U = 6'b010100;
parameter [5:0] V = 6'b010101;
parameter [5:0] W = 6'b010110;
parameter [5:0] X = 6'b010111;
parameter [5:0] Y = 6'b011000;
parameter [5:0] Z = 6'b011001;
parameter [5:0] ONE  = 6'b011010;
parameter [5:0] TWO = 6'b011011;
parameter [5:0] THREE = 6'b011100;
parameter [5:0] FOUR = 6'b011101;
parameter [5:0] FIVE = 6'b011110;
parameter [5:0] SIX = 6'b011111;
parameter [5:0] SEVEN = 6'b100000;
parameter [5:0] EIGHT = 6'b100001;
parameter [5:0] NINE = 6'b100010;
parameter [5:0] ZERO = 6'b100011;
parameter [5:0] BEFORETWO = 6'b100100;
parameter [5:0] BEFOREEIGHT = 6'b100101;
parameter [5:0] BEFORENINE = 6'b100110;

always @ ( select ) 
begin
    case ( select )
     BLANK :  q = 8'h20;
     A :  q = 8'h41;
     B :  q = 8'h42;
     C :  q = 8'h43;
     D :  q = 8'h44; 
     E :  q = 8'h45;
     F :  q = 8'h46;
     G :  q = 8'h47;
     H :  q = 8'h48;
     I :  q = 8'h49;
     J :  q = 8'h4A;
     K :  q = 8'h4B;
     L :  q = 8'h4C;
     M :  q = 8'h4D;
     N :  q = 8'h4E;
     O :  q = 8'h4F;
     P :  q = 8'h50;
     Q :  q = 8'h51;
     R :  q = 8'h52;
     S :  q = 8'h53;
     T :  q = 8'h54;
     U :  q = 8'h55;
     V :  q = 8'h56;
     W :  q = 8'h57;
     X :  q = 8'h58;
     Y :  q = 8'h59;
     Z :  q = 8'h5A;
     ONE :  q = 8'h31;
     TWO :  q = 8'h32;
     THREE :  q = 8'h33;
     FOUR :  q = 8'h34;
     FIVE :  q = 8'h35;
     SIX :  q = 8'h36;
     SEVEN :  q = 8'h37;
     EIGHT :  q = 8'h38;
     NINE :  q = 8'h39;
     ZERO :  q = 8'h30;
     default : q = 8'h20;
    endcase
end
endmodule