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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1802|回复: 1

求助:5409+EP1C6

[复制链接]
发表于 2005-9-16 21:40:51 | 显示全部楼层 |阅读模式

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

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

x
我用的芯片是TI的5409和ALTERA的EP1C6这款芯片,但是我传送数据总是不成功,我dsp的数据线是通过74LV16245连接到FPGA的I/O口的,地址译码用的是a0-a3,我有一个疑问,我DSP用的是20m晶振倍频过后得到的100m时钟,而FPGA直接用20m晶振的时钟(和DSP用一个晶振)。我用portFFF0 = 0x01;这样的CODE传送数据给FPGA,FPGA中代码如下:
if (RW='0' and IOSTRB='0') then
if (dat /=3) then
dat <= dat+1;
if (dat = 1) then
case LA is
when "0000" =>cmd_code <= D(7 downto 0);
when "0001" =>t_const <= conv_integer(D(13 downto 0));
when "0010" =>p_num <= conv_integer(D(8 downto 0));
when "0011" =>c_flag <= D(1 downto 0);
when "1000" =>f_vector(15 downto 0) <= D;
when "1001" =>f_vector(27 downto 16) <= D(11 downto 0);
f_cnum <= conv_integer(f_vector);
when "1010" =>s_vector(15 downto 0) <= D;
when "1011" =>s_vector(27 downto 16) <= D(11 downto 0);
s_cnum <= conv_integer(s_vector);
when others => NULL;
end case;
end if;
end if;
else
dat <= 0;
end if;
这样的语句,但是两个时钟不一样没有问题吗?
我的数据传送不过去啊,请问哪里有错?
 楼主| 发表于 2005-9-17 12:01:35 | 显示全部楼层

求助:5409+EP1C6

是没有问题的,我开始检测方法有错误,抱歉打搅
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-5-19 15:32 , Processed in 0.054327 second(s), 9 queries , Gzip On, Redis On.

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