OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [alu/] [alu_mux_8.v] - Blame information for rev 22

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

Line No. Rev Author Line
1 3 gdevic
// Copyright (C) 1991-2013 Altera Corporation
2
// Your use of Altera Corporation's design tools, logic functions 
3
// and other software and tools, and its AMPP partner logic 
4
// functions, and any output files from any of the foregoing 
5
// (including device programming or simulation files), and any 
6
// associated documentation or information are expressly subject 
7
// to the terms and conditions of the Altera Program License 
8
// Subscription Agreement, Altera MegaCore Function License 
9
// Agreement, or other applicable license agreement, including, 
10
// without limitation, that your use is for the sole purpose of 
11
// programming logic devices manufactured by Altera and sold by 
12
// Altera or its authorized distributors.  Please refer to the 
13
// applicable agreement for further details.
14
 
15
// PROGRAM              "Quartus II 64-Bit"
16
// VERSION              "Version 13.0.1 Build 232 06/12/2013 Service Pack 1 SJ Web Edition"
17
// CREATED              "Mon Oct 13 12:04:13 2014"
18
 
19
module alu_mux_8(
20
        in0,
21
        in1,
22
        in2,
23
        in3,
24
        in4,
25
        in5,
26
        in6,
27
        in7,
28
        sel,
29
        out
30
);
31
 
32
 
33
input wire      in0;
34
input wire      in1;
35
input wire      in2;
36
input wire      in3;
37
input wire      in4;
38
input wire      in5;
39
input wire      in6;
40
input wire      in7;
41
input wire      [2:0] sel;
42
output wire     out;
43
 
44
wire    SYNTHESIZED_WIRE_20;
45
wire    SYNTHESIZED_WIRE_21;
46
wire    SYNTHESIZED_WIRE_22;
47
wire    SYNTHESIZED_WIRE_12;
48
wire    SYNTHESIZED_WIRE_13;
49
wire    SYNTHESIZED_WIRE_14;
50
wire    SYNTHESIZED_WIRE_15;
51
wire    SYNTHESIZED_WIRE_16;
52
wire    SYNTHESIZED_WIRE_17;
53
wire    SYNTHESIZED_WIRE_18;
54
wire    SYNTHESIZED_WIRE_19;
55
 
56
 
57
 
58
 
59
assign  SYNTHESIZED_WIRE_12 = SYNTHESIZED_WIRE_20 & SYNTHESIZED_WIRE_21 & SYNTHESIZED_WIRE_22 & in0;
60
 
61
assign  SYNTHESIZED_WIRE_14 = sel[0] & SYNTHESIZED_WIRE_21 & SYNTHESIZED_WIRE_22 & in1;
62
 
63
assign  SYNTHESIZED_WIRE_13 = SYNTHESIZED_WIRE_20 & sel[1] & SYNTHESIZED_WIRE_22 & in2;
64
 
65
assign  SYNTHESIZED_WIRE_15 = sel[0] & sel[1] & SYNTHESIZED_WIRE_22 & in3;
66
 
67
assign  SYNTHESIZED_WIRE_17 = SYNTHESIZED_WIRE_20 & SYNTHESIZED_WIRE_21 & sel[2] & in4;
68
 
69
assign  SYNTHESIZED_WIRE_16 = sel[0] & SYNTHESIZED_WIRE_21 & sel[2] & in5;
70
 
71
assign  SYNTHESIZED_WIRE_18 = SYNTHESIZED_WIRE_20 & sel[1] & sel[2] & in6;
72
 
73
assign  SYNTHESIZED_WIRE_19 = sel[0] & sel[1] & sel[2] & in7;
74
 
75
assign  out = SYNTHESIZED_WIRE_12 | SYNTHESIZED_WIRE_13 | SYNTHESIZED_WIRE_14 | SYNTHESIZED_WIRE_15 | SYNTHESIZED_WIRE_16 | SYNTHESIZED_WIRE_17 | SYNTHESIZED_WIRE_18 | SYNTHESIZED_WIRE_19;
76
 
77
assign  SYNTHESIZED_WIRE_20 =  ~sel[0];
78
 
79
assign  SYNTHESIZED_WIRE_21 =  ~sel[1];
80
 
81
assign  SYNTHESIZED_WIRE_22 =  ~sel[2];
82
 
83
 
84
endmodule

powered by: WebSVN 2.1.0

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