answersLogoWhite

0

In VHDL, the next statement or command or instance is generally selected using a clock pulse.

clk'event and clk = '1'

means rising edge of the clock.

clk'event and clk = '0'

means rising falling of the clock.

The statement written after this line executes after the occurrence of a rising or falling edge of a clock.

if (clk'event and clk = '1')

The above statement makes the next statement or command to execute for every rising edge of the clock. By applying a clock pulse with minimum time period, we can make the next command to be called.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the vhdl code for binary to hex convertion?

vhdl code for binary to Hexadecimal ?


Vhdl code for assending order of numbers?

vhdl code for ascending order of numbers


What is the vhdl code for 8253 microprocessor?

VHDL code for 8253 need to be written in structural modeling of VHDL. It will be a bunch of programs related to each and every component or functionality we use in 8253 and need to be combined. It is not a single program. It is a combination of several programs.


VHDL code of home security?

VHDL code for home security need to be written in structural modeling of VHDL. It will be a bunch of programs related to each and every home appliance we use and need to be combined. It is not a single program. It is a combination of several programs.


Code for square wave generation in VHDL?

implement vhdl code for counter.output of counter pulse is a square wave


Why should you use vhdl?

VHDL is a hardware description language. Its very purpose is to describe hardware in the form of a program. This program can be understood by the user and the system as well. By implementing the hardware as a code, it is easier to verify its functionality. Hence, to test hardware before it could actually be designed, we should use VHDL.


How vhdl is used?

VHDL is a hardware description language. The purpose of any HDL is to represent hardware as a program. We can write a program (code) for any digital circuit using VHDL. With the help of this code, the output of the circuit can be observed before actually designing it physically.


What is vhdl code for 2 bit sliced processor?

library ieee;


What is simulation in vhdl?

After writing the VHDL code, we wish to verify the code and its functionality. Verifying the code for syntax errors is called compilation. Later, applying the inputs and obtaining the outputs is called simulation. If we are not getting the desired output, we may check our code and re-compile and simulate.


You want vhdl code for finding square root of binary number?

yes


Vhdl code for 8 to 3 priority encoder?

karthika only know answer to this question


What is VHDL calculators?

A virtual calculator can be implemented using VHDL. We call it VHDL calculator.