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:
parent
c46df9ffdc
commit
e9aedf505c
4 changed files with 48 additions and 44 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue