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.

Implementing Image processing algorithm using verilog

Status
Not open for further replies.

saimaa

Newbie level 1
Joined
Sep 19, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
verilog image processing

Hi
I want to implement an image processing algo using verilog... I have a design module that calculates histogram of image and gives 2 output 'nout' and 'x'. nout is no.of pixels in a bin while x is centre of bin. i have 10 elements of nout and x each for 10 bins each nout of 12 bits and x of 8 bits. i declared it in verilog as:

module myimhist(nout,x,y,nbin);

parameter length_nout=12; //length of nout
parameter length_xxy=8; //length of x
parameter length_nbin=4; //length of nbin
parameter depth=10;

output [length_nout-1:0] nout[0:depth-1]; //output
output [length_xxy-1:0] x[0:depth-1]; //output

but it gives syntax error when simulated in modelsim for the 2 outputs..... can anybody help me out that how to out these two registered outputs???
Plz reply as soon as possible.
 

image processing using verilog programming

I am not sure, but it might be that you may not have multidimensional arrays as ports.
Kr,
Avi
 

image processing verilog

Hi,
The verilog doesn't support multi dimensional port declaration. I think this feature is available in System verilog.

Try to change the output port declaration and check.
 

image processing algorithm

hey,can any one please help me how to convert multidimensional array into one dimensional array....
i'm new in FPGA and using system generator in matlab..
i want to get camera data into a FPGA...
since its RGB it has dimensions of [mxnx3]
but the GATE IN block allows only one dimension
so can u plz help me to solve the problem
 

Re: image processing algorithm

hey,can any one please help me how to convert multidimensional array into one dimensional array....
i'm new in FPGA and using system generator in matlab..
i want to get camera data into a FPGA...
since its RGB it has dimensions of [mxnx3]
but the GATE IN block allows only one dimension
so can u plz help me to solve the problem

I am having the same problem. Have you solved yours?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top