[an error occurred while processing this directive]
|
soft это удаляемый буфер размещения логической ячейки (макроячейки)
lcell не удаляемый. Но с 7000S у меня не работает. Может вы чем поможете?
module lcell_xor
(
input in_strob,
output out_a,
output out_b
);
wire out_lcell[5:0];
lcell lcell (
.in (in_strob),
.out (out_lcell[0])
);
genvar i;
generate for (i = 1; i <= 5; i = i + 1)
begin : block
lcell lcell_a (
.in (out_lcell[i-1]),
.out (out_lcell[i])
);
end
endgenerate
assign out_a = out_lcell[1] ^ out_lcell[5];
assign out_b = (out_lcell[2] != out_lcell[4]);
endmodule