3wais
Member level 4
- Joined
- Sep 12, 2011
- Messages
- 70
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,288
- Location
- Alexandria,Egypt
- Activity points
- 1,787
How to describe a Double Data Rate (DDR) Register in VHDL ??
I tried a process like this :
but then Design Compiler complains :
I tried to use
but it also generates an error.
I cannot use them in 2 separate processes because then it will generate an error on multiple processes driving a signal.
what is the proper way to do this ??
I tried a process like this :
Code:
process(Input_Clk,Input_Data,Reset_Control)
begin
if (Reset_Control = '1') then
Output_Data <= (others => '0');
elsif (Input_Clk'event) then
Output_Data <= Input_Data;
end if;
end process ;
but then Design Compiler complains :
Code:
Bad clock expression: 'Could not determine polarity of clock expression'. (VER-408)
Code:
(Input_Clk'event and (Input_Clk = '1' or Input_Clk = '0'))
I cannot use them in 2 separate processes because then it will generate an error on multiple processes driving a signal.
what is the proper way to do this ??