OpenCores
URL https://opencores.org/ocsvn/idea/idea/trunk

Subversion Repositories idea

[/] [idea/] [trunk/] [behavioral/] [inout_port/] [mux2to1_bop.vbe] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 marta
-- VHDL data flow description generated from `mux2to1_bop`
2
--              date : Mon Aug 27 06:31:45 2001
3
 
4
 
5
-- Entity Declaration
6
 
7
ENTITY mux2to1_bop IS
8
  PORT (
9
  y : in bit_vector(63 DOWNTO 0) ;      -- y
10
  sel : in BIT; -- sel
11
  clk : in BIT; -- clk
12
  rst : in BIT; -- rst
13
  cp : out bit_vector(31 DOWNTO 0) ;    -- cp
14
  vdd : in BIT; -- vdd
15
  vss : in BIT  -- vss
16
  );
17
END mux2to1_bop;
18
 
19
 
20
-- Architecture Declaration
21
 
22
ARCHITECTURE behaviour_data_flow OF mux2to1_bop IS
23
  SIGNAL reg : REG_VECTOR(31 DOWNTO 0) REGISTER;        -- reg
24
  SIGNAL aux12 : BIT;           -- aux12
25
  SIGNAL aux11 : BIT;           -- aux11
26
 
27
BEGIN
28
  ASSERT ((vdd and not (vss)) = '1')
29
    REPORT "power supply is missing on mux2to1"
30
    SEVERITY WARNING;
31
 
32
  aux11 <= (not (sel) and not (rst));
33
  aux12 <= (not (rst) and sel);
34
  label0 : BLOCK ((clk and not (clk'STABLE)) = '1')
35
  BEGIN
36
    reg (0) <= GUARDED ((not (y (32)) and not (sel)) or not ((not (rst) and (not (sel)
37
or y (0)))));
38
  END BLOCK label0;
39
  label1 : BLOCK ((clk and not (clk'STABLE)) = '1')
40
  BEGIN
41
    reg (1) <= GUARDED ((not (y (33)) and aux11) or (not (y (1)) and aux12));
42
  END BLOCK label1;
43
  label2 : BLOCK ((clk and not (clk'STABLE)) = '1')
44
  BEGIN
45
    reg (2) <= GUARDED ((not (y (34)) and aux11) or (not (y (2)) and aux12));
46
  END BLOCK label2;
47
  label3 : BLOCK ((clk and not (clk'STABLE)) = '1')
48
  BEGIN
49
    reg (3) <= GUARDED ((not (y (35)) and aux11) or (not (y (3)) and aux12));
50
  END BLOCK label3;
51
  label4 : BLOCK ((clk and not (clk'STABLE)) = '1')
52
  BEGIN
53
    reg (4) <= GUARDED ((not (y (36)) and not (sel)) or not ((not (rst) and (not (sel)
54
or y (4)))));
55
  END BLOCK label4;
56
  label5 : BLOCK ((clk and not (clk'STABLE)) = '1')
57
  BEGIN
58
    reg (5) <= GUARDED ((not (y (37)) and aux11) or (not (y (5)) and aux12));
59
  END BLOCK label5;
60
  label6 : BLOCK ((clk and not (clk'STABLE)) = '1')
61
  BEGIN
62
    reg (6) <= GUARDED ((not (y (38)) and aux11) or (not (y (6)) and aux12));
63
  END BLOCK label6;
64
  label7 : BLOCK ((clk and not (clk'STABLE)) = '1')
65
  BEGIN
66
    reg (7) <= GUARDED ((not (y (39)) and aux11) or (not (y (7)) and aux12));
67
  END BLOCK label7;
68
  label8 : BLOCK ((clk and not (clk'STABLE)) = '1')
69
  BEGIN
70
    reg (8) <= GUARDED ((not (y (40)) and not (sel)) or not ((not (rst) and (not (sel)
71
or y (8)))));
72
  END BLOCK label8;
73
  label9 : BLOCK ((clk and not (clk'STABLE)) = '1')
74
  BEGIN
75
    reg (9) <= GUARDED ((not (y (41)) and aux11) or (not (y (9)) and aux12));
76
  END BLOCK label9;
77
  label10 : BLOCK ((clk and not (clk'STABLE)) = '1')
78
  BEGIN
79
    reg (10) <= GUARDED ((not (y (42)) and aux11) or (not (y (10)) and aux12));
80
  END BLOCK label10;
81
  label11 : BLOCK ((clk and not (clk'STABLE)) = '1')
82
  BEGIN
83
    reg (11) <= GUARDED ((not (y (43)) and aux11) or (not (y (11)) and aux12));
84
  END BLOCK label11;
85
  label12 : BLOCK ((clk and not (clk'STABLE)) = '1')
86
  BEGIN
87
    reg (12) <= GUARDED ((not (y (44)) and not (sel)) or not ((not (rst) and (not (sel)
88
or y (12)))));
89
  END BLOCK label12;
90
  label13 : BLOCK ((clk and not (clk'STABLE)) = '1')
91
  BEGIN
92
    reg (13) <= GUARDED ((not (y (45)) and aux11) or (not (y (13)) and aux12));
93
  END BLOCK label13;
94
  label14 : BLOCK ((clk and not (clk'STABLE)) = '1')
95
  BEGIN
96
    reg (14) <= GUARDED ((not (y (46)) and aux11) or (not (y (14)) and aux12));
97
  END BLOCK label14;
98
  label15 : BLOCK ((clk and not (clk'STABLE)) = '1')
99
  BEGIN
100
    reg (15) <= GUARDED ((not (y (47)) and aux11) or (not (y (15)) and aux12));
101
  END BLOCK label15;
102
  label16 : BLOCK ((clk and not (clk'STABLE)) = '1')
103
  BEGIN
104
    reg (16) <= GUARDED ((not (y (48)) and not (sel)) or not ((not (rst) and (not (sel)
105
or y (16)))));
106
  END BLOCK label16;
107
  label17 : BLOCK ((clk and not (clk'STABLE)) = '1')
108
  BEGIN
109
    reg (17) <= GUARDED ((not (y (49)) and aux11) or (not (y (17)) and aux12));
110
  END BLOCK label17;
111
  label18 : BLOCK ((clk and not (clk'STABLE)) = '1')
112
  BEGIN
113
    reg (18) <= GUARDED ((not (y (50)) and aux11) or (not (y (18)) and aux12));
114
  END BLOCK label18;
115
  label19 : BLOCK ((clk and not (clk'STABLE)) = '1')
116
  BEGIN
117
    reg (19) <= GUARDED ((not (y (51)) and aux11) or (not (y (19)) and aux12));
118
  END BLOCK label19;
119
  label20 : BLOCK ((clk and not (clk'STABLE)) = '1')
120
  BEGIN
121
    reg (20) <= GUARDED ((not (y (52)) and not (sel)) or not ((not (rst) and (not (sel)
122
or y (20)))));
123
  END BLOCK label20;
124
  label21 : BLOCK ((clk and not (clk'STABLE)) = '1')
125
  BEGIN
126
    reg (21) <= GUARDED ((not (y (53)) and aux11) or (not (y (21)) and aux12));
127
  END BLOCK label21;
128
  label22 : BLOCK ((clk and not (clk'STABLE)) = '1')
129
  BEGIN
130
    reg (22) <= GUARDED ((not (y (54)) and aux11) or (not (y (22)) and aux12));
131
  END BLOCK label22;
132
  label23 : BLOCK ((clk and not (clk'STABLE)) = '1')
133
  BEGIN
134
    reg (23) <= GUARDED ((not (y (55)) and aux11) or (not (y (23)) and aux12));
135
  END BLOCK label23;
136
  label24 : BLOCK ((clk and not (clk'STABLE)) = '1')
137
  BEGIN
138
    reg (24) <= GUARDED ((not (y (56)) and not (sel)) or not ((not (rst) and (not (sel)
139
or y (24)))));
140
  END BLOCK label24;
141
  label25 : BLOCK ((clk and not (clk'STABLE)) = '1')
142
  BEGIN
143
    reg (25) <= GUARDED ((not (y (57)) and aux11) or (not (y (25)) and aux12));
144
  END BLOCK label25;
145
  label26 : BLOCK ((clk and not (clk'STABLE)) = '1')
146
  BEGIN
147
    reg (26) <= GUARDED ((not (y (58)) and aux11) or (not (y (26)) and aux12));
148
  END BLOCK label26;
149
  label27 : BLOCK ((clk and not (clk'STABLE)) = '1')
150
  BEGIN
151
    reg (27) <= GUARDED ((not (y (59)) and aux11) or (not (y (27)) and aux12));
152
  END BLOCK label27;
153
  label28 : BLOCK ((clk and not (clk'STABLE)) = '1')
154
  BEGIN
155
    reg (28) <= GUARDED ((not (y (60)) and not (sel)) or not ((not (rst) and (not (sel)
156
or y (28)))));
157
  END BLOCK label28;
158
  label29 : BLOCK ((clk and not (clk'STABLE)) = '1')
159
  BEGIN
160
    reg (29) <= GUARDED ((not (y (61)) and aux11) or (not (y (29)) and aux12));
161
  END BLOCK label29;
162
  label30 : BLOCK ((clk and not (clk'STABLE)) = '1')
163
  BEGIN
164
    reg (30) <= GUARDED ((not (y (62)) and aux11) or (not (y (30)) and aux12));
165
  END BLOCK label30;
166
  label31 : BLOCK ((clk and not (clk'STABLE)) = '1')
167
  BEGIN
168
    reg (31) <= GUARDED ((not (y (63)) and aux11) or (not (y (31)) and aux12));
169
  END BLOCK label31;
170
 
171
cp (0) <= not (reg (0));
172
 
173
cp (1) <= not (reg (1));
174
 
175
cp (2) <= not (reg (2));
176
 
177
cp (3) <= not (reg (3));
178
 
179
cp (4) <= not (reg (4));
180
 
181
cp (5) <= not (reg (5));
182
 
183
cp (6) <= not (reg (6));
184
 
185
cp (7) <= not (reg (7));
186
 
187
cp (8) <= not (reg (8));
188
 
189
cp (9) <= not (reg (9));
190
 
191
cp (10) <= not (reg (10));
192
 
193
cp (11) <= not (reg (11));
194
 
195
cp (12) <= not (reg (12));
196
 
197
cp (13) <= not (reg (13));
198
 
199
cp (14) <= not (reg (14));
200
 
201
cp (15) <= not (reg (15));
202
 
203
cp (16) <= not (reg (16));
204
 
205
cp (17) <= not (reg (17));
206
 
207
cp (18) <= not (reg (18));
208
 
209
cp (19) <= not (reg (19));
210
 
211
cp (20) <= not (reg (20));
212
 
213
cp (21) <= not (reg (21));
214
 
215
cp (22) <= not (reg (22));
216
 
217
cp (23) <= not (reg (23));
218
 
219
cp (24) <= not (reg (24));
220
 
221
cp (25) <= not (reg (25));
222
 
223
cp (26) <= not (reg (26));
224
 
225
cp (27) <= not (reg (27));
226
 
227
cp (28) <= not (reg (28));
228
 
229
cp (29) <= not (reg (29));
230
 
231
cp (30) <= not (reg (30));
232
 
233
cp (31) <= not (reg (31));
234
END;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.