M
Maciek
Guest
Hi !
Is this possible, to implement function with 4 inputs, 1 output using
also DFFE component with clk, ena and preset signals provided in one Logic
Cell ??
I mean, can code listed below be compiled to use less than 2 cells of
resources ?? I always thought, that controlling signals for latches in Logic
Cells don't increase of resource utility.
SUBDESIGN c_cell
(
clk :INPUT;
ena :INPUT;
reset :INPUT;
c_prev :INPUT;
b[0..1] :INPUT;
a :INPUT;
q :OUTPUT;
)
VARIABLE
q FFE;
BEGIN
q.clk = clk;
q.ena = ena;
q.clrn = reset;
q.d = c_prev $ (a&(b0$b1));
q = q;
END;
Is this possible, to implement function with 4 inputs, 1 output using
also DFFE component with clk, ena and preset signals provided in one Logic
Cell ??
I mean, can code listed below be compiled to use less than 2 cells of
resources ?? I always thought, that controlling signals for latches in Logic
Cells don't increase of resource utility.
SUBDESIGN c_cell
(
clk :INPUT;
ena :INPUT;
reset :INPUT;
c_prev :INPUT;
b[0..1] :INPUT;
a :INPUT;
q :OUTPUT;
)
VARIABLE
q FFE;
BEGIN
q.clk = clk;
q.ena = ena;
q.clrn = reset;
q.d = c_prev $ (a&(b0$b1));
q = q;
END;