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

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [alu/] [alu_select.v] - Blame information for rev 4

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 11:59:39 2014"
18
 
19
module alu_select(
20
        ctl_alu_oe,
21
        ctl_alu_shift_oe,
22
        ctl_alu_op2_oe,
23
        ctl_alu_res_oe,
24
        ctl_alu_op1_oe,
25
        ctl_alu_bs_oe,
26
        ctl_alu_op1_sel_bus,
27
        ctl_alu_op1_sel_low,
28
        ctl_alu_op1_sel_zero,
29
        ctl_alu_op2_sel_zero,
30
        ctl_alu_op2_sel_bus,
31
        ctl_alu_op2_sel_lq,
32
        ctl_alu_sel_op2_neg,
33
        ctl_alu_sel_op2_high,
34
        ctl_alu_core_R,
35
        ctl_alu_core_V,
36
        ctl_alu_core_S,
37
        alu_oe,
38
        alu_shift_oe,
39
        alu_op2_oe,
40
        alu_res_oe,
41
        alu_op1_oe,
42
        alu_bs_oe,
43
        alu_op1_sel_bus,
44
        alu_op1_sel_low,
45
        alu_op1_sel_zero,
46
        alu_op2_sel_zero,
47
        alu_op2_sel_bus,
48
        alu_op2_sel_lq,
49
        alu_sel_op2_neg,
50
        alu_sel_op2_high,
51
        alu_core_R,
52
        alu_core_V,
53
        alu_core_S
54
);
55
 
56
 
57
input wire      ctl_alu_oe;
58
input wire      ctl_alu_shift_oe;
59
input wire      ctl_alu_op2_oe;
60
input wire      ctl_alu_res_oe;
61
input wire      ctl_alu_op1_oe;
62
input wire      ctl_alu_bs_oe;
63
input wire      ctl_alu_op1_sel_bus;
64
input wire      ctl_alu_op1_sel_low;
65
input wire      ctl_alu_op1_sel_zero;
66
input wire      ctl_alu_op2_sel_zero;
67
input wire      ctl_alu_op2_sel_bus;
68
input wire      ctl_alu_op2_sel_lq;
69
input wire      ctl_alu_sel_op2_neg;
70
input wire      ctl_alu_sel_op2_high;
71
input wire      ctl_alu_core_R;
72
input wire      ctl_alu_core_V;
73
input wire      ctl_alu_core_S;
74
output wire     alu_oe;
75
output wire     alu_shift_oe;
76
output wire     alu_op2_oe;
77
output wire     alu_res_oe;
78
output wire     alu_op1_oe;
79
output wire     alu_bs_oe;
80
output wire     alu_op1_sel_bus;
81
output wire     alu_op1_sel_low;
82
output wire     alu_op1_sel_zero;
83
output wire     alu_op2_sel_zero;
84
output wire     alu_op2_sel_bus;
85
output wire     alu_op2_sel_lq;
86
output wire     alu_sel_op2_neg;
87
output wire     alu_sel_op2_high;
88
output wire     alu_core_R;
89
output wire     alu_core_V;
90
output wire     alu_core_S;
91
 
92
 
93
assign  alu_oe = ctl_alu_oe;
94
assign  alu_shift_oe = ctl_alu_shift_oe;
95
assign  alu_op2_oe = ctl_alu_op2_oe;
96
assign  alu_res_oe = ctl_alu_res_oe;
97
assign  alu_op1_oe = ctl_alu_op1_oe;
98
assign  alu_bs_oe = ctl_alu_bs_oe;
99
assign  alu_op1_sel_bus = ctl_alu_op1_sel_bus;
100
assign  alu_op1_sel_low = ctl_alu_op1_sel_low;
101
assign  alu_op1_sel_zero = ctl_alu_op1_sel_zero;
102
assign  alu_op2_sel_zero = ctl_alu_op2_sel_zero;
103
assign  alu_op2_sel_bus = ctl_alu_op2_sel_bus;
104
assign  alu_op2_sel_lq = ctl_alu_op2_sel_lq;
105
assign  alu_sel_op2_neg = ctl_alu_sel_op2_neg;
106
assign  alu_sel_op2_high = ctl_alu_sel_op2_high;
107
assign  alu_core_R = ctl_alu_core_R;
108
assign  alu_core_V = ctl_alu_core_V;
109
assign  alu_core_S = ctl_alu_core_S;
110
 
111
 
112
 
113
 
114
endmodule

powered by: WebSVN 2.1.0

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