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

Subversion Repositories structural_vhdl

[/] [structural_vhdl/] [trunk/] [idea_machine/] [halfadder_glopf.vst] - Rev 4

Compare with Previous | Blame | View Log

-- VHDL structural description generated from `halfadder_glopf`
--              date : Sat Sep  8 00:43:04 2001


-- Entity Declaration

ENTITY halfadder_glopf IS
  PORT (
  a : in BIT;   -- a
  b : in BIT;   -- b
  cout : out BIT;       -- cout
  sout : out BIT;       -- sout
  vdd : in BIT; -- vdd
  vss : in BIT  -- vss
  );
END halfadder_glopf;

-- Architecture Declaration

ARCHITECTURE VST OF halfadder_glopf IS
  COMPONENT xr2_x1
    port (
    i0 : in BIT;        -- i0
    i1 : in BIT;        -- i1
    q : out BIT;        -- q
    vdd : in BIT;       -- vdd
    vss : in BIT        -- vss
    );
  END COMPONENT;

  COMPONENT a2_x2
    port (
    i0 : in BIT;        -- i0
    i1 : in BIT;        -- i1
    q : out BIT;        -- q
    vdd : in BIT;       -- vdd
    vss : in BIT        -- vss
    );
  END COMPONENT;

  COMPONENT buf_x2
    port (
    i : in BIT; -- i
    q : out BIT;        -- q
    vdd : in BIT;       -- vdd
    vss : in BIT        -- vss
    );
  END COMPONENT;

  SIGNAL netops8 : BIT; -- netops8

BEGIN

  sout : xr2_x1
    PORT MAP (
    vss => vss,
    vdd => vdd,
    q => sout,
    i1 => netops8,
    i0 => b);
  cout : a2_x2
    PORT MAP (
    vss => vss,
    vdd => vdd,
    q => cout,
    i1 => netops8,
    i0 => b);
  netopi8 : buf_x2
    PORT MAP (
    vss => vss,
    vdd => vdd,
    q => netops8,
    i => a);

end VST;

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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