C
Chris Waugh
Can anyone please tell me how to give one clock cycle in VHDL testbench? The output result some come with one clock cycle. How can I do that?
clk_process rocess
begin
clk <= '0';
wait for clk_period/2;
clk <= '1';
wait for clk_period/2;
end process;
-- Stimulus process
stim_proc: process
begin
-- hold reset state for 100 ns.
wait for 5 ns;
reset <= '1';
wait for 10 ns;
reset <= '0';
wait for 10 ns;
a <= "1011011111101110000001010101111111100001101010000111111000000111100000011110101010101100111010011100101010111101011110001010111100101011000010101101011010101111010";
-- insert stimulus here
wait;
end process;
Can anyone please tell me how to give one clock cycle in VHDL testbench? The output result some come with one clock cycle. How can I do that?
The whole result should come WITHin one clock cycle only. I am taking a 163-bit input and doing the squaring after after reduction using irreduciblepolynomial,I am getting a 163-bit output. So I want the result of that 163-bit AFTER one clock duration only. How can I do that?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.