EmbDev.net

Forum: FPGA, VHDL & Verilog independent process list


von mansoor s. (Company: shahroodut) (mansoor64)


Rate this post
useful
not useful
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

von Joe (Guest)


Rate this post
useful
not useful
heeehhh?

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
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.

von mansoor s. (Company: shahroodut) (mansoor64)


Rate this post
useful
not useful
thanks a lot,
I realized what my problem was.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.