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

Subversion Repositories idea

[/] [idea/] [trunk/] [behavioral/] [idea_machine/] [mux64.vbe] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 marta
--   File Name    : mux64.vbe                                 --
2
--   Description  : The 64-bit 2-to-1 multiplexer             --
3
--   Purpose      : To be used by ASIMUT and SCMAP            --
4
--   Date         : Aug 21, 2001                              --
5
--   Version      : 1.1                                       --
6
--   Author       : Martadinata A.                            --
7
--   Address      : VLSI RG, Dept. of Electrical Engineering  --
8
--                  ITB, Bandung, Indonesia                   --
9
--   E-mail       : marta@vlsi.itb.ac.id                      --
10
 
11
entity mux64 is
12
port(
13
  a       : in       bit_vector(63 downto 0);
14
  b       : in       bit_vector(63 downto 0);
15
  sel     : in       bit;
16
  c       : out      bit_vector(63 downto 0);
17
  vdd     : in       bit;
18
  vss     : in       bit
19
  );
20
end mux64;
21
 
22
architecture vbe of mux64 is
23
begin
24
  assert ((vdd and not (vss)) = '1')
25
    report "power supply is missing on mux64"
26
    severity warning;
27
 
28
    with sel select
29
       c <= a when '0' ,
30
            b  when '1' ;
31
end;
32
 
33
 
34
 
35
 
36
 
37
 
38
 
39
 
40
 
41
 
42
 
43
 
44
 
45
 
46
 
47
 
48
 
49
 

powered by: WebSVN 2.1.0

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