Which of the following is the correct syntax for declaring a SUBTYPE?
Which of the following is the correct syntax for declaring a SUBTYPE? Correct Answer SUBTYPE subtype_name IS TYPE subtype_range
The correct way to define a SUBTYPE is the syntax shown in option d. For example, if we want to define a SUBTYPE of STD_LOGIC with 3 values only like X, 0 and 1. We can define it as SUBTYPE my _ subtype IS STD_LOGIC RANGE ‘X’ TO ‘1’.
মোঃ আরিফুল ইসলাম
Feb 20, 2025