P
Peter Hermansson
Guest
Hi,
I have no luck in using the 'driving_value attribute. The following
simple code creates a "No driver in this region for 'driving or
'driving_value attribute of signal v" error message in Modelsim.
library ieee;
Use ieee.std_logic_1164.all;
Entity test Is
Port(
a : In Std_logic;
b : In Std_logic;
y : Out Std_logic;
v : Out Std_logic
);
End test;
Architecture RTL Of test Is
Begin
v <= a or b;
y <= a and v'driving_value;
End Architecture RTL;
I have activated the VHDL93 switch....
Have I misunderstood how to use this attribute?
Thanks in advance,
Peter
I have no luck in using the 'driving_value attribute. The following
simple code creates a "No driver in this region for 'driving or
'driving_value attribute of signal v" error message in Modelsim.
library ieee;
Use ieee.std_logic_1164.all;
Entity test Is
Port(
a : In Std_logic;
b : In Std_logic;
y : Out Std_logic;
v : Out Std_logic
);
End test;
Architecture RTL Of test Is
Begin
v <= a or b;
y <= a and v'driving_value;
End Architecture RTL;
I have activated the VHDL93 switch....
Have I misunderstood how to use this attribute?
Thanks in advance,
Peter