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.

verilog average code

Status
Not open for further replies.

ali kotb

Member level 3
Member level 3
Joined
Feb 11, 2012
Messages
61
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Visit site
Activity points
1,732
hello all ,
if i have a pulse wave form of ones and zeros , how to take the average DC value from the pulse using verilog ?
can any one give me the code ?
 

In general the solution consists in counting the number of ones N in a sequence of T ones and zeros. The average is (A.N)/T where A is the amplitude of the one.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top