From: Eddie Hung Date: Thu, 16 Apr 2020 19:45:04 +0000 (-0700) Subject: select: add test for not selecting inside black/white boxes X-Git-Tag: working-ls180~595^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ddfb61e65bb8299ba9bc09af9bb4636efc2ddb0;p=yosys.git select: add test for not selecting inside black/white boxes --- diff --git a/tests/select/blackboxes.ys b/tests/select/blackboxes.ys new file mode 100644 index 000000000..0031de194 --- /dev/null +++ b/tests/select/blackboxes.ys @@ -0,0 +1,21 @@ +read_verilog -specify < o) = 1; +endspecify +endmodule + +(* whitebox *) +module wb(input a, b, output o); +assign o = a ^ b; +endmodule +EOT + +select -assert-count 1 c:* +select -assert-none t:* t:$and %d