In the VHDL code given below, which delay model is used? [code] LIBRARY IEEE; USE IEEE.std_logic_1164.all; ENTITY buffer IS PORT(a : IN

Khánh Đoan

New member
In the VHDL code given below, which delay model is used?
Code:
LIBRARY IEEE;
USE IEEE.std_logic_1164.all;
ENTITY buffer IS
PORT(a : IN STD_LOGIC;
b : OUT STD_LOGIC);
END buffer;
ARCHITECTURE buf OF buffer IS
BEGIN
b <= a AFTER 20 ns;
END buf;
A. Simulation delta model
B. Transport delay model
C. Inertial delay model
D. Multiple driver delay model
 
Answer: c
Explanation: The assignment statement b <= a AFTER 20 ns is a delay statement. As there is no delay type specified, consequently, it will be considered as inertial delay. If one wants to use transport delay model, then it needs to be specified unlike inertial delay. For example, b < TRANSPORT a AFTER 20 ns; this statement will introduce transport delay mechanism.
 

Tìm kiếm

Back
Top