data/full_repos/permissive/425166201/02_ps2timing/de0.v
1: b'%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:74: Cannot find file containing module: \'de0pll\'\nde0pll unit_pll\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/425166201/02_ps2timing,data/full_repos/permissive/425166201/de0pll\n             data/full_repos/permissive/425166201/02_ps2timing,data/full_repos/permissive/425166201/de0pll.v\n             data/full_repos/permissive/425166201/02_ps2timing,data/full_repos/permissive/425166201/de0pll.sv\n             de0pll\n             de0pll.v\n             de0pll.sv\n             obj_dir/de0pll\n             obj_dir/de0pll.v\n             obj_dir/de0pll.sv\n%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:81: Cannot find file containing module: \'hex7\'\nhex7 h0(.i(led[  3:0]), .o(HEX0));\n^~~~\n%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:82: Cannot find file containing module: \'hex7\'\nhex7 h1(.i(led[  7:4]), .o(HEX1));\n^~~~\n%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:83: Cannot find file containing module: \'hex7\'\nhex7 h2(.i(led[ 11:8]), .o(HEX2));\n^~~~\n%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:84: Cannot find file containing module: \'hex7\'\nhex7 h3(.i(led[15:12]), .o(HEX3));\n^~~~\n%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:85: Cannot find file containing module: \'hex7\'\nhex7 h4(.i(led[19:16]), .o(HEX4));\n^~~~\n%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:86: Cannot find file containing module: \'hex7\'\nhex7 h5(.i(led[23:20]), .o(HEX5));\n^~~~\n%Warning-WIDTH: data/full_repos/permissive/425166201/02_ps2timing/de0.v:93: Logical Operator IF expects 1 bit on the If, but If\'s VARREF \'keyb_ready\' generates 8 bits.\n                                                                          : ... In instance de0\nalways @(posedge clock_25) if (keyb_ready) led <= {led[15:0], keyb_data};\n                           ^~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/425166201/02_ps2timing/de0.v:96: Cannot find file containing module: \'keyboard\'\nkeyboard KeyboardPS2\n^~~~~~~~\n%Error: Exiting due to 8 error(s), 1 warning(s)\n'
module de0(


    input              RESET_N,


    input              CLOCK_50,
    input              CLOCK2_50,
    input              CLOCK3_50,
    inout              CLOCK4_50,


    output             DRAM_CKE,
    output             DRAM_CLK,
    output      [1:0]  DRAM_BA,
    output      [12:0] DRAM_ADDR,
    inout       [15:0] DRAM_DQ,
    output             DRAM_CAS_N,
    output             DRAM_RAS_N,
    output             DRAM_WE_N,
    output             DRAM_CS_N,
    output             DRAM_LDQM,
    output             DRAM_UDQM,


    inout       [35:0] GPIO_0,
    inout       [35:0] GPIO_1,


    output      [6:0]  HEX0,
    output      [6:0]  HEX1,
    output      [6:0]  HEX2,
    output      [6:0]  HEX3,
    output      [6:0]  HEX4,
    output      [6:0]  HEX5,


    input       [3:0]  KEY,


    output      [9:0]  LEDR,


    inout              PS2_CLK,
    inout              PS2_DAT,
    inout              PS2_CLK2,
    inout              PS2_DAT2,


    output             SD_CLK,
    inout              SD_CMD,
    inout       [3:0]  SD_DATA,


    input       [9:0]  SW,


    output      [3:0]  VGA_R,
    output      [3:0]  VGA_G,
    output      [3:0]  VGA_B,
    output             VGA_HS,
    output             VGA_VS
);


assign DRAM_DQ = 16'hzzzz;
assign GPIO_0  = 36'hzzzzzzzz;
assign GPIO_1  = 36'hzzzzzzzz;


wire locked;
wire clock_25;

de0pll unit_pll
(
    .clkin     (CLOCK_50),
    .m25       (clock_25),
    .locked    (locked)
);

hex7 h0(.i(led[  3:0]), .o(HEX0));
hex7 h1(.i(led[  7:4]), .o(HEX1));
hex7 h2(.i(led[ 11:8]), .o(HEX2));
hex7 h3(.i(led[15:12]), .o(HEX3));
hex7 h4(.i(led[19:16]), .o(HEX4));
hex7 h5(.i(led[23:20]), .o(HEX5));

reg [23:0] led;

wire [7:0] keyb_ready;
wire [7:0] keyb_data;

always @(posedge clock_25) if (keyb_ready) led <= {led[15:0], keyb_data};


keyboard KeyboardPS2
(
    .clock_25   (clock_25),
    .PS2_CLK    (PS2_CLK),
    .PS2_DAT    (PS2_DAT),
    .keyb_ready (keyb_ready),
    .keyb_data  (keyb_data)
);

endmodule
module de0(


    input              RESET_N,


    input              CLOCK_50,
    input              CLOCK2_50,
    input              CLOCK3_50,
    inout              CLOCK4_50,


    output             DRAM_CKE,
    output             DRAM_CLK,
    output      [1:0]  DRAM_BA,
    output      [12:0] DRAM_ADDR,
    inout       [15:0] DRAM_DQ,
    output             DRAM_CAS_N,
    output             DRAM_RAS_N,
    output             DRAM_WE_N,
    output             DRAM_CS_N,
    output             DRAM_LDQM,
    output             DRAM_UDQM,


    inout       [35:0] GPIO_0,
    inout       [35:0] GPIO_1,


    output      [6:0]  HEX0,
    output      [6:0]  HEX1,
    output      [6:0]  HEX2,
    output      [6:0]  HEX3,
    output      [6:0]  HEX4,
    output      [6:0]  HEX5,


    input       [3:0]  KEY,


    output      [9:0]  LEDR,


    inout              PS2_CLK,
    inout              PS2_DAT,
    inout              PS2_CLK2,
    inout              PS2_DAT2,


    output             SD_CLK,
    inout              SD_CMD,
    inout       [3:0]  SD_DATA,


    input       [9:0]  SW,


    output      [3:0]  VGA_R,
    output      [3:0]  VGA_G,
    output      [3:0]  VGA_B,
    output             VGA_HS,
    output             VGA_VS
);



assign DRAM_DQ = 16'hzzzz;
assign GPIO_0  = 36'hzzzzzzzz;
assign GPIO_1  = 36'hzzzzzzzz;


wire locked;
wire clock_25;

de0pll unit_pll
(
    .clkin     (CLOCK_50),
    .m25       (clock_25),
    .locked    (locked)
);

hex7 h0(.i(led[  3:0]), .o(HEX0));
hex7 h1(.i(led[  7:4]), .o(HEX1));
hex7 h2(.i(led[ 11:8]), .o(HEX2));
hex7 h3(.i(led[15:12]), .o(HEX3));
hex7 h4(.i(led[19:16]), .o(HEX4));
hex7 h5(.i(led[23:20]), .o(HEX5));

reg [23:0] led;

wire [7:0] keyb_ready;
wire [7:0] keyb_data;

always @(posedge clock_25) if (keyb_ready) led <= {led[15:0], keyb_data};


keyboard KeyboardPS2
(
    .clock_25   (clock_25),
    .PS2_CLK    (PS2_CLK),
    .PS2_DAT    (PS2_DAT),
    .keyb_ready (keyb_ready),
    .keyb_data  (keyb_data)
);

endmodule