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

Subversion Repositories structural_vhdl

[/] [structural_vhdl/] [trunk/] [idea_machine/] [halfadder_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 `halfadder_glopf`
2
--              date : Sat Sep  8 00:43:04 2001
3
 
4
 
5
-- Entity Declaration
6
 
7
ENTITY halfadder_glopf IS
8
  PORT (
9
  a : in BIT;   -- a
10
  b : in BIT;   -- b
11
  cout : out BIT;       -- cout
12
  sout : out BIT;       -- sout
13
  vdd : in BIT; -- vdd
14
  vss : in BIT  -- vss
15
  );
16
END halfadder_glopf;
17
 
18
-- Architecture Declaration
19
 
20
ARCHITECTURE VST OF halfadder_glopf IS
21
  COMPONENT xr2_x1
22
    port (
23
    i0 : in BIT;        -- i0
24
    i1 : in BIT;        -- i1
25
    q : out BIT;        -- q
26
    vdd : in BIT;       -- vdd
27
    vss : in BIT        -- vss
28
    );
29
  END COMPONENT;
30
 
31
  COMPONENT a2_x2
32
    port (
33
    i0 : in BIT;        -- i0
34
    i1 : in BIT;        -- i1
35
    q : out BIT;        -- q
36
    vdd : in BIT;       -- vdd
37
    vss : in BIT        -- vss
38
    );
39
  END COMPONENT;
40
 
41
  COMPONENT buf_x2
42
    port (
43
    i : in BIT; -- i
44
    q : out BIT;        -- q
45
    vdd : in BIT;       -- vdd
46
    vss : in BIT        -- vss
47
    );
48
  END COMPONENT;
49
 
50
  SIGNAL netops8 : BIT; -- netops8
51
 
52
BEGIN
53
 
54
  sout : xr2_x1
55
    PORT MAP (
56
    vss => vss,
57
    vdd => vdd,
58
    q => sout,
59
    i1 => netops8,
60
    i0 => b);
61
  cout : a2_x2
62
    PORT MAP (
63
    vss => vss,
64
    vdd => vdd,
65
    q => cout,
66
    i1 => netops8,
67
    i0 => b);
68
  netopi8 : buf_x2
69
    PORT MAP (
70
    vss => vss,
71
    vdd => vdd,
72
    q => netops8,
73
    i => a);
74
 
75
end VST;

powered by: WebSVN 2.1.0

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