Altera_Forum
Honored Contributor
13 years agoSIGSEGV in ModelSim 10.0c
I get the following error doing RTL simulation in ModelSim
--- Quote Start --- # Loading work.ple(a) # ** Fatal: (SIGSEGV) Bad handle or reference. # Time: 0 ps Iteration: 0 Process: /iddreaderbinning_vhd_tst/i1/line__195 File: C:/qdesigns/c-cam/cameras/sensor/cmosis/cmvremap/cmvremapbinning/iddreaderbinning/iddreaderbinning.vhd # FATAL ERROR while loading design # Error loading design --- Quote End --- The offending line is in bold:
begin
process(Clk, Reset) is
begin
if Reset = '1' then
oddline <= '0';
Q <= (others => '0') ;
muxsel <= 0 ;
elsif rising_edge(Clk) then
if (StartOfFrame = '1') or (EndOfLine = '1') then
oddline <= (not StartOfFrame) and (not oddline) ;
end if;
if (pl_Ena(0) = '1') then
Q <= subvector( std_logic_vector(
to_unsigned(
( to_integer( unsigned( subvector(ramreader_Q , WIDTH_D * 1 - 1 , WIDTH_D * 0 )))
+ to_integer( unsigned( subvector(ramreader_Q , WIDTH_D * 2 - 1 , WIDTH_D * 1 ))))
+ ( to_integer( unsigned( subvector(ramreader_Q , WIDTH_D * 3 - 1 , WIDTH_D * 2 )))
+ to_integer( unsigned( subvector(ramreader_Q , WIDTH_D * 4 - 1 , WIDTH_D * 3 )))) ,
WIDTH_D + 2)) ,
WIDTH_D + 2 - 1 , WIDTH_D - WIDTH_Q + 2 ) ;
end if ;
muxsel <= to_integer( unsigned( subvector( ramreader_A , ADDRESS_WIDTH , ADDRESS_WIDTH - 1 ))) ;
end if;
end process ;
process(EndOfLine , oddline , YHeight , D , rowcounter_Q , ramreader_A , muxeven_Q , muxodd_Q , ramreader_EoP , ramreader_RdAvail , pl_WrFree)
variable rowcounterqslv : std_logic_vector(WIDTH_ROWCOUNT - 1 downto 0) ;
begin
ramreaderstartp <= EndOfLine and oddline;
rowcountermax <= to_integer( unsigned( YHeight)) ;
muxevend <= subset_stdlogic_2D( D , 3 , 0 ) ;
muxoddd <= subset_stdlogic_2D( D , 7 , 4 ) ;
rowcounterqslv := std_logic_vector( to_unsigned( rowcounter_Q , WIDTH_ROWCOUNT )) ;
A <= combine_slv( rowcounterqslv(0) , subvector(ramreader_A , ADDRESS_WIDTH - 2 , 0)) ;
ramreaderdata <= combine_slv( muxodd_Q , muxeven_Q ) ;
rowcountercnten <= ramreader_EoP and ramreader_RdAvail and pl_WrFree ;
end process;
rowcounter : upcounter
generic map( Any suggestions ?