From a728fb174a3b596088642c39f92cf1cbb67f13f3 Mon Sep 17 00:00:00 2001 From: Pawel <151604+32bitmicro@users.noreply.github.com> Date: Tue, 15 Oct 2024 08:58:21 -0500 Subject: [PATCH 1/2] =?UTF-8?q?Usni=C4=99ta=20niepotrzebna=20linia=2016=20?= =?UTF-8?q?reg=20[3:0]=20bit=20=3D=204'b0;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soc/ps2.v | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 From 25ce58662bc86be482bae009eca7b6647db3e5fd Mon Sep 17 00:00:00 2001 From: Pawel <151604+32bitmicro@users.noreply.github.com> Date: Tue, 15 Oct 2024 09:00:00 -0500 Subject: [PATCH 2/2] =?UTF-8?q?Usuni=C4=99ta=20scie=C5=BCka=20/home/piotro?= =?UTF-8?q?/pcpu2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soc/soc_rom.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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