mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-18 08:18:56 +00:00
22 lines
344 B
Text
22 lines
344 B
Text
logger -expect error "Second design missing module top_renamed" 1
|
|
|
|
read_rtlil <<EOT
|
|
module \top
|
|
wire width 1 input 1 \a
|
|
wire width 1 output 2 \y
|
|
connect \y \a
|
|
end
|
|
EOT
|
|
|
|
design -save golden
|
|
|
|
design -reset
|
|
read_rtlil <<EOT
|
|
module \top_renamed
|
|
wire width 1 input 1 \a
|
|
wire width 1 output 2 \y
|
|
connect \y \a
|
|
end
|
|
EOT
|
|
|
|
design_equal golden
|