mirror of https://github.com/llvm/circt.git
[firtool] verify that comb loop checking resolves last connects
This commit is contained in:
parent
baec1a1db1
commit
28986b8b98
|
@ -0,0 +1,12 @@
|
|||
; RUN: firtool %s -split-input-file -verify-diagnostics
|
||||
|
||||
; Check that we resolve last connect semantics before detecting combinational
|
||||
; loops.
|
||||
FIRRTL version 4.0.0
|
||||
circuit CombinationalLoop:
|
||||
public module CombinationalLoop:
|
||||
output o : UInt<1>
|
||||
wire w : UInt<1>
|
||||
connect w, w
|
||||
connect w, UInt<1>(0)
|
||||
connect o, w
|
Loading…
Reference in New Issue