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

Subversion Repositories idea

[/] [idea/] [trunk/] [behavioral/] [idea_machine/] [fsub_bopo.vbe] - Blame information for rev 11

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 marta
-- VHDL data flow description generated from `fsub_bopo`
2
--              date : Sat Sep  8 02:00:55 2001
3
 
4
 
5
-- Entity Declaration
6
 
7
ENTITY fsub_bopo IS
8
  PORT (
9
  a : in BIT;   -- a
10
  b : in BIT;   -- b
11
  bin : in BIT; -- bin
12
  d : out BIT;  -- d
13
  bout : out BIT;       -- bout
14
  vdd : in BIT; -- vdd
15
  vss : in BIT  -- vss
16
  );
17
END fsub_bopo;
18
 
19
 
20
-- Architecture Declaration
21
 
22
ARCHITECTURE behaviour_data_flow OF fsub_bopo IS
23
 
24
BEGIN
25
  ASSERT ((vdd and not (vss)) = '1')
26
    REPORT "power supply is missing on fsub1"
27
    SEVERITY WARNING;
28
 
29
 
30
bout <= ((not (a) and b) or (bin and (not (a) or b)));
31
 
32
d <= (a xor b xor bin);
33
END;

powered by: WebSVN 2.1.0

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