3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-20 14:20:32 +00:00

chtype: replace publish pass with chtype -publish_icells

This commit is contained in:
Emil J. Tywoniak 2025-10-09 02:08:20 +02:00
parent c46df9ffdc
commit e9aedf505c
4 changed files with 48 additions and 44 deletions

View file

@ -31,3 +31,19 @@ opt
techmap -map %techmap
select -assert-count 1 t:LCU_8
design -reset
read_verilog <<EOT
module top(input A, input B, output Y);
assign Y = A ^ B;
endmodule
EOT
# We can only test that the option doesn't crash
# See https://github.com/YosysHQ/yosys/issues/5414
# select -assert-count 1 t:$xor
# select -assert-count 0 t:\$xor
chtype -publish_icells
# select -assert-count 0 t:$xor
# select -assert-count 1 t:\$xor