Altera_Forum
Honored Contributor
13 years agoProblem in getting final output.
hello....
I am trying to build custom peripheral using NIOS II processor on DE 2 board. My application is edge detection of the image using sobel operator. I am using C code for transmitting the image data. Everything is working fine, but after programming the chip I am getting '0' output. Moreover I am using IOWR and IORD command for writing & reading to I/O port. But some pixel values of my image data is not assigned properly. It is assigned as '0'. I am attaching the verilog code, C code and verilog interface code(for custom peripheral) with this. Can any one guide me the errors. Please help me. Thanks.