F
fpgaengineer
Guest
Im am trying to simulate a full design (top entity of a Xilinx
Project) and stumble of a modelsim error:
Netgen produces the full *.vhd and compiling it from ModelSim ended
with no error. But after starting the simulation, the following error
occurs: "Fatal error in Process determine_phase_shift at 7814"
In the Unisim.Lib (which is correctly referenced in the full vhdl) I
am observing the attched lines, where in 7814 it says " ps_step_int :=
(PS_STEP / 1 ps ) * 1; "
Well, ps_step_int seems to be initialized correctly but read nowhere
in the whole lib. Anybody can make suggestions about that?
Thanks
------------------
determine_phase_shift : process
variable Message : line;
variable first_time : boolean := true;
variable ps_in : integer;
variable ps_acc : integer := 0;
variable ps_step_int : integer := 0;
begin
if (first_time = true) then
if ((CLKOUT_PHASE_SHIFT = "none") or (CLKOUT_PHASE_SHIFT =
"NONE")) then
ps_in := 256;
elsif ((CLKOUT_PHASE_SHIFT = "fixed") or (CLKOUT_PHASE_SHIFT =
"FIXED")) then
ps_in := 256 + PHASE_SHIFT;
elsif ((CLKOUT_PHASE_SHIFT = "variable") or (CLKOUT_PHASE_SHIFT
= "VARIABLE")) then
ps_in := 256 + PHASE_SHIFT;
end if;
ps_step_int := (PS_STEP / 1 ps ) * 1;
first_time := false;
end if;
Project) and stumble of a modelsim error:
Netgen produces the full *.vhd and compiling it from ModelSim ended
with no error. But after starting the simulation, the following error
occurs: "Fatal error in Process determine_phase_shift at 7814"
In the Unisim.Lib (which is correctly referenced in the full vhdl) I
am observing the attched lines, where in 7814 it says " ps_step_int :=
(PS_STEP / 1 ps ) * 1; "
Well, ps_step_int seems to be initialized correctly but read nowhere
in the whole lib. Anybody can make suggestions about that?
Thanks
------------------
determine_phase_shift : process
variable Message : line;
variable first_time : boolean := true;
variable ps_in : integer;
variable ps_acc : integer := 0;
variable ps_step_int : integer := 0;
begin
if (first_time = true) then
if ((CLKOUT_PHASE_SHIFT = "none") or (CLKOUT_PHASE_SHIFT =
"NONE")) then
ps_in := 256;
elsif ((CLKOUT_PHASE_SHIFT = "fixed") or (CLKOUT_PHASE_SHIFT =
"FIXED")) then
ps_in := 256 + PHASE_SHIFT;
elsif ((CLKOUT_PHASE_SHIFT = "variable") or (CLKOUT_PHASE_SHIFT
= "VARIABLE")) then
ps_in := 256 + PHASE_SHIFT;
end if;
ps_step_int := (PS_STEP / 1 ps ) * 1;
first_time := false;
end if;