Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Communication between NIOSII core and HDL (Verilog) module- Cyclone IVGX

Though I have some background with programming, it is very less when it comes to understanding hardware specifications and resulting functionalities. Therefore even after going through NIOSII reference handbooks, I have to post this question.

problem. I need to create a working model of a NIOSII core communicating (exchanging data bits) with another sequential HDL module in the FPGA. So I create a NIOSII (block symbol file) with 8bit wide pio(output) and another block symbol file of a Verilog module that accepts 8 bit wide input and stores it in a register.

I then create new project with a Block Diagram file as top level entity and have both the blocks (NIOSII and HDL) connected through a bus .

My question is, is this the desired way of exchanging data for my scenario, or are there any other clever and more efficient means to do so.

PS:Why I haven't tried it on the hardware and checked yet is because I am getting errors while implementing a simple NIOSII on the FPGA which I am dealing with separately. Just want to make sure that my though process for my problem is correct.

4 Replies