xrisas1
Newbie level 3
Hi People,
I need to use clock as data but I know that this will give problems after synthesis.
What I actually need is to drive a signal only on the positive phase of the clock so I am currently using :
data_out <= data_reg when (clk = '1') else (others => '0');
where data_reg is a registered value. Does anybody know a clean solution for that?
Thanks
I need to use clock as data but I know that this will give problems after synthesis.
What I actually need is to drive a signal only on the positive phase of the clock so I am currently using :
data_out <= data_reg when (clk = '1') else (others => '0');
where data_reg is a registered value. Does anybody know a clean solution for that?
Thanks