mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-10-06 10:03:36 +02:00
14 lines
318 B
Plaintext
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
|