• retagged by
497 views
0 0 votes
Which of the following statement regarding a constant is not true

a. Constant defined in a package can be referenced by any entity or architecture for which package is used.

b. The value of constant can be changed with in the design description

c. Constant defined in an architecture is visible only to that architecture

d. Constant defined in a process declarative region is not visible outside that process

1 Answer

0 0 votes

In VHDL (VHSIC Hardware Description Language), a constant is a value that cannot be changed once it is defined. This is the core property of a constant — it's immutable.

Let's analyze the options:

  • a. Constant defined in a package can be referenced by any entity or architecture for which package is used
     True — Constants in packages are global to the design units that use the package.

  • b. The value of constant can be changed within the design description
     Not True — Constants cannot be changed once defined. This statement is false.

  • c. Constant defined in an architecture is visible only to that architecture
     True — Its scope is local to that architecture.

  • d. Constant defined in a process declarative region is not visible outside that process
    True — Its scope is limited to the process block.

Position:
Show:

Related questions

0 0 votes
1 1 answer
598
598 views
sh!va asked Feb 28, 2017
598 views
In a 8085 microprocessor system with memory mapped I/Oa. I/O devices have 8 bit addressb. I/O devices are accessed using IN and OUT instructions.c. There can be maximum 2...
0 0 votes
1 1 answer
599
599 views
sh!va asked Feb 28, 2017
599 views
When a microprocessor interfaces with a peripheral or memory device, the normal timing of the microprocessor may need to be altered by introducing____a. Latchingb. Wait s...
0 0 votes
1 1 answer
781
781 views
sh!va asked Feb 28, 2017
781 views
Which of the following statements with reference to a generic microprocessor is correct?a. Instruction cycle time period is exactly equal to machine cycle time periodb. I...
2 2 votes
1 1 answer
835
835 views
sh!va asked Feb 28, 2017
835 views
A microprocessor with 12 bit address bus will be able to access ________ kilobytes of memorya) 0.4b) 2c) 10d) 4