按照《VHDL 数字电路设计教程》这本书中写的卫士块实现D触发器的程序,但是出现了问题,程序如下:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity Dflipflop2Source is
port(d,clk,rst:in std_logic;
q:out std_logic);
end Dflipflop2Source;
architecture Behavioral of Dflipflop2Source is
begin
b1:block(clk'event and clk='1')
begin
q<= guarded '0' when rst='1' else d;
end block b1;
end Behavioral;
出现的为题为:
ERROR:HDLParsers:1074 - "D:/desktop/ISEVHDL/add1/Dflipflop2Source.vhd" Line 31. Guarded signal unsupported in block statement.
ERROR:HDLParsers:1024 - "D:/desktop/ISEVHDL/add1/Dflipflop2Source.vhd" Line 33. Guarded unsupported in signal assignment.
相关问题
- 16-bit bitwise and in VHDL?
- “Warning C0007 : Architecture has unbound instance
- VHDL type conversion - found 4 possible definition
- Quartus II use file only in simulation
- VHDL : Multiple rising_edge detections inside a pr
相关文章
- ISE写的.vhd用ISim仿真时输入全是‘U’
- Generating random integer in vhdl
- Decimal number on 7 segment display
- VHDL guarded block 使用时出现Guarded signal unsupported
- VHDL, Can a clocked process introduce latches?
- How to shift a std_logic_vector by std_logic_vecto
- Is it possible to have generic type in vhdl?
- How to deduce from synthesis report
不属于RTL的设计,不要使用。