snakyfactory
Newbie level 3
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...
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...