W
woutput
Guest
Bonjour à tous, pouvez-vous m'aider à résoudre mon dernier problème, s'il vous plaît? Je voudrais avoir un tableau en entrée (port) à mon entité. Est-ce possible? Si oui, comment? Maintenant, j'ai quelque chose comme: IEEE bibliothèque
Parce que je me envie de faire quelque chose comme
Code:
; ieee.std_logic_1164.all utilisation; ieee.std_logic_unsigned.all utilisation, - d'utiliser "-" sur l'utilisation ieee.numeric_std.all std_logic_vector; A_SPAC entité est BOUNDARY_INFORMATION_TYPE type est un tableau ( LIMITES - 1 downto 0) de std_logic_vector (ADDR_SP_BITS + + NODE_ID_BITS QOS_BITS - 1 downto 0); génériques - A_SPAC (QOS_BITS: integer: = 2; NODE_ID_BITS: integer: = 2; ADDR_SP_BITS: integer: = 8; LIMITES: integer: = 4;); port - A_SPAC (BOUNDARY_INFORMATION: dans BOUNDARY_INFORMATION_TYPE; - std_logic_vector (LIMITES - 1 downto 0) (+ ADDR_SP_BITS NODE_ID_BITS + QOS_BITS - 1 downto 0);); entité finale A_SPAC;
Code:
architecture de A_SPAC SPAC_ARCH est de commencer BOUNDARY_INFORMATION (1) (2)