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

Subversion Repositories structural_vhdl

[/] [structural_vhdl/] [trunk/] [idea_machine/] [d_latch_glopf.vst] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 marta
-- VHDL structural description generated from `d_latch_glopf`
2
--              date : Sat Sep  8 01:12:55 2001
3
 
4
 
5
-- Entity Declaration
6
 
7
ENTITY d_latch_glopf IS
8
  PORT (
9
  d : in BIT;   -- d
10
  ck : in BIT;  -- ck
11
  clr : in BIT; -- clr
12
  q : inout BIT;        -- q
13
  vdd : in BIT; -- vdd
14
  vss : in BIT  -- vss
15
  );
16
END d_latch_glopf;
17
 
18
-- Architecture Declaration
19
 
20
ARCHITECTURE VST OF d_latch_glopf IS
21
  COMPONENT inv_x2
22
    port (
23
    i : in BIT; -- i
24
    nq : out BIT;       -- nq
25
    vdd : in BIT;       -- vdd
26
    vss : in BIT        -- vss
27
    );
28
  END COMPONENT;
29
 
30
  COMPONENT a2_x2
31
    port (
32
    i0 : in BIT;        -- i0
33
    i1 : in BIT;        -- i1
34
    q : out BIT;        -- q
35
    vdd : in BIT;       -- vdd
36
    vss : in BIT        -- vss
37
    );
38
  END COMPONENT;
39
 
40
  COMPONENT no3_x4
41
    port (
42
    i0 : in BIT;        -- i0
43
    i1 : in BIT;        -- i1
44
    i2 : in BIT;        -- i2
45
    nq : out BIT;       -- nq
46
    vdd : in BIT;       -- vdd
47
    vss : in BIT        -- vss
48
    );
49
  END COMPONENT;
50
 
51
  COMPONENT no2_x4
52
    port (
53
    i0 : in BIT;        -- i0
54
    i1 : in BIT;        -- i1
55
    nq : out BIT;       -- nq
56
    vdd : in BIT;       -- vdd
57
    vss : in BIT        -- vss
58
    );
59
  END COMPONENT;
60
 
61
  SIGNAL o_nor2 : BIT;  -- o_nor2
62
  SIGNAL o_inv : BIT;   -- o_inv
63
  SIGNAL o_an2 : BIT;   -- o_an2
64
  SIGNAL o_an1 : BIT;   -- o_an1
65
 
66
BEGIN
67
 
68
  inv : inv_x2
69
    PORT MAP (
70
    vss => vss,
71
    vdd => vdd,
72
    nq => o_inv,
73
    i => d);
74
  an1 : a2_x2
75
    PORT MAP (
76
    vss => vss,
77
    vdd => vdd,
78
    q => o_an1,
79
    i1 => ck,
80
    i0 => o_inv);
81
  an2 : a2_x2
82
    PORT MAP (
83
    vss => vss,
84
    vdd => vdd,
85
    q => o_an2,
86
    i1 => ck,
87
    i0 => d);
88
  nor1 : no3_x4
89
    PORT MAP (
90
    vss => vss,
91
    vdd => vdd,
92
    nq => q,
93
    i2 => o_nor2,
94
    i1 => clr,
95
    i0 => o_an1);
96
  nor2 : no2_x4
97
    PORT MAP (
98
    vss => vss,
99
    vdd => vdd,
100
    nq => o_nor2,
101
    i1 => o_an2,
102
    i0 => q);
103
 
104
end VST;

powered by: WebSVN 2.1.0

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