Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > VHDL/Verilog simulation problem

Thread Tools

VHDL/Verilog simulation problem

Andy Botterill
Posts: n/a
I am trying to do a simulation that has the design described in verilog
and the testbench in VHDL. The simulation compiles and works OK in
ModelSim but gives me problems with Aldec Active-HDL.

Entity "testbench" has been skipped - no difference detected.
Compile Architecture "rtl_not_tb" of Entity "testbench"
Error: ELAB1_0002: The ITF file has an invalide format.
Warning: ELAB1_0026: rtl_not_tb.vhd : (43, 0): There is no default
binding for component "rtl_not".(No entity named "rtl_not" was found).
Top-Level unit detected
Entity => testbench
Compile failure 1 Errors 1 Warnings Analysis time : 0.3 [s]

The VHDL testbench is like this :-

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

entity testbench is
F: out std_logic;
A: in std_logic

--- architecture TB_ARCHITECTURE of rtl_not_tb is
architecture rtl_not_tb of testbench is

component rtl_not
F: out std_logic;
A: in std_logic
end component;

signal IN_A : std_logic := '0';

signal OUT_F : std_logic;

process begin
IN_A <= '0'; wait for 100 ns;
IN_A <= '1'; wait for 100 ns;
IN_A <= '0'; wait for 100 ns;
IN_A <= '1'; wait for 100 ns;
IN_A <= '0'; wait for 100 ns;
IN_A <= '1'; wait for 100 ns;
IN_A <= '0'; wait for 100 ns;
IN_A <= '1'; wait for 100 ns;
IN_A <= '0'; wait for 100 ns;
IN_A <= '1'; wait for 100 ns;

end process;

m: rtl_not port map( F=>OUT_F , A=>IN_A );


The verilog design is like this :-

`define PERIOD 100

module rtl_not( F , A);
output F;
input A;

assign F = ~A;


I am novice at VHDL and would appreciate someone giving some ideas as to
what to check. Many thanks in advance.

[ Test engineer trying to understand more about design. ]

Andy Botterill
Reply With Quote

Thread Tools

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with post-route simulation / timing simulation jasperng VHDL 0 11-27-2008 06:23 AM
Simulation initialization problem Tomek VHDL 8 07-28-2004 06:38 PM
simulation problem Urban Stadler VHDL 1 07-24-2004 05:43 PM
Simulation Problem Naimesh VHDL 3 06-30-2004 03:59 AM
Simulation is OK but problem with synthesis Andy VHDL 5 10-22-2003 06:24 AM