amaranth icon indicating copy to clipboard operation
amaranth copied to clipboard

infinite loop in NIR builder on a trivial comb loop

Open wanda-phi opened this issue 1 year ago • 1 comments

The following results in an infinite loop:

from amaranth import *
import amaranth.back.rtlil

m = Module()
a = Signal()
m.d.comb += a.eq(a)

amaranth.back.rtlil.convert(m, ports=[])

wanda-phi avatar Feb 14 '24 17:02 wanda-phi

Related to #704.

whitequark avatar Feb 14 '24 23:02 whitequark