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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mp3/] [lib/] [xilinx/] [unisims/] [OMUX2.v] - Blame information for rev 1767

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

Line No. Rev Author Line
1 266 lampret
// $Header: /home/marcus/revision_ctrl_test/oc_cvs/cvs/or1k/mp3/lib/xilinx/unisims/OMUX2.v,v 1.1.1.1 2001-11-04 18:59:50 lampret Exp $
2
 
3
/*
4
 
5
FUNCTION        : OUTPUT MULTIPLEXER2
6
 
7
*/
8
 
9
`timescale  100 ps / 10 ps
10
 
11
`celldefine
12
 
13
module OMUX2 (O, D0, D1, S0);
14
 
15
    parameter cds_action = "ignore";
16
 
17
    output O;
18
    reg    o_out;
19
 
20
    input  D0, D1, S0;
21
 
22
    tri0 GTS = glbl.GTS;
23
 
24
    bufif0 B1 (O, o_out, GTS);
25
 
26
        always @(D0 or D1 or S0) begin
27
            if (S0)
28
                o_out <= D1;
29
            else
30
                o_out <= D0;
31
        end
32
 
33
    specify
34
        (D0 *> O) = (1, 1);
35
        (D1 *> O) = (1, 1);
36
        (S0 *> O) = (1, 1);
37
    endspecify
38
 
39
endmodule
40
 
41
`endcelldefine

powered by: WebSVN 2.1.0

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