阅读:983回复:2
求助!
process(clk1,clk2)
begin if (clk2\'event and clk2=\'1\') then p1: for i in 0 to 127 loop if (clk1\'event and clk1=\'1\') then u3: ad78651 port map(clk=>clk, eoc=>eoc, busy=>busy, frstdata=>frstdata, const=>const, rd=>rd, cs=>cs, sel=>sel, sl1=>sl1, sl2=>sl2, sl3=>sl3, vdin=>vdin, idin=>idin, vadout=>dout1, vbdout=>dout2, vcdout=>dout3, iadout=>dout4, ibdout=>dout5, icdout=>dout6); 为什摸会发生“prevent further process\"的错误。 |
|
|
沙发#
发布于:2003-10-01 23:38
process()
begin if (clk2\'event and clk2=\'1\') then if (clk1\'event and clk1=\'1\') then end process; 不能在一个process下设置两个边缘触发的! |
|
板凳#
发布于:2003-10-01 23:40
改成这样
process(clk2) clk1_reg<=clk1 end process; process(clk2) if clk2\'event and clk2=\'1\' then if clk1_reg=\'0\' and clk1=\'1\' then port map........ end process; 假设clk2频率高于clk1 |
|