Forum Discussion
Altera_Forum
Honored Contributor
14 years agoVHDL problem: inputs and constants
Hi all, I've a problem in VHDL. This code runs correctly:
library IEEE;
use IEEE.std_logic_1164.all;
entity CLOCK_SIM is
generic
(
constant FREQ : integer:=10000000;
constant DUTY ...
Altera_Forum
Honored Contributor
14 years agochange TCLKH and TCLKL to signals or variables, and calculate their value at runtime, rather than at elaboration time. Currently, they use the initial value of FREQ, which will be -2^31.