Skip to content

Commit 49f3c57

Browse files
Исправление типа аргумента в peripheral_pkg.sv (#115)
* Имя порта совпадало с именем типа * Update Labs/13. Peripheral units/peripheral_pkg.sv --------- Co-authored-by: Andrei Solodovnikov <[email protected]>
1 parent 6d5ad4e commit 49f3c57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Labs/13. Peripheral units/peripheral_pkg.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ package peripheral_pkg;
3131
end
3232
endtask
3333

34-
task automatic uart_rx_send_char(input logic [7:0] char, input logic [31:0] baudrate, ref logic tx);
35-
logic [11:0] data = {2'b11, (^char), char, 1'b0};
34+
task automatic uart_rx_send_char(input logic [7:0] character, input logic [31:0] baudrate, ref logic tx);
35+
logic [11:0] data = {2'b11, (^character), character, 1'b0};
3636
for(int i = 0; i < 12; i++) begin
3737
tx = data[i];
3838
#(1s/baudrate);

0 commit comments

Comments
 (0)