STAR-future's picture
add chips/yosys (part 7)
055c19b verified
Raw History Blame Contribute Delete
193 Bytes
read_verilog <<EOT
module top(input en, s, d, output reg q);
wire a = s ? a : d;
always @*
if (en)
q = a;
endmodule
EOT
logger -expect error "Found logic loop through \$mux cell" 1
proc