F
fl
Hi,
I use Matlab HDL Coder generated VHDL code in my project. I find there is a line in which a signal AND with a constant '1'. Does that make sense in that writing? I can ignore such writing to a signal setting without AND the constant?
Thanks,
..............
CONSTANT const_one : std_logic := '1'; -- boolean
SIGNAL phase_0 : std_logic; -- boolean
SIGNAL phase_temp : std_logic; -- boolean
begin
phase_temp <= phase_0 AND const_one;
....
end
I use Matlab HDL Coder generated VHDL code in my project. I find there is a line in which a signal AND with a constant '1'. Does that make sense in that writing? I can ignore such writing to a signal setting without AND the constant?
Thanks,
..............
CONSTANT const_one : std_logic := '1'; -- boolean
SIGNAL phase_0 : std_logic; -- boolean
SIGNAL phase_temp : std_logic; -- boolean
begin
phase_temp <= phase_0 AND const_one;
....
end