Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDoes the top level not output some form of direction signal? like a write-enable or read enable?
if it does, then the testbench process can just do this:
dato_PWM : process(read_en)
begin
if read_en = '1' then
tdat_dsp <= "00000000000000000000001110000100";
else
--UUT is trying to write data to testbench
tdata_dsp <= (others => 'Z');
end if;
end process;