3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-04 05:19:11 +00:00

tests/bugpoint: More tests

More coverage.
This commit is contained in:
Krystine Sherwin 2025-07-29 11:39:52 +12:00
parent d3ff803b81
commit fe07d390f1
No known key found for this signature in database
7 changed files with 248 additions and 5 deletions

38
tests/bugpoint/mods.il Normal file
View file

@ -0,0 +1,38 @@
module \m_a
wire input 1 \w_i
wire output 2 \w_o
connect \w_o \w_i
end
module \m_b
wire input 1 \w_i
wire output 2 \w_o
end
attribute \top 1
module \top
attribute \raise_error 3
wire \w_a
wire \w_b
wire \w_c
cell \m_a \c_a
connect \w_i \w_a
connect \w_o \w_b
end
cell \m_a \c_b
connect \w_i \w_b
connect \w_o \w_c
end
cell \m_b \c_c
connect \w_i \w_c
connect \w_o \w_a
end
cell \m_b \c_d
connect \w_i 1'0
connect \w_o 1'1
end
end