The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> image processing
https://designers-guide.org/forum/YaBB.pl?num=1235258873

Message started by mtech84 on Feb 21st, 2009, 3:27pm

Title: image processing
Post by mtech84 on Feb 21st, 2009, 3:27pm

how do i read a image in verilog-ams.

Title: Re: image processing
Post by Andrew Beckett on Feb 22nd, 2009, 11:18am

If you want to do it directly, you'd have to write a VPI (Verilog Programming Interface) function to do it - i.e. write some C/C++ code and then pass the information to the simulator.  I'd be surprised if any mainstream simulators have this as a built-in function.

Alternatively you could use the $readmemh function, but you'll have to convert the data to something suitable.

Or you could do a co-simulation between AMS Designer (Cadence's AMS simulator) and Simulink, say.

Regards,

Andrew.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.