maverick_mind
Newbie level 4
hdlin_preserve_sequential
I have a module with some sequential elements. During actual module usage the path through sequential elements is never exercised.
I want to remove flip flops during synthesis. I tried using set_case_analysis and putting mux select and clock value to 0. But dc still puts flip-flops even though with values of set_case_analysis those path will never be used.
Any solution to remove ff.
PSEUDO-CODE
port (inp, clk, sel: in std_logic;
out: out std_logic);
signal inp_d;
process (inp, clk)
begin
if (clk'event and clk ='1')
inp_d <= inp;
end if;
end process;
out <= inp when sel ='0' else inp_d;
end
in actual situation sel is always '0' so out<=inp. but dc never removes ff.
I have a module with some sequential elements. During actual module usage the path through sequential elements is never exercised.
I want to remove flip flops during synthesis. I tried using set_case_analysis and putting mux select and clock value to 0. But dc still puts flip-flops even though with values of set_case_analysis those path will never be used.
Any solution to remove ff.
PSEUDO-CODE
port (inp, clk, sel: in std_logic;
out: out std_logic);
signal inp_d;
process (inp, clk)
begin
if (clk'event and clk ='1')
inp_d <= inp;
end if;
end process;
out <= inp when sel ='0' else inp_d;
end
in actual situation sel is always '0' so out<=inp. but dc never removes ff.