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

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [lib/] [tech/] [axcelerator/] [components/] [axcelerator_vtables.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
library IEEE;
2
use IEEE.STD_LOGIC_1164.all;
3
 
4
use IEEE.VITAL_Timing.all;
5
use IEEE.VITAL_Primitives.all;
6
 
7
package VTABLES is
8
 
9
   CONSTANT L : VitalTableSymbolType := '0';
10
   CONSTANT H : VitalTableSymbolType := '1';
11
   CONSTANT x : VitalTableSymbolType := '-';
12
   CONSTANT S : VitalTableSymbolType := 'S';
13
   CONSTANT R : VitalTableSymbolType := '/';
14
   CONSTANT U : VitalTableSymbolType := 'X';
15
   CONSTANT V : VitalTableSymbolType := 'B'; -- valid clock signal (non-rising)
16
 
17
-- CLR_ipd, CLK_delayed, Q_zd, D, E_delayed, PRE_ipd, CLK_ipd
18
CONSTANT DFEG_Q_tab : VitalStateTableType := (
19
( L,  x,  x,  x,  x,  x,  x,  x,  L ),
20
( H,  L,  H,  H,  x,  x,  H,  x,  H ),
21
( H,  L,  H,  x,  H,  x,  H,  x,  H ),
22
( H,  L,  x,  H,  L,  x,  H,  x,  H ),
23
( H,  H,  x,  x,  x,  H,  x,  x,  S ),
24
( H,  x,  x,  x,  x,  L,  x,  x,  H ),
25
( H,  x,  x,  x,  x,  H,  L,  x,  S ),
26
( x,  L,  L,  L,  x,  H,  H,  x,  L ),
27
( x,  L,  L,  x,  H,  H,  H,  x,  L ),
28
( x,  L,  x,  L,  L,  H,  H,  x,  L ),
29
( U,  x,  L,  x,  x,  H,  x,  x,  L ),
30
( H,  x,  H,  x,  x,  U,  x,  x,  H ));
31
 
32
-- CLR_ipd, CLK_delayed, T_delayed, Q_zd, CLK_ipd
33
CONSTANT tflipflop_Q_tab : VitalStateTableType := (
34
( L,  x,  x,  x,  x,  x,  L ),
35
( H,  L,  L,  H,  H,  x,  H ),
36
( H,  L,  H,  L,  H,  x,  H ),
37
( H,  H,  x,  x,  x,  x,  S ),
38
( H,  x,  x,  x,  L,  x,  S ),
39
( x,  L,  L,  L,  H,  x,  L ),
40
( x,  L,  H,  H,  H,  x,  L ));
41
 
42
-- CLR_ipd, CLK_delayed, PRE_delayed,K_delayed,J_delayed, Q_zd, CLK_ipd
43
CONSTANT jkflipflop_Q_tab : VitalStateTableType := (
44
( L,  x,  H,  x,  x,  x,  x,  x,  U ),
45
( L,  x,  L,  x,  x,  x,  x,  x,  L ),
46
( H,  L,  x,  L,  H,  x,  H,  x,  H ),
47
( H,  L,  x,  L,  x,  H,  H,  x,  H ),
48
( H,  L,  x,  x,  H,  L,  H,  x,  H ),
49
( H,  H,  L,  x,  x,  x,  x,  x,  S ),
50
( H,  x,  L,  x,  x,  x,  L,  x,  S ),
51
( H,  x,  H,  x,  x,  x,  x,  x,  H ),
52
( x,  L,  L,  H,  L,  x,  H,  x,  L ),
53
( x,  L,  L,  H,  x,  H,  H,  x,  L ),
54
( x,  L,  L,  x,  L,  L,  H,  x,  L ),
55
( U,  x,  L,  x,  x,  L,  x,  x,  L ),
56
( H,  x,  U,  x,  x,  H,  x,  x,  H ));
57
 
58
CONSTANT JKF2A_Q_tab : VitalStateTableType := (
59
( L,  x,  x,  x,  x,  x,  x,  L ),
60
( H,  L,  L,  H,  x,  H,  x,  H ),
61
( H,  L,  L,  x,  H,  H,  x,  H ),
62
( H,  L,  x,  H,  L,  H,  x,  H ),
63
( H,  H,  x,  x,  x,  x,  x,  S ),
64
( H,  x,  x,  x,  x,  L,  x,  S ),
65
( x,  L,  H,  L,  x,  H,  x,  L ),
66
( x,  L,  H,  x,  H,  H,  x,  L ),
67
( x,  L,  x,  L,  L,  H,  x,  L ),
68
( U,  x,  x,  x,  L,  x,  x,  L ));
69
 
70
CONSTANT JKF3A_Q_tab : VitalStateTableType := (
71
( L,  H,  L,  x,  H,  H,  x,  L ),
72
( L,  H,  x,  H,  H,  H,  x,  L ),
73
( L,  L,  H,  x,  x,  H,  x,  H ),
74
( L,  L,  x,  H,  x,  H,  x,  H ),
75
( L,  x,  L,  L,  H,  H,  x,  L ),
76
( L,  x,  H,  L,  x,  H,  x,  H ),
77
( H,  x,  x,  x,  H,  x,  x,  S ),
78
( x,  x,  x,  x,  L,  x,  x,  H ),
79
( x,  x,  x,  x,  H,  L,  x,  S ),
80
( x,  x,  x,  H,  U,  x,  x,  H ));
81
 
82
CONSTANT dlatch_DLE3B_Q_tab : VitalStateTableType := (
83
( x,  x,  x,  H,  x,  H ),   --active high preset
84
 
85
( H,  x,  x,  L,  x,  S ),   --latch
86
( x,  H,  x,  L,  x,  S ),   --latch
87
 
88
( L,  L,  H,  L,  x,  H ),   --transparent
89
( L,  L,  L,  L,  x,  L ),   --transparent
90
 
91
( U,  x,  H,  L,  H,  H ),   --o/p mux pessimism
92
( x,  U,  H,  L,  H,  H ),   --o/p mux pessimism
93
( U,  x,  L,  L,  L,  L ),   --o/p mux pessimism
94
( x,  U,  L,  L,  L,  L ),   --o/p mux pessimism
95
 
96
( L,  L,  H,  U,  x,  H ),   --PRE==X
97
( H,  x,  x,  U,  H,  H ),   --PRE==X
98
( x,  H,  x,  U,  H,  H ),   --PRE==X
99
( L,  U,  H,  U,  H,  H ),   --PRE==X
100
( U,  L,  H,  U,  H,  H ),   --PRE==X
101
( U,  U,  H,  U,  H,  H ));  --PRE==X
102
--G, E, D, P, Qn, Qn+1
103
 
104
CONSTANT dlatch_DLE2B_Q_tab : VitalStateTableType := (
105
( L,  x,  x,  x,  x,  L ),   --active low clear
106
 
107
( H,  H,  x,  x,  x,  S ),   --latch
108
( H,  x,  H,  x,  x,  S ),   --latch
109
 
110
( H,  L,  L,  H,  x,  H ),   --transparent
111
( H,  L,  L,  L,  x,  L ),   --transparent
112
 
113
( H,  x,  x,  L,  L,  L ),   --o/p mux pessimism
114
( H,  x,  x,  H,  H,  H ),   --o/p mux pessimism
115
 
116
( U,  x,  x,  L,  L,  L ),   --CLR==X, o/p mux pessimism
117
( U,  H,  x,  x,  L,  L ),   --CLR==X, o/p mux pessimism, latch
118
( U,  x,  H,  x,  L,  L ),   --CLR==X, o/p mux pessimism, latch
119
( U,  L,  L,  L,  x,  L ));  --CLR==X, i/p mux pessimism
120
--C, G, E, D, Qn, Qn+1
121
 
122
 
123
CONSTANT dlatch_DL2C_Q_tab : VitalStateTableType := (
124
( L,  x,  x,  x,  x,  L ),   --active low clear
125
( H,  x,  x,  H,  x,  H ),   --active high preset
126
 
127
( H,  H,  x,  L,  x,  S ),   --latch
128
( H,  L,  L,  L,  x,  L ),   --transparent
129
 
130
( U,  L,  L,  L,  x,  L ),   --CLR==U
131
( U,  H,  x,  L,  L,  L ),   --CLR==U
132
( x,  U,  L,  L,  L,  L ),   --CLR,G==U
133
 
134
( H,  U,  H,  x,  H,  H ),   --PRE==U/x,G==U
135
( H,  L,  H,  x,  x,  H ),   --PRE==U/x
136
( H,  H,  x,  U,  H,  H ));  --PRE==U
137
--CLR, G, D, PRE, Qn, Qn+1
138
 
139
end VTABLES;
140
 
141
 
142
 
143
--------------------- END OF VITABLE TABLE SECTION  ----------------

powered by: WebSVN 2.1.0

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