mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-09 09:21:58 +00:00
Replaces double quotes on problematic regex strings (mostly ones that have escape sequences that are easier to preserve in single quotes). Necessitates also changing single quotes to `.`, i.e match any. For some (mostly ones that only have a single escaped character, or were using `\.` to match a literal fullstop) keep the double quotes and fix the regex instead.
14 lines
277 B
Text
14 lines
277 B
Text
logger -expect log ".*cells_not_processed=[01]* .*" 1
|
|
logger -expect log '.*src=.<<EOT:1\.1-9\.10. .*' 1
|
|
read_verilog <<EOT
|
|
module mux2(a, b, s, y);
|
|
input a, b, s;
|
|
output y;
|
|
|
|
wire s_n = ~s;
|
|
wire t0 = s & a;
|
|
wire t1 = s_n & b;
|
|
assign y = t0 | t1;
|
|
endmodule
|
|
EOT
|
|
printattrs
|