1 |
6 |
marta |
-- File Name : idea_heart_1r.pat --
|
2 |
|
|
-- Description : The test patterns of the one-round idea processor heart --
|
3 |
|
|
-- for the normal verification of the structural view --
|
4 |
|
|
-- with zero delay --
|
5 |
|
|
-- Purpose : To be used by ASIMUT --
|
6 |
|
|
-- Date : Aug 23, 2001 --
|
7 |
|
|
-- Version : 1.1 --
|
8 |
|
|
-- Author : Martadinata A. --
|
9 |
|
|
-- Address : VLSI RG, Dept. of Electrical Engineering ITB --
|
10 |
|
|
-- Bandung, Indonesia --
|
11 |
|
|
-- E-mail : marta@ic.vlsi.itb.ac.id --
|
12 |
|
|
|
13 |
|
|
in vdd;;
|
14 |
|
|
in vss;;
|
15 |
|
|
|
16 |
|
|
in x1(15 downto 0) X;;
|
17 |
|
|
in x2(15 downto 0) X;;
|
18 |
|
|
in x3(15 downto 0) X;;
|
19 |
|
|
in x4(15 downto 0) X;;
|
20 |
|
|
|
21 |
|
|
in z1(15 downto 0) X;;
|
22 |
|
|
in z2(15 downto 0) X;;
|
23 |
|
|
in z3(15 downto 0) X;;
|
24 |
|
|
in z4(15 downto 0) X;;
|
25 |
|
|
in z5(15 downto 0) X;;
|
26 |
|
|
in z6(15 downto 0) X;;
|
27 |
|
|
|
28 |
|
|
in en(1 to 7);;
|
29 |
|
|
in reset;;
|
30 |
|
|
|
31 |
|
|
out y1(15 downto 0) X;;
|
32 |
|
|
out y2(15 downto 0) X;;
|
33 |
|
|
out y3(15 downto 0) X;;
|
34 |
|
|
out y4(15 downto 0) X;;
|
35 |
|
|
|
36 |
|
|
begin
|
37 |
|
|
-- for a 64-bit input data 0001000200030004 (x1=0001, x2=0002, x3=0003, x4=0004)
|
38 |
|
|
-- and the 16-bit sub-keys z1=0001, z2=0002, z3=0003, z4=0004, z5=0005, z6=00006
|
39 |
|
|
path_1 : 1 0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000000 1 ?**** ?**** ?**** ?****;
|
40 |
|
|
path_2 : 1 0 000B 000C 000D 000E 0002 0004 0006 0008 000A 000C 1000000 0 ?**** ?**** ?**** ?****;
|
41 |
|
|
path_3 : 1 0 000B 000C 000D 000E 0002 0004 0006 0008 000A 000C 0100000 0 ?**** ?**** ?**** ?****;
|
42 |
|
|
path_4 : 1 0 000B 000C 000D 000E 0002 0004 0006 0008 000A 000C 0010000 0 ?**** ?**** ?**** ?****;
|
43 |
|
|
path_5 : 1 0 000B 000C 000D 000E 0002 0004 0006 0008 000A 000C 0001000 0 ?**** ?**** ?**** ?****;
|
44 |
|
|
path_6 : 1 0 000B 000C 000D 000E 0002 0004 0006 0008 000A 000C 0000100 0 ?**** ?**** ?**** ?****;
|
45 |
|
|
path_7 : 1 0 000B 000C 000D 000E 0002 0004 0006 0008 000A 000C 0000010 0 ?**** ?**** ?**** ?****;
|
46 |
|
|
path_8 : 1 0 000B 000C 000D 000E 0002 0004 0006 0008 000A 000C 0000001 0 ?**** ?**** ?**** ?****;
|
47 |
|
|
|
48 |
|
|
-- for a 64-bit input data 0011002200330044 (x1=0011, x2=0022, x3=0033, x4=0044)
|
49 |
|
|
-- and the 16-bit sub-keys z1=0001, z2=0002, z3=0003, z4=0004, z5=0005, z6=0006
|
50 |
|
|
path_9 : 1 0 06ce 06cb 071a 077a 000E 0010 0800 0C00 1000 1400 1000000 0 ?**** ?**** ?**** ?****;
|
51 |
|
|
path_10 : 1 0 06ce 06cb 071a 077a 000E 0010 0800 0C00 1000 1400 0100000 0 ?**** ?**** ?**** ?****;
|
52 |
|
|
path_11 : 1 0 06ce 06cb 071a 077a 000E 0010 0800 0C00 1000 1400 0010000 0 ?**** ?**** ?**** ?****;
|
53 |
|
|
path_12 : 1 0 06ce 06cb 071a 077a 000E 0010 0800 0C00 1000 1400 0001000 0 ?**** ?**** ?**** ?****;
|
54 |
|
|
path_13 : 1 0 06ce 06cb 071a 077a 000E 0010 0800 0C00 1000 1400 0000100 0 ?**** ?**** ?**** ?****;
|
55 |
|
|
path_14 : 1 0 06ce 06cb 071a 077a 000E 0010 0800 0C00 1000 1400 0000010 0 ?**** ?**** ?**** ?****;
|
56 |
|
|
path_15 : 1 0 06ce 06cb 071a 077a 000E 0010 0800 0C00 1000 1400 0000001 0 ?**** ?**** ?**** ?****;
|
57 |
|
|
|
58 |
|
|
-- for a 64-bit input data 0001000200030004 (x1=0001, x2=0002, x3=0003, x4=0004)
|
59 |
|
|
-- and the 16-bit sub-keys z1=0007, z2=0008, z3=0009, z4=000A, z5=000B, z6=000C
|
60 |
|
|
path_16 : 1 0 000B 000C 000D 000E 000E 0010 0800 0C00 1000 1400 1000000 0 ?**** ?**** ?**** ?****;
|
61 |
|
|
path_17 : 1 0 000B 000C 000D 000E 000E 0010 0800 0C00 1000 1400 0100000 0 ?**** ?**** ?**** ?****;
|
62 |
|
|
path_18 : 1 0 000B 000C 000D 000E 000E 0010 0800 0C00 1000 1400 0010000 0 ?**** ?**** ?**** ?****;
|
63 |
|
|
path_19 : 1 0 000B 000C 000D 000E 000E 0010 0800 0C00 1000 1400 0001000 0 ?**** ?**** ?**** ?****;
|
64 |
|
|
path_20 : 1 0 000B 000C 000D 000E 000E 0010 0800 0C00 1000 1400 0000100 0 ?**** ?**** ?**** ?****;
|
65 |
|
|
path_21 : 1 0 000B 000C 000D 000E 000E 0010 0800 0C00 1000 1400 0000010 0 ?**** ?**** ?**** ?****;
|
66 |
|
|
path_22 : 1 0 000B 000C 000D 000E 000E 0010 0800 0C00 1000 1400 0000001 0 ?**** ?**** ?**** ?****;
|
67 |
|
|
|
68 |
|
|
-- for a 64-bit input data 0001000200030004 (x1=0001, x2=0002, x3=0003, x4=0004)
|
69 |
|
|
-- and the 16-bit sub-keys z1=0001, z2=0002, z3=0003, z4=0004, z5=0005, z6=0006
|
70 |
|
|
path_23 : 1 0 207a e46d 49ce e46d 0060 0080 00a0 00c0 0001 4000 1000000 0 ?**** ?**** ?**** ?****;
|
71 |
|
|
path_24 : 1 0 207a e46d 49ce e46d 0060 0080 00a0 00c0 0001 4000 0100000 0 ?**** ?**** ?**** ?****;
|
72 |
|
|
path_25 : 1 0 207a e46d 49ce e46d 0060 0080 00a0 00c0 0001 4000 0010000 0 ?**** ?**** ?**** ?****;
|
73 |
|
|
path_26 : 1 0 207a e46d 49ce e46d 0060 0080 00a0 00c0 0001 4000 0001000 0 ?**** ?**** ?**** ?****;
|
74 |
|
|
path_27 : 1 0 207a e46d 49ce e46d 0060 0080 00a0 00c0 0001 4000 0000100 0 ?**** ?**** ?**** ?****;
|
75 |
|
|
path_28 : 1 0 207a e46d 49ce e46d 0060 0080 00a0 00c0 0001 4000 0000010 0 ?**** ?**** ?**** ?****;
|
76 |
|
|
path_29 : 1 0 207a e46d 49ce e46d 0060 0080 00a0 00c0 0001 4000 0000001 0 ?**** ?**** ?**** ?****;
|
77 |
|
|
|
78 |
|
|
end;
|
79 |
|
|
|
80 |
|
|
|