URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [mp3_stable/] [mp3/] [lib/] [xilinx/] [unisims/] [OMUX2.v] - Rev 1765
Compare with Previous | Blame | View Log
// $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 $ /* FUNCTION : OUTPUT MULTIPLEXER2 */ `timescale 100 ps / 10 ps `celldefine module OMUX2 (O, D0, D1, S0); parameter cds_action = "ignore"; output O; reg o_out; input D0, D1, S0; tri0 GTS = glbl.GTS; bufif0 B1 (O, o_out, GTS); always @(D0 or D1 or S0) begin if (S0) o_out <= D1; else o_out <= D0; end specify (D0 *> O) = (1, 1); (D1 *> O) = (1, 1); (S0 *> O) = (1, 1); endspecify endmodule `endcelldefine