Forum Discussion
Altera_Forum
Honored Contributor
11 years agoVirtual JTAG counter to TDO
Hi everyone, I'm new in FPGA verilog system. I have a DE0 nano from Terasic (http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&no=593&from=fb-like). During my little train...
Altera_Forum
Honored Contributor
11 years agoHi,
I do another test. And with a simple shift register Parallel in serial out, all work correctly. I have changed a part of my code I work every positive edge clock. But nothing change.
always @(posedge tck)
begin
case (ir_in)
00 :
begin
if (v_cdr)
begin
dr1_tmp_reg = out_data;
visual = dr1_tmp_reg;
end
else
begin
if(v_sdr)
tdo = dr1_tmp_reg;
dr1_tmp_reg = {dr1_tmp_reg,dr1_tmp_reg};
end
end
endcase
end
Is the TDO do a first one bit shift before sending information ?