martur
Newbie level 4

hello
i have a problem with vhdl. in fact, i wrot the testbench file to simulate my design. in this file i need to assign a particular value to a signal during a particular periode. so i used the following expression:
clk <= '0'; wen <= '1'; wait for 25 NS; wen<= '0'; wait for 25 NS;
clk <= '1'; wait for 50 NS;
(the clock periode is equal to 100ns)
so the simulation gives me the correct results.but as you know, i can't synthesis my design and implemente it in FPGA with "wait" instruction...so my question is, what should i do to make the signal "wen" maintained to 0 during 1/4 of periode and after that, maintained to 1 during 1/4 of period. how can i devide the clock???
thank you in advance
i have a problem with vhdl. in fact, i wrot the testbench file to simulate my design. in this file i need to assign a particular value to a signal during a particular periode. so i used the following expression:
clk <= '0'; wen <= '1'; wait for 25 NS; wen<= '0'; wait for 25 NS;
clk <= '1'; wait for 50 NS;
(the clock periode is equal to 100ns)
so the simulation gives me the correct results.but as you know, i can't synthesis my design and implemente it in FPGA with "wait" instruction...so my question is, what should i do to make the signal "wen" maintained to 0 during 1/4 of periode and after that, maintained to 1 during 1/4 of period. how can i devide the clock???
thank you in advance