From 49f3c5755c04ba8f2df337da619c40dea42e6e1a Mon Sep 17 00:00:00 2001 From: Eugene8388608 <15855754+Eugene8388608@users.noreply.github.com> Date: Fri, 6 Jun 2025 21:38:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B8=D0=BF=D0=B0=20=D0=B0?= =?UTF-8?q?=D1=80=D0=B3=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=20=D0=B2=20per?= =?UTF-8?q?ipheral=5Fpkg.sv=20(#115)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Имя порта совпадало с именем типа * Update Labs/13. Peripheral units/peripheral_pkg.sv --------- Co-authored-by: Andrei Solodovnikov --- Labs/13. Peripheral units/peripheral_pkg.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Labs/13. Peripheral units/peripheral_pkg.sv b/Labs/13. Peripheral units/peripheral_pkg.sv index 0387391..1ee1a15 100644 --- a/Labs/13. Peripheral units/peripheral_pkg.sv +++ b/Labs/13. Peripheral units/peripheral_pkg.sv @@ -31,8 +31,8 @@ package peripheral_pkg; end endtask - task automatic uart_rx_send_char(input logic [7:0] char, input logic [31:0] baudrate, ref logic tx); - logic [11:0] data = {2'b11, (^char), char, 1'b0}; + task automatic uart_rx_send_char(input logic [7:0] character, input logic [31:0] baudrate, ref logic tx); + logic [11:0] data = {2'b11, (^character), character, 1'b0}; for(int i = 0; i < 12; i++) begin tx = data[i]; #(1s/baudrate);