Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Yet another modelsim problem

 
Thread Tools Search this Thread
Old 08-12-2003, 11:13 AM   #1
Default Yet another modelsim problem




Completed process "Generate Post-Translate Simulation Model".

ERROR: Hidden remap failed
Reason:

Launching Application for process "Simulate Post-Translate VHDL Model".



not only the software's stupid enough to launch the GUI after the error,
but there is not a single entry about this error in the xilinx database, on
the modelsim server or even in google (but me complaining about the same
problem a month ago)
The 'reason' field is as useful as usual this time they just didn't
bother typing a message that makes no sense, they just left it empty.

here's the code:

process(Reset, MasterClock) is
variable counter : std_logic_vector(2 downto 0);
begin
if(Reset = '1') then
counter := "000";
elsif(rising_edge(MasterClock)) then
dividedclock <= counter(2);
counter := counter + 1;
end if;
end process;

so, all the calls to modelsim, regardless of the type (post translate, post
map, etc) fail the same way.

then 'generated expected simulation results' yields another interesting
problem:

if, in the timing constraints, I select the clock to be rising edge only,
it works; if I pick dual edge, it just 'skips' cycles every 30 or so in the
display and everything gets out of sync...

Any ideas?


Thomas
  Reply With Quote
Old 08-14-2003, 07:14 AM   #2
K Mussatt
 
Posts: n/a
Default Re: Yet another modelsim problem
The FPGAs I have worked and do work with do not allow for a dual edged CLK.
Assuming your does and /or assuming the
synthesizer does some neat trick to allow this for your FPGA, maybe you
could specifiy rising clock edge if in the layer above
this entity, you had a faster clock divide by 2 to make this clock that you
are using here. I dont' know if that is a possibility, but
I do remember running into some odd synthesis problems once trying to make a
dual edged clock.

Also, it has been my experience to 'not' do a divided clock by using one of
the bits, but rather to use it as an enable to drive
something maintaining sync with the one and only true clock.

PROCESS abc (CLK, RESET) BEGIN

DIV_2_EN <= COUNTER(2); -- pick the bit off you want to use
DIV_2_EN_R <= DIV_2_EN; -- make another signal delayed by one (true) clk
value
END PROCESS abc
--outside of the CLK do this:
DIV2CLK <= '1' when DIV_2_EN ='1' and DIV_2_EN_R = '0' else '0'; -- this is
not a 50% duty cycle clock, but it has the correct freq. of CLK/2

-Kip

"Thomas" <tom3@_nostupidspam_protectedfromreality.com> wrote in message
news...
>
>
> Completed process "Generate Post-Translate Simulation Model".
>
> ERROR: Hidden remap failed
> Reason:
>
> Launching Application for process "Simulate Post-Translate VHDL Model".
>
>
>
> not only the software's stupid enough to launch the GUI after the error,
> but there is not a single entry about this error in the xilinx database,

on
> the modelsim server or even in google (but me complaining about the same
> problem a month ago)
> The 'reason' field is as useful as usual this time they just didn't
> bother typing a message that makes no sense, they just left it empty.
>
> here's the code:
>
> process(Reset, MasterClock) is
> variable counter : std_logic_vector(2 downto 0);
> begin
> if(Reset = '1') then
> counter := "000";
> elsif(rising_edge(MasterClock)) then
> dividedclock <= counter(2);
> counter := counter + 1;
> end if;
> end process;
>
> so, all the calls to modelsim, regardless of the type (post translate,

post
> map, etc) fail the same way.
>
> then 'generated expected simulation results' yields another interesting
> problem:
>
> if, in the timing constraints, I select the clock to be rising edge only,
> it works; if I pick dual edge, it just 'skips' cycles every 30 or so in

the
> display and everything gets out of sync...
>
> Any ideas?





K Mussatt
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial Up Problem smackedass A+ Certification 3 02-02-2007 11:59 PM
Re: Virus Problem ** Help!** David BlandIII A+ Certification 1 03-02-2004 06:00 PM
Pioneer DVR3100S problem with Satellite receiver Samsung DCR 9500 Fredrik Bengtsson DVD Video 0 12-12-2003 02:32 PM
Re: Serious Computer Problem hootnholler A+ Certification 1 11-24-2003 12:18 PM
Re: Serious Computer Problem Bret A+ Certification 0 11-19-2003 12:51 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46