Which of the following is not true in VHDL?

This question was previously asked in
ISRO Scientist Electronics 2024 Official Paper
View all ISRO Scientist Papers >
  1. Signal assignment can be used inside a FUNCTION
  2. In an ENTITY, all PORTS are SIGNALS by default
  3. (CLKEVENT and CLK = '1' ) can be used to describe the rising edge event of CLK signal
  4. std logic data type can assume a maximum of 3 types of values

Answer (Detailed Solution Below)

Option 4 : std logic data type can assume a maximum of 3 types of values
Free
ISRO Scientist/Engineer Fluid Mechanics Mock Test
0.2 K Users
20 Questions 20 Marks 25 Mins

Detailed Solution

Download Solution PDF

Explanation:

Correct Option Analysis:

The correct answer to the question "Which of the following is not true in VHDL?" is:

Option 4: std_logic data type can assume a maximum of 3 types of values.

This option is incorrect because the std_logic data type in VHDL can represent a total of 9 values, not just 3. These values are:

  • 'U': Uninitialized.
  • 'X': Forcing unknown.
  • '0': Forcing 0.
  • '1': Forcing 1.
  • 'Z': High impedance.
  • 'W': Weak unknown.
  • 'L': Weak 0.
  • 'H': Weak 1.
  • '-': Don't care.

The std_logic data type is one of the most versatile and commonly used data types in VHDL. It allows for a wide range of values, which facilitates the modeling of various digital signals and their behaviors, including undefined or high-impedance states. This flexibility is especially useful for simulating real-world digital circuits, where signals can occasionally be in unknown or intermediate states.

Important Information:

Let’s analyze the other options to understand their validity:

Option 1: Signal assignment can be used inside a FUNCTION.

This statement is false because signal assignment cannot be used inside a FUNCTION in VHDL. Functions are intended to be purely combinational, meaning they do not allow the modification of signals or the use of signal assignments. Instead, functions operate on input parameters and return a value without altering any external state.

Option 2: In an ENTITY, all PORTS are SIGNALS by default.

This statement is true. In VHDL, ports declared in an ENTITY are considered signals by default. They are used to interface between different parts of a design and facilitate communication between components. Ports can have different modes such as in, out, inout, or buffer, depending on their intended use.

Option 3: (CLKEVENT and CLK = '1') can be used to describe the rising edge event of CLK signal.

This statement is true. The expression (CLKEVENT and CLK = '1') is commonly used in VHDL to detect the rising edge of a clock signal. Here’s how it works:

  • The CLKEVENT attribute detects whether the signal CLK has changed in the current simulation cycle.
  • The condition CLK = '1' checks whether the clock signal is now at a high level.
  • Together, these conditions indicate a rising edge of the clock signal.

However, it is worth noting that modern VHDL coding practices typically use the predefined function rising_edge(CLK), which is more concise and explicitly checks for a rising edge.

Conclusion:

The correct answer is Option 4, as the std_logic data type can represent 9 values, not just 3. Understanding the various aspects of VHDL, including signal assignments, entity ports, and event detection, is crucial for designing robust and efficient digital systems. By leveraging the flexibility and capabilities of VHDL, designers can create accurate simulations and implementations of complex digital circuits.

Latest ISRO Scientist Updates

Last updated on Jun 24, 2025

-> ISRO Scientist Engineering apply online 2025 link has been activated (ISRO:ICRB:03(CEPO):2025).

-> A total of 39 vacancies are announced for the ISRO recruitment in Civil, RAC and other disciplines

-> ISRO Scientist Engineering recruitment 2025 notification has been released for 320 vacancies. The last date to fill ISRO application form is June 16 (Advt No. ISRO:ICRB:02(EMC):2025).

-> ISRO Scientist Engineer recruitment 2025 for 31 vacancies has been released. 

->ISRO Scientist recruitment 2025 notification has been released. 

->The last date to apply for ISRO scientist recruitment 2025 is May 30 ( Advt.No. ISRO:ICRB:01:(EMC):2025). 

->Candidates with BE/BTech degree in the respective discipline can only apply for ISRO Scientist recruitment 2025. 

-> Candidates can refer ISRO Scientist previous year paper to prepare for the exam. 

Get Free Access Now
Hot Links: teen patti master update teen patti king teen patti star teen patti online game