diff --git a/soc/ps2.v b/soc/ps2.v index 5dadd5c..a31c0cd 100644 --- a/soc/ps2.v +++ b/soc/ps2.v @@ -13,7 +13,6 @@ reg irq; initial irq = 1'b0; initial scancode = 8'hFF; -reg [3:0] bit = 4'b0; reg [10:0] code_shift; wire db_clk; @@ -78,4 +77,4 @@ always @(posedge clk) begin state_time <= 4'b0; end -endmodule \ No newline at end of file +endmodule diff --git a/soc/soc_rom.v b/soc/soc_rom.v index b55521f..b003081 100644 --- a/soc/soc_rom.v +++ b/soc/soc_rom.v @@ -8,7 +8,7 @@ module soc_rom ( reg [31:0] instr [127:0]; initial begin - $readmemh("/home/piotro/pcpu2/soc/bootloader.hex", instr); + $readmemh("bootloader.hex", instr); end always @* begin @@ -57,4 +57,4 @@ always @* begin out_data = instr[in_addr[11:1]][15:0]; end -endmodule \ No newline at end of file +endmodule