mirror of https://github.com/llvm/circt.git
16 lines
471 B
Plaintext
16 lines
471 B
Plaintext
; RUN: circt-translate %s --import-firrtl | FileCheck %s --strict-whitespace
|
|
FIRRTL version 4.0.0
|
|
|
|
circuit Foo:
|
|
public module Foo:
|
|
mem memory:
|
|
data-type => UInt<8>
|
|
depth => 2147483648
|
|
reader => r
|
|
read-latency => 0
|
|
write-latency => 1
|
|
read-under-write => undefined
|
|
; CHECK-LABEL: module
|
|
; CHECK: firrtl.mem
|
|
; CHECK-SAME: {depth = 2147483648 : i64, name = "memory", portNames = ["r"], readLatency = 0 : i32, writeLatency = 1 : i32}
|