From 5d5853d3f808daa4d5ef96282fc714481bfa7981 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 3 Jul 2019 11:29:07 +0800 Subject: [PATCH] examples/helloworld: use new nmigen read_port comb API --- examples/helloworld_ecp5.py | 2 +- examples/helloworld_kintex7.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/helloworld_ecp5.py b/examples/helloworld_ecp5.py index a9cce8d..dd0f4a8 100644 --- a/examples/helloworld_ecp5.py +++ b/examples/helloworld_ecp5.py @@ -20,7 +20,7 @@ class Top(Elaboratable): string = "Hello World!\r\n" mem = Memory(width=8, depth=len(string), init=[ord(c) for c in string]) - m.submodules.rdport = rdport = mem.read_port(synchronous=False) + m.submodules.rdport = rdport = mem.read_port(domain="comb") wait = Signal() diff --git a/examples/helloworld_kintex7.py b/examples/helloworld_kintex7.py index 198998d..17432ac 100644 --- a/examples/helloworld_kintex7.py +++ b/examples/helloworld_kintex7.py @@ -22,7 +22,7 @@ class Top(Elaboratable): string = "Hello World!\r\n" mem = Memory(width=8, depth=len(string), init=[ord(c) for c in string]) - m.submodules.rdport = rdport = mem.read_port(synchronous=False) + m.submodules.rdport = rdport = mem.read_port(domain="comb") tx = uart.RS232TX(round(2**32*self.baudrate/156e6)) m.submodules.tx = tx