independent process list

OP (Company: shahroodut) #2939978
Hi
how can the sinsivty list in process be independent from each other?
for a example in process(clk1,clk2) a piece of process not run when
change clk1.
the Rising_edge(clk1) or clk1'event not useful,because they can be used 
only once.
this is wrong:
--===========
process(clk1,clk2)
begin
if(rising_edge(clk1))then
out1<=a;
.
.
.
end if;
if(rising_edge(clk2))then
out1<=b;
.
.
.
end if;
end process;
--===========
I wrote my own code in Xilinx7 and Xilinx12.
the error message this:
"signal out1 can not be synthesized, bad synchronous description".
Thanks for your attention
Moderator (Company: Titel) #2940104
The actual problem is: out1 is a flipflop. That's a fact, because any 
component reacting to an signals edge will result in a flipflop.
And then: there are no "dual clock input" flipflops in the world.

Why do you need two clocks in your design?
A beginners design has exactly 1 clock all over the FPGA.

Reply

A question of your own? This thread is over 13 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.