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

Subversion Repositories idea

[/] [idea/] [trunk/] [behavioral/] [key_regulator/] [reg16.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 `reg16`
2
--              date : Tue Jul 31 11:00:32 2001
3
 
4
 
5
-- Entity Declaration
6
 
7
ENTITY reg16 IS
8
  PORT (
9
  a : in bit_vector(15 DOWNTO 0) ;      -- a
10
  en : in BIT;  -- en
11
  clr : in BIT; -- clr
12
  b : out bit_vector(15 DOWNTO 0) ;     -- b
13
  vdd : in BIT; -- vdd
14
  vss : in BIT  -- vss
15
  );
16
END reg16;
17
 
18
 
19
-- Architecture Declaration
20
 
21
ARCHITECTURE behaviour_data_flow OF reg16 IS
22
  SIGNAL reg : REG_VECTOR(15 DOWNTO 0) REGISTER;        -- reg
23
 
24
BEGIN
25
  ASSERT ((vdd and not (vss)) = '1')
26
    REPORT "power supply is missing on reg15x"
27
    SEVERITY WARNING;
28
 
29
  label0 : BLOCK ((en and not (en'STABLE)) = '1')
30
  BEGIN
31
    reg (0) <= GUARDED a (0);
32
  END BLOCK label0;
33
  label1 : BLOCK ((en and not (en'STABLE)) = '1')
34
  BEGIN
35
    reg (1) <= GUARDED a (1);
36
  END BLOCK label1;
37
  label2 : BLOCK ((en and not (en'STABLE)) = '1')
38
  BEGIN
39
    reg (2) <= GUARDED a (2);
40
  END BLOCK label2;
41
  label3 : BLOCK ((en and not (en'STABLE)) = '1')
42
  BEGIN
43
    reg (3) <= GUARDED a (3);
44
  END BLOCK label3;
45
  label4 : BLOCK ((en and not (en'STABLE)) = '1')
46
  BEGIN
47
    reg (4) <= GUARDED a (4);
48
  END BLOCK label4;
49
  label5 : BLOCK ((en and not (en'STABLE)) = '1')
50
  BEGIN
51
    reg (5) <= GUARDED a (5);
52
  END BLOCK label5;
53
  label6 : BLOCK ((en and not (en'STABLE)) = '1')
54
  BEGIN
55
    reg (6) <= GUARDED a (6);
56
  END BLOCK label6;
57
  label7 : BLOCK ((en and not (en'STABLE)) = '1')
58
  BEGIN
59
    reg (7) <= GUARDED a (7);
60
  END BLOCK label7;
61
  label8 : BLOCK ((en and not (en'STABLE)) = '1')
62
  BEGIN
63
    reg (8) <= GUARDED a (8);
64
  END BLOCK label8;
65
  label9 : BLOCK ((en and not (en'STABLE)) = '1')
66
  BEGIN
67
    reg (9) <= GUARDED a (9);
68
  END BLOCK label9;
69
  label10 : BLOCK ((en and not (en'STABLE)) = '1')
70
  BEGIN
71
    reg (10) <= GUARDED a (10);
72
  END BLOCK label10;
73
  label11 : BLOCK ((en and not (en'STABLE)) = '1')
74
  BEGIN
75
    reg (11) <= GUARDED a (11);
76
  END BLOCK label11;
77
  label12 : BLOCK ((en and not (en'STABLE)) = '1')
78
  BEGIN
79
    reg (12) <= GUARDED a (12);
80
  END BLOCK label12;
81
  label13 : BLOCK ((en and not (en'STABLE)) = '1')
82
  BEGIN
83
    reg (13) <= GUARDED a (13);
84
  END BLOCK label13;
85
  label14 : BLOCK ((en and not (en'STABLE)) = '1')
86
  BEGIN
87
    reg (14) <= GUARDED a (14);
88
  END BLOCK label14;
89
  label15 : BLOCK ((en and not (en'STABLE)) = '1')
90
  BEGIN
91
    reg (15) <= GUARDED a (15);
92
  END BLOCK label15;
93
 
94
b (0) <= (not (clr) and reg (0));
95
 
96
b (1) <= (not (clr) and reg (1));
97
 
98
b (2) <= (not (clr) and reg (2));
99
 
100
b (3) <= (not (clr) and reg (3));
101
 
102
b (4) <= (not (clr) and reg (4));
103
 
104
b (5) <= (not (clr) and reg (5));
105
 
106
b (6) <= (not (clr) and reg (6));
107
 
108
b (7) <= (not (clr) and reg (7));
109
 
110
b (8) <= (not (clr) and reg (8));
111
 
112
b (9) <= (not (clr) and reg (9));
113
 
114
b (10) <= (not (clr) and reg (10));
115
 
116
b (11) <= (not (clr) and reg (11));
117
 
118
b (12) <= (not (clr) and reg (12));
119
 
120
b (13) <= (not (clr) and reg (13));
121
 
122
b (14) <= (not (clr) and reg (14));
123
 
124
b (15) <= (not (clr) and reg (15));
125
END;

powered by: WebSVN 2.1.0

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