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

Subversion Repositories idea

[/] [idea/] [trunk/] [behavioral/] [key_regulator/] [komp1.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 `komp1`
2
--              date : Mon Jul 30 21:22:25 2001
3
 
4
 
5
-- Entity Declaration
6
 
7
ENTITY komp1 IS
8
  PORT (
9
  kin : in bit_vector(15 DOWNTO 0) ;    -- kin
10
  kout : out bit_vector(16 DOWNTO 0) ;  -- kout
11
  vdd : in BIT; -- vdd
12
  vss : in BIT  -- vss
13
  );
14
END komp1;
15
 
16
 
17
-- Architecture Declaration
18
 
19
ARCHITECTURE behaviour_data_flow OF komp1 IS
20
 
21
BEGIN
22
  ASSERT ((vdd and not (vss)) = '1')
23
    REPORT "power supply is missing on komp1x"
24
    SEVERITY WARNING;
25
 
26
 
27
kout (0) <= kin (0);
28
 
29
kout (1) <= kin (1);
30
 
31
kout (2) <= kin (2);
32
 
33
kout (3) <= kin (3);
34
 
35
kout (4) <= kin (4);
36
 
37
kout (5) <= kin (5);
38
 
39
kout (6) <= kin (6);
40
 
41
kout (7) <= kin (7);
42
 
43
kout (8) <= kin (8);
44
 
45
kout (9) <= kin (9);
46
 
47
kout (10) <= kin (10);
48
 
49
kout (11) <= kin (11);
50
 
51
kout (12) <= kin (12);
52
 
53
kout (13) <= kin (13);
54
 
55
kout (14) <= kin (14);
56
 
57
kout (15) <= kin (15);
58
 
59
kout (16) <= (not (kin (15)) and not (kin (14)) and not (kin (13)) and not
60
(kin (12)) and not (kin (11)) and not (kin (10)) and not (kin
61
(9)) and not (kin (8)) and not (kin (7)) and not (kin (6)) and
62
not (kin (5)) and not (kin (4)) and not (kin (3)) and not (kin
63
(2)) and not (kin (1)) and not (kin (0)));
64
END;

powered by: WebSVN 2.1.0

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