在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 2304|回复: 3

哪位朋友能帮我检查下关于TAP CONTROLLER的代码?

[复制链接]
发表于 2008-4-13 05:44:19 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
I am using Board FPGA Spartan3 and want to readback using JTAG TDO pin,the following is part of my source code (based on the TAP statemachine):
My question is that it seems that no data is clocked  out of the TDO pin

process (JCLK)   
begin

if rising_edge(JCLK) then
  .........................
         ...............................

    if (COUNTER = 17) then               -- IDCODE Bit 5=0
            TMS <= '0';
            TDI <= '0';
        end if;
        if (COUNTER = 19) then --IDCODE Bit 6 (MSB)=0    --Exit-IR1
            TMS <= '1';         --Update-IR               --Select-DR-Scan
            TDI <= '0';
        end if;
        if (COUNTER = 25) then --Capture-DR              --Shift-DR
            TMS <= '0';
            TDI <= '0';
        end if;
        if (COUNTER = 29) then --
           TMS <= '0';
            DATAOUT_SIG(0) <= TDO;
        end if;
   
        if (COUNTER = 31) then
           TMS <= '0';
            DATAOUT_SIG(1) <= TDO;
        end if;

TDO is   definited in the entity as   : in std_logic;                       --Test Data Out
and DATAOUT_SIG is signal of 32 bits width.

Can any one perhaps tell me where is wrong with this using style of readback IDCODE?
发表于 2008-4-14 08:52:35 | 显示全部楼层
你到底要干什么?说的再清楚一些!
发表于 2008-4-14 13:07:11 | 显示全部楼层
是JTAG的吗?
 楼主| 发表于 2008-4-16 20:41:21 | 显示全部楼层
是的是JTAG;我想利用xilinx 的UG332中的TAP State Machine回读配置文件

但是编写的VHDL代码貌似没有将1其读出来,从TDO上读的都是0,不知道哪位大人有经验,能帮我看看可能出错在什么地方。
急等!
我的邮箱traeumerlingling@hotmail.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-11 04:18 , Processed in 0.026017 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表