Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multi-process problem

Status
Not open for further replies.

judpoir

Programmer
Mar 7, 2003
1
0
0
BE
Hi,
I'm actually using Mentor Graphics for my project and here is my problem :
I have a design entity which contains a few processes. There is a "master process" which gives the hand (using an appropriate handshaking) to one and only one slave process (thanks to mutually exclusive conditions). Each process has to write something to the same output of the design entity (but only one is active at the same time as I explain above). This works fine with compilation, simulation but Leonardo (synthesis tool of Mentor Graphics) doesn't want to synthesize it!
Is there another way to drive a same output from multiple processes of a same design entity ?

Thanks a lot
 
Have the master process control a mux for the output signal along with enabling the slave processes.

Code:
entity_output <= process1_output when process1_enable = 1
   else process2_output when process2_enable = 1
   else process3_output when process3_enable = 1
   else process4_output;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top