logger -expect error "Memory size .* out of range" 1
read_rtlil <<EOT
module \foo
memory width 8 size 4294967396 \mem
end
EOT