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

Reply

VHDL - Unexpected output in Post-translate Simulation

 
Thread Tools Search this Thread
Old 10-14-2008, 03:32 PM   #1
Default Unexpected output in Post-translate Simulation


Hello everyone,
I am very new in VHDL programming. For my work I am using ISE 10.1 and ModelSim XE III 6.3c. I am facing some problems in programming a simple code. the code is as follows:
------------------------------------------
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity test is
port(
clk: in std_logic;
in_i1: in std_logic_vector(7 downto 0);
out_i1: out std_logic_vector(7 downto 0)
);
end test;

architecture a of test is
signal signed_out_i1: signed(7 downto 0);

begin

process(clk)
begin
if (clk'event and clk = '1') then
signed_out_i1 <= -signed(in_i1);
end if;
end process;

out_i1 <= std_logic_vector(signed_out_i1);

end a;
----------------------------------------

Problem # 1:

I want "signed_out_i1" will be changed to negative of "in_i1" at each clock change to 1. the behavioral (functional) simulation works alright and shows the expected result. But the in the Post-translate simulation the output is not as expected. I used the following testbench code:

--------------------------------------
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity test_tb is
end test_tb;

architecture test_tb_arch of test_tb is
component test
port(
clk: in std_logic;
in_i1: in std_logic_vector(7 downto 0);
out_i1: out std_logic_vector(7 downto 0)
);
end component;

signal clk: std_logic;
signal in_i1,out_i1: std_logic_vector(7 downto 0);

begin
aaaa: test port map(clk,in_i1,out_i1);

process
begin
clk<='0';
in_i1<="11111111";
wait for 50 ns;

clk<='1';
in_i1<="00000001";
wait for 50 ns;

clk<='0';
in_i1<="00000001";
wait for 50 ns;

clk<='1';
in_i1<="11111111";
wait for 50 ns;
end process;

end test_tb_arch;

configuration AOA of test_tb is
for test_tb_arch
end for;
end AOA;
-----------------------------------------------------------
the expected output should be either "00000001" or "11111111". But in the output it shows "11001001" and "00110111". Can anyone explain what is the problem?

Problem # 2:
Another problem is that when I run Post-map Simulation or Post-route simulation in ISE 10.1 the simulation output is not shown in Modelsim. It shows the following ERROR in ModelSim:

# ** Warning: Design size of 12274 statements or 0 non-Xilinx leaf instances exceeds ModelSim XE-Starter recommended capacity.
# Expect performance to be quite adversely affected.
# ** Error: (vsim-SDF-3250) netgen/map/test_map.sdf(0): Failed to find INSTANCE '/UUT'.
# Error loading design
# Error: Error loading design
# Pausing macro execution
# MACRO ./test_tb.mdo PAUSED at line 8

How to solve the problem?

I will be very greatful if anyone can help me to solve the problems.

Thanks and best regards,

Pantho


500milesaway
500milesaway is offline   Reply With Quote
Old 02-04-2009, 11:28 AM   #2
muddassir_asif
Junior Member
 
Join Date: Feb 2009
Posts: 2
Unhappy post route simulation problem
Hi!
i am having same problem, i am using ISE 8.1 adn modelsim 5.7f.
when i run post-map and post route simulation, modelsim gives error...

** Error: (vsim-SDF-3250) C:/Xilinx/xorrngxilinx3/netgen/map/xorrng1_map.sdf(0): Failed to find INSTANCE '/UUT'.
# Error loading design

can anyone please help me!! i really need to do post-par simulation!
thanks in advance


muddassir_asif
muddassir_asif is offline   Reply With Quote
Old 02-04-2009, 10:24 PM   #3
joris
Member
 
Join Date: Jan 2009
Posts: 31
Default
That means, you need to rename the component you are testing, to UUT. You currently have "aaaa" as name. Xilinx assumes the name to be "UUT"

In case you don't want to do that, you can:
  1. Right-click "Simulate Post-Place and Route model"
  2. Change the value of "ISim UUT Instance Name" (clicking the value field, it becomes editable)

Hope that helps,

Joris


joris
joris is offline   Reply With Quote
Old 03-11-2009, 06:59 PM   #4
Mike
Junior Member
 
Join Date: Mar 2009
Posts: 2
Default Please help with post-PAR simulation
I the warning below when I tried to perform post PAR simulation.

Loading work.tb_post_par_sim(func)
# ** Warning: (vsim-3473) Component instance "uut : ssdn_bb_fpga_ert_timesim" is not bound.
# Time: 0 ps Iteration: 0 Region: /tb_post_par_sim File: tb_post_par_sim.vhd

Please help on resolve this. I already spent more than a week to deal with this problem.

Thank you very much.

Mike


Mike
Mike is offline   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
CISCO 1801 DNS problem marsav Hardware 2 07-05-2009 11:41 PM
Post-Route Simulation does not give output for the first clock cycle Options velocityreviews Software 0 04-17-2007 05:47 PM
simulation Tom MCITP 0 04-05-2007 01:40 AM
Sony Precision Cinema Progressive Output vs Component 480p Output Otto Pylot DVD Video 1 04-18-2004 10:49 PM
Panasonic S25 DVD player w/o S-video output - will its replacement have S-video? Mark DVD Video 1 02-11-2004 04:19 PM




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