找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

查看: 2079|回复: 0

[求助] 大虾 帮忙看下程序问题在哪 

[复制链接]
发表于 2005-7-8 15:13:12 | 显示全部楼层 |阅读模式

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

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

×
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity testctl is
port (                  clkk: in std_logic;
          cnt_en,rst_cnt,load: out std_logic);
end testctl;
architecture Behavioral of testctl is
     signal div2clk:std_logic;
begin
process(clkk)
begin
  if clkk'event and clkk='1' then div2clk<=not div2clk;
  end if;
end process;
process(clkk,div2clk)
begin
   if clkk='0' and div2clk='0' then rst_cnt<='1';
    else rst_cnt<='0';
   end if;
end process;
load<= not div2clk; cnt_en<=div2clk;
end Behavioral;
编译没有错误,但是仿真没结果,
好象是  “div2clk”在里面没起作用。
本人新手。 大虾帮忙看下,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则


QQ|手机版|小黑屋|关于我们|联系我们|隐私声明|EETOP 创芯网 ( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2026-1-16 01:26 , Processed in 0.020007 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表