------------------------------------------------------------------------------- -- Crypto Chip -- Copyright (C) 1999, Projektgruppe WS98/99 -- University of Stuttgart / Department of Computer Science / IFI-RA ------------------------------------------------------------------------------- -- Designers: Joerg Holzhauer -- Group : DES ------------------------------------------------------------------------------- -- Design Unit Name: DES_InverseInitialPermutation -- Purpose: Gate for the DES-module-core for the cryptochip "pg99" -- -- File Name: ip-1.vhd ------------------------------------------------------------------------------- -- Simulator : SYNOPSIS VHDL System Simulator (VSS) Version 3.2.a ------------------------------------------------------------------------------- -- Date 09.11.98 | Changes -- | -- | ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- contents : port-description of one Gate of the DES-Module -- ------------------------------------------------------------------------------- library IEEE; use IEEE.STD_LOGIC_1164.all; entity DES_InverseInitialPermutation is port (i :in STD_LOGIC_VECTOR(1 to 64); o :out STD_LOGIC_VECTOR(1 to 64)); end DES_InverseInitialPermutation; architecture behavorial of DES_InverseInitialPermutation is begin process(i) begin o(1)<=i(40); o(2)<=i(8); o(3)<=i(48); o(4)<=i(16); o(5)<=i(56); o(6)<=i(24); o(7)<=i(64); o(8)<=i(32); o(9)<=i(39); o(10)<=i(7); o(11)<=i(47); o(12)<=i(15); o(13)<=i(55); o(14)<=i(23); o(15)<=i(63); o(16)<=i(31); o(17)<=i(38); o(18)<=i(6); o(19)<=i(46); o(20)<=i(14); o(21)<=i(54); o(22)<=i(22); o(23)<=i(62); o(24)<=i(30); o(25)<=i(37); o(26)<=i(5); o(27)<=i(45); o(28)<=i(13); o(29)<=i(53); o(30)<=i(21); o(31)<=i(61); o(32)<=i(29); o(33)<=i(36); o(34)<=i(4); o(35)<=i(44); o(36)<=i(12); o(37)<=i(52); o(38)<=i(20); o(39)<=i(60); o(40)<=i(28); o(41)<=i(35); o(42)<=i(3); o(43)<=i(43); o(44)<=i(11); o(45)<=i(51); o(46)<=i(19); o(47)<=i(59); o(48)<=i(27); o(49)<=i(34); o(50)<=i(2); o(51)<=i(42); o(52)<=i(10); o(53)<=i(50); o(54)<=i(18); o(55)<=i(58); o(56)<=i(26); o(57)<=i(33); o(58)<=i(1); o(59)<=i(41); o(60)<=i(9); o(61)<=i(49); o(62)<=i(17); o(63)<=i(57); o(64)<=i(25); end process; end behavorial;