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.

Problem with switching activity....not able to understand the code

Status
Not open for further replies.

satishgra

Member level 3
Member level 3
Joined
Mar 29, 2008
Messages
59
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Bangalore
satishkumargrandhi.googlepages.com
Activity points
1,717
Hi,

I am working on extending the work of some previous student and unfortunately I am not able to understand the following part of the code. Can someone help me to understand what exactly it means ????

pNode->SA = 0.5
pNode->P1 = sqrt(0.25 - 0.5*pNode->SA) + 0.5;

I understand that we are assigning 0.5 as the switching probability on the primary input. What does the second statement mean ??

Thanks in advance !!!

Regards,
Satish
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top