Please answer in VHDL code format.
Posted: Tue Jul 12, 2022 8:36 am
Please answer in VHDL code format.
1. (25 points) A and B are integer array described as following type int_array is array (0 to 7) of integer range 0 to 15; constant A: int_array := (8, 14, 13, 9, 1, 3, 5, 11); constant B : int_array := (5, 4, 3, 7, 6, 2, 1, 0); Write a VHDL code to calculate F. F = 7 i=0 (A₁-B₁)² Ai
1. (25 points) A and B are integer array described as following type int_array is array (0 to 7) of integer range 0 to 15; constant A: int_array := (8, 14, 13, 9, 1, 3, 5, 11); constant B : int_array := (5, 4, 3, 7, 6, 2, 1, 0); Write a VHDL code to calculate F. F = 7 i=0 (A₁-B₁)² Ai