Hey there guys,
I'm not too much of newbie with FPGA design but I'm very bad with interfacing FPGA's to other hardware. At the moment, I'm just trying to design a simple module to send 16byte packets using the Davicomm ethernet controller on the DE2 board.
I know this might sound stupid, but can anyone tell me what sequence of inputs I have to give the chip so I can write addresses and data to it? For example, to write data to an address, I do the following using an FSM coded with verilog:
state 1: set CS=0,WR=0,RD=1,CMD=0,Data=address_to_write_to;
state 2: set CS=0,WR=0,RD=1,CMD=1,Data=data_to_store;
the thing is, when i try to read from the address i stored stuff to, i never get the value I stored. Can anyone maybe advice me on a better approach to this or maybe the right sequence of commands?
Also, I really can't do much with NIOS because I have no clue about it.