Altera_Forum
Honored Contributor
15 years agoIncluding own logic to sopc system
Hi,
I'm an altera-beginner working on a project to correct pixel-data on an FPGA (ep3c120 development board with cyclone3). Im sending 8-bit pixel-values from my pc with tcpip-packets which are received by a modified version of the simple socket server example, and the placed in SDRAM using the IOWR-function. So far so good! The board is configured with the standard hardware example from the CD. Now I want to add some custom HDL logic to this system. The input to the logic is several 8-bit values, which will be used in some calculations and result in an output of one 8 bit value. What is the easiest way to include my logic to the standard hardware example? I'm looking into the component editor in the sopc builder, but I'm finding it hard to understand which interfaces and signals I need to make it work. I would like to be able to write data (IOWR) to my component from a C-program running on Nios, and read (IORD) the result back. Any thought, hints or ideas are greatly appreciated.