Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what is the protected type of shared variable?

Status
Not open for further replies.

omidsht

Member level 2
Joined
Dec 24, 2007
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,556
what is protected type ?

Hi , when i declare a shared variable like this :
shared variable o1 : bit :='0';
the warning says : the shared variable mut be of a protected type ?

what is protected type and what shall i di ?
 

They don't synthesize because it requires adding arbitration logic.

Asynchronous arbitration can be done by a request-acknowledge protocol.

Synchronous arbitration can be performed by choosing ONE clock event for synchronizing ALL assignments to a specific variable. This is equivalent to creating a new process, and moving all assignments (to a specific variable) into that new process. In addition to adding a clock event, you would need to add conditions that select which assignment to perform.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top