--- Quote Start ---
has the JTAG to Avalon master bridge you use to be implemented?
--- Quote End ---
Its a standard Qsys component.
--- Quote Start ---
The signals from the fifo have to go to the sdram controller or to the cpu?
--- Quote End ---
That is up to you.
--- Quote Start ---
The commands you use (as jtag_read or jtag_write) can be used by the cpu or only in the console?
--- Quote End ---
The NIOS II CPU cannot "see" the JTAG port, since it is inside the FPGA. You need to use System Console from the host. If all you need is something to generate an Avalon-MM read or write, then you can use the NIOS II processor to generate the transaction. If your SignalTap II trace is at the Avalon-MM slave interface, then either the CPU or JTAG-to-Avalon-MM master can be used.
Cheers,
Dave