Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions soc/ps2.v
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -78,4 +77,4 @@ always @(posedge clk) begin
state_time <= 4'b0;
end

endmodule
endmodule
4 changes: 2 additions & 2 deletions soc/soc_rom.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -57,4 +57,4 @@ always @* begin
out_data = instr[in_addr[11:1]][15:0];
end

endmodule
endmodule