Which datatype was NOT part of the original VHDL standard from 1987? |
1) bit 2) boolean 3) std_logic 4) character |
How many architectures can be created for one entity? |
1) 1 2) 2 3) 65536 4) no upper limit defined |
What is WRONG regarding assignments in VHDL? |
1) Signal assignments always includes a delay 2) Signals can not be assigned a value from a variable 3) Variables assignments can not include a delay 4) Signal assignment uses <= operator |
What is WRONG related to VHDL? |
1) The language is a strongly typed language 2) The language has been standardized (by IEEE) 3) The language is object-oriented (i.e. support inheritance) 4) The language has been revised a number of times |
source file: INL1_KA.vhdl Name of the source file Entity: INL1_KA Name of the entity architecture: KA Name of the architecture Inputs: A data in, bit B data in, bit C data in, bit Outputs: Y data out, bit Behavour: Create a 3-input NOR gate. Example: A='0',B='0',C='0' => Y='1' A='1',B='0',C='1' => Y='0'
source file: INL1_KB.vhdl Name of the source file Entity: INL1_KB Name of the entity architecture: KB Name of the architecture Inputs: A data in, bit B data in, bit C data in, bit Outputs: Y data out, bit Behavour: Create a 3-input OR gate with a 3 ns output delay. Any output pulse shorter than 3 ns should be filtered out. Example: A='0', B='1', C='0' for a long time => Y='1' A='0', B='1', C='0', B change to '0' at time 2 ns, C='1' at 4 ns => Y='1' (no change) A='0', B='0', C='1',BC change to '0' at time 6 ns => Y='0' from time 9 ns
source file: INL1_KC.vhdl Name of the source file Entity: INL1_KC Name of the entity architecture: KC Name of the architecture Inputs: A data in, bit_vector(0 to 2) Outputs: Y data out, bit Behaviour: Output a '1' if 2 or 3 elements in A are '1', output '0' otherwise Example: A="010" => Y='0' A="110" => Y='1'
source file: INL1_KD.vhdl Name of the source file. Entity: INL1_KD Name of the entity architecture: KD Name of the architecture Inputs: A data in, bit_vector(0 to 3) B data in, bit_vector(1 downto 0) Outputs: Y data out, bit Behaviour: Create a multiplexer where B selects which element in A to output on Y. B is decoded as an unsigned 2-bit value and used as index into A. Example: A="0100",B="01" => Y='1' A="1010"'B="11" => Y='0'