Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- this is the code iam trying to use BEGIN to_adder <= writedata; --WITH (chipselect AND write) SELECT adder_instance: adder PORT MAP (clock, resetn, to_adder, from_adder); readdata <= from_adder; --- Quote End --- Any progress on this part? Avalon read write data on rising edge of clock, also reset_n is better if implemented on, other signals: readdata, writedata tell logic about data direction, cs tell your module it is selected and address in yor case select one of four register. You need also test byteselect vector too. Did you learnt something from 32 bit register example? Regards