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.

ADC simulation testing using Verilog model for a block

Status
Not open for further replies.

nijMcnij

Full Member level 1
Joined
Dec 6, 2005
Messages
97
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,288
Activity points
2,167
ADC simulation testing

hello all,

i am designing an ADC, and i was told that there is a way to create a verilog model for a block which can be connected to the ADC digital outputs.

the verilog block can then write the digital codes from the ADC to a file.

how can i do this

many thanks
 

Re: ADC simulation testing

Try use $fstrobe function and it will do the job.
 

    nijMcnij

    Points: 2
    Helpful Answer Positive Rating
ADC simulation testing

VerilogA model can do that,
it is easy to write this va block, check veriloga reference.
 

    nijMcnij

    Points: 2
    Helpful Answer Positive Rating
Re: ADC simulation testing

i have created a verilog A model that uses the $fstrobe function.

hwoever the outputs of the ADC are 3.3V for a digital 1 and 0 for a digital 0....how can i use $fstrobe inorder to save a 1 for every 3.3V on the digital outputs.

many thanks
 

ADC simulation testing

$fstrobe can export data to a file.
use matlab to analysize the data.
It will be very easy to solve the problem u met.
 

    nijMcnij

    Points: 2
    Helpful Answer Positive Rating
ADC simulation testing

maybe you can use a ideal DAC in analog netlist to test your ADC outputs
 

Re: ADC simulation testing

You could connect the input of DAC with the output of ADC.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top