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

Fix $__ABC9_ASYNC1 to output 1'b1 not 1'b0

This commit is contained in:
Eddie Hung 2020-01-22 14:22:03 -08:00
parent 73526a6f10
commit da134701cd

View file

@ -42,7 +42,7 @@ endmodule
// Box to emulate async behaviour of FDP*
(* abc9_box_id = 1001, lib_whitebox *)
module \$__ABC9_ASYNC1 (input A, S, output Y);
assign Y = S ? 1'b0 : A;
assign Y = S ? 1'b1 : A;
endmodule
// Box to emulate comb/seq behaviour of RAM{32,64} and SRL{16,32}