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

Subversion Repositories idea

[/] [idea/] [trunk/] [behavioral/] [operation_mode/] [mux64.vbe] - Blame information for rev 10

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

Line No. Rev Author Line
1 6 marta
-- File Name    : mux64.vbe
2
-- Version      : v1.1
3
-- Description  : behavioral description of 64 bit multiplexer 3 to 1
4
-- Purpose      : to generate structural description of 64 bit multiplexer 3 to 1
5
-- Author       : Sigit Dewantoro
6
-- Address      : IS Laboratory, Labtek VIII, ITB, Jl. Ganesha 10, Bandung, Indonesia
7
-- Email        : sigit@students.ee.itb.ac.id, sigit@ic.vlsi.itb.ac.id
8
-- Date         : August 12th, 2001
9
 
10
entity mux64 is
11
port(
12
        a   : in bit_vector (63 downto 0);
13
        b   : in bit_vector (63 downto 0);
14
        c   : in bit_vector (63 downto 0);
15
        sel : in bit_vector (1 downto 0);
16
        o   : 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
 
24
begin
25
ASSERT ((vdd and not (vss)) = '1')
26
  REPORT "power supply is missing on mux01"
27
  SEVERITY WARNING;
28
 
29
  with sel select
30
  o <= a when "00",
31
       b when "01",
32
       c when "10",
33
       X"0000_0000_0000_0000" when others;
34
end vbe;
35
 

powered by: WebSVN 2.1.0

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