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

Subversion Repositories idea

[/] [idea/] [trunk/] [behavioral/] [idea_machine/] [fulladder_bopo.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 `fulladder_bopo`
2
--              date : Sat Sep  8 00:29:32 2001
3
 
4
 
5
-- Entity Declaration
6
 
7
ENTITY fulladder_bopo IS
8
  PORT (
9
  a : in BIT;   -- a
10
  b : in BIT;   -- b
11
  cin : in BIT; -- cin
12
  cout : out BIT;       -- cout
13
  sout : out BIT;       -- sout
14
  vdd : in BIT; -- vdd
15
  vss : in BIT  -- vss
16
  );
17
END fulladder_bopo;
18
 
19
 
20
-- Architecture Declaration
21
 
22
ARCHITECTURE behaviour_data_flow OF fulladder_bopo IS
23
 
24
BEGIN
25
  ASSERT ((vdd and not (vss)) = '1')
26
    REPORT "power supply is missing on fulladder"
27
    SEVERITY WARNING;
28
 
29
 
30
sout <= (a xor b xor cin);
31
 
32
cout <= ((a and b) or (cin and (a or b)));
33
END;

powered by: WebSVN 2.1.0

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