From 4b14e3c7ea205d97da4ee618fb888e24401b1824 Mon Sep 17 00:00:00 2001 From: Softonik Date: Thu, 10 Nov 2022 01:38:57 +0300 Subject: [PATCH] =?UTF-8?q?Interface()=20=D1=82=D1=80=D0=B5=D0=B1=D1=83?= =?UTF-8?q?=D0=B5=D1=82=20=D0=BD=D0=B0=20=D0=B2=D1=85=D0=BE=D0=B4=D0=B5=20?= =?UTF-8?q?=D1=81=D0=BF=D0=B8=D1=81=D0=BE=D0=BA=20=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?-=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- transpile_python/service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transpile_python/service_test.go b/transpile_python/service_test.go index 50c544a..0448180 100644 --- a/transpile_python/service_test.go +++ b/transpile_python/service_test.go @@ -396,7 +396,7 @@ main() wr := Net("MEM_WR#") addr := Bus("MEM_ADDR", 20) data := Bus("MEM_DATA", 16) - mem_intfc = Interface(rd, wr, addr, data) + mem_intfc = Interface(rd == rd, wr == wr, addr == addr, data == data) mem_module(mem_intfc) uc_module(clk, mem_intfc, io_intfc) } @@ -414,7 +414,7 @@ def main(): wr = Net("MEM_WR#") addr = Bus("MEM_ADDR",20) data = Bus("MEM_DATA",16) - mem_intfc = Interface(rd,wr,addr,data) + mem_intfc = Interface(rd=rd,wr=wr,addr=addr,data=data) mem_module(mem_intfc) uc_module(clk,mem_intfc,io_intfc) main()