data/full_repos/permissive/42581625/PersonalComputer/Top.v
1: b'%Warning-IMPLICIT: data/full_repos/permissive/42581625/PersonalComputer/Top.v:65: Signal definition not found, creating implicitly: \'rnp\'\nalways@(posedge rnp) begin\n                ^~~\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/42581625/PersonalComputer/Top.v:60: Cannot find file containing module: \'pbdebounce\'\npbdebounce pb2 (\n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/42581625/PersonalComputer,data/full_repos/permissive/42581625/pbdebounce\n             data/full_repos/permissive/42581625/PersonalComputer,data/full_repos/permissive/42581625/pbdebounce.v\n             data/full_repos/permissive/42581625/PersonalComputer,data/full_repos/permissive/42581625/pbdebounce.sv\n             pbdebounce\n             pbdebounce.v\n             pbdebounce.sv\n             obj_dir/pbdebounce\n             obj_dir/pbdebounce.v\n             obj_dir/pbdebounce.sv\n%Error: data/full_repos/permissive/42581625/PersonalComputer/Top.v:72: Cannot find file containing module: \'MainBoard\'\nMainBoard mb(\n^~~~~~~~~\n%Error: data/full_repos/permissive/42581625/PersonalComputer/Top.v:107: Cannot find file containing module: \'LCD_dis\'\nLCD_dis lcd (\n^~~~~~~\n%Error: Exiting due to 3 error(s), 1 warning(s)\n'
module Top(
input clk_50M,

input rst_n,
input RegNumPlus,


output hsync, 
output vsync, 
output vga_r,
output vga_g,
output vga_b,


output lcd_rs,
output lcd_rw,
output lcd_e,
output[3:0] lcd_d,
output flash_ce,


input PS2C, 
input PS2D,


input RxD,
output TxD
    );
wire clk;
assign clk = clk_50M;

	 

reg[4:0] RegNum;
pbdebounce pb2 (
    .clk(clk_50M), 
    .button(RegNumPlus), 
    .pbreg(rnp)
    );
always@(posedge rnp) begin
	RegNum <= RegNum + 1;
end
	 

wire[31:0] RegData,ProgramCounter,IR;
wire[31:0] ExtraOut;
MainBoard mb(

    .clk(clk), 
    .clk_50M(clk_50M), 
	 

    .RegNum(RegNum), 
    .RegData(RegData), 
    .ProgramCounter(ProgramCounter), 
	 .IR(IR),
	 .ExtraOut(ExtraOut),
	 

    .hsync(hsync), 
    .vsync(vsync), 
    .vga_r(vga_r), 
    .vga_g(vga_g), 
    .vga_b(vga_b), 
	 

    .PS2C(PS2C), 
    .PS2D(PS2D),
	 

    .RxD(RxD),
    .TxD(TxD)
    );

wire[127:0] num128;
assign num128 = {
	ProgramCounter | {3'h0,RegNum,24'h0}, 
	RegData, 
	ExtraOut, 
	IR
	};
LCD_dis lcd (
    .clk(clk_50M), 
    .num(num128), 
    .reset(rst_n), 
    .lcd_rs(lcd_rs), 
    .lcd_rw(lcd_rw), 
    .lcd_e(lcd_e), 
    .lcd_d(lcd_d), 
    .flash_ce(flash_ce)
    );
	 
endmodule
module Top(
input clk_50M,

input rst_n,
input RegNumPlus,


output hsync, 
output vsync, 
output vga_r,
output vga_g,
output vga_b,


output lcd_rs,
output lcd_rw,
output lcd_e,
output[3:0] lcd_d,
output flash_ce,


input PS2C, 
input PS2D,


input RxD,
output TxD
    );

wire clk;
assign clk = clk_50M;

	 

reg[4:0] RegNum;
pbdebounce pb2 (
    .clk(clk_50M), 
    .button(RegNumPlus), 
    .pbreg(rnp)
    );
always@(posedge rnp) begin
	RegNum <= RegNum + 1;
end
	 

wire[31:0] RegData,ProgramCounter,IR;
wire[31:0] ExtraOut;
MainBoard mb(

    .clk(clk), 
    .clk_50M(clk_50M), 
	 

    .RegNum(RegNum), 
    .RegData(RegData), 
    .ProgramCounter(ProgramCounter), 
	 .IR(IR),
	 .ExtraOut(ExtraOut),
	 

    .hsync(hsync), 
    .vsync(vsync), 
    .vga_r(vga_r), 
    .vga_g(vga_g), 
    .vga_b(vga_b), 
	 

    .PS2C(PS2C), 
    .PS2D(PS2D),
	 

    .RxD(RxD),
    .TxD(TxD)
    );

wire[127:0] num128;
assign num128 = {
	ProgramCounter | {3'h0,RegNum,24'h0}, 
	RegData, 
	ExtraOut, 
	IR
	};
LCD_dis lcd (
    .clk(clk_50M), 
    .num(num128), 
    .reset(rst_n), 
    .lcd_rs(lcd_rs), 
    .lcd_rw(lcd_rw), 
    .lcd_e(lcd_e), 
    .lcd_d(lcd_d), 
    .flash_ce(flash_ce)
    );
	 
endmodule