Skip to content

Commit

Permalink
ЛР3. Исправление подключения рф в nexys-модуле
Browse files Browse the repository at this point in the history
В модуле использовался старый прототип подключения регистрового
файла.

Closes #13.
  • Loading branch information
HepoH3 committed Oct 9, 2023
1 parent d0441fd commit d3058e1
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Labs/03. Register file and memory/board files/nexys_rf_riscv.sv
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@ reg [31:0] rd2;

rf_riscv DUT
(
.clk (CLK100),
.A1 (a1),
.A2 (a2),
.A3 (a3),
.WD3 (WD3),
.WE (WE),

.RD1 (RD1),
.RD2 (RD2)
.clk_i (CLK100 ),
.write_addr_i (a1 ),
.read_addr1_i (a2 ),
.read_addr2_i (a3 ),
.write_data_i (WD3 ),
.write_enable_i (WE ),
.read_data1_o (RD1 ),
.read_data2_o (RD2 )
);

assign LED = {1'b0, a1, a2, a3};
Expand Down

0 comments on commit d3058e1

Please sign in to comment.