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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mp3/] [lib/] [xilinx/] [unisims/] [MUXCY.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/MUXCY.v,v 1.1.1.1 2001-11-04 18:59:49 lampret Exp $
2
 
3
/*
4
 
5
FUNCTION        : 2 to 1 Multiplexer for Carry Logic
6
 
7
*/
8
 
9
`timescale  100 ps / 10 ps
10
 
11
`celldefine
12
 
13
module MUXCY (O, CI, DI, S);
14
 
15
    parameter cds_action = "ignore";
16
 
17
    output O;
18
    reg    o_out;
19
 
20
    input  CI, DI, S;
21
 
22
    buf B1 (O, o_out);
23
 
24
        always @(CI or DI or S) begin
25
            if (S)
26
                o_out <= CI;
27
            else
28
                o_out <= DI;
29
        end
30
 
31
    specify
32
        (CI => O) = (1, 1);
33
        (DI => O) = (1, 1);
34
        (S  => O) = (1, 1);
35
    endspecify
36
 
37
endmodule
38
 
39
`endcelldefine

powered by: WebSVN 2.1.0

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