Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Newbie question - Instantiation of a VHDL Module

Status
Not open for further replies.

snakyfactory

Newbie level 3
Joined
Jul 30, 2008
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
behavioral is not an architecture body

Hi,

I hv two vhdl done, boothmultiplier.vhd and ap.vhd.

ap.vhd is using boothmultiplier as component, and I wrote:

use_boothmultiplier: entity work.Boothmultiplier(rtl)
port map(
clk => clk,
rst => rst,
multiplier => bmultiplier,
multiplicand => bmultiplicand,
inp_ready => binp_ready,
outp_ready => boutp_ready,
outp => bout
);

simulation of ap.vhd is fine. I can read all the signals of both ap and boothmultiplier.

Now, I try to write a filter.vhd which would use ap.vhd as component, I write the similar stuff:

use_apv5: entity work.all_pass_v5(Behavioral)
Port map (
clk => clk,
rst => rst,
a => a(0),
x => x_int,
y => y_int,
inp_ready => inp_ready_int,
outp_ready => outp_ready_int
);

this time, simulation only show me the signals of ap and filter, missing those of boothmultiplier. Even though I still could find and drag the boothmultiplier's signals from [Sim Objects] tab, it is not showing me the chosen signals...

and the simulation run in the way that suppose the boothmultiplier is absent, or hv no signals.


wht's the problem i made???

should i declare boothmultiplier again in filter.vhd??


p.s. it always give me an error msg:

ERROR:HDLParsers:3281 - "C:/Xilinx/10.1/FYP/Filters/filter_tester_v2.vhd" Line 64. Behavioral is not an architecture body for all_pass_v5 in library work.

but simulation still work fine...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top