Files
yosys/tests/various/btor_allconst.ys
T

14 lines
318 B
Plaintext

read_verilog -formal <<EOT
module top (input clk, input req, output reg ack);
(* allconst *) reg test;
always @(posedge clk) ack <= req;
always @(posedge clk) assert(ack & test);
endmodule
EOT
prep -top top
async2sync
dffunmap
logger -expect error "Unsupported cell type .allconst..*" 1
write_btor /dev/null