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:55:31 2014"
|
18 |
|
|
|
19 |
|
|
module alu_shifter_core(
|
20 |
|
|
shift_in,
|
21 |
|
|
shift_right,
|
22 |
|
|
shift_left,
|
23 |
|
|
db,
|
24 |
|
|
shift_db0,
|
25 |
|
|
shift_db7,
|
26 |
|
|
out_high,
|
27 |
|
|
out_low
|
28 |
|
|
);
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
input wire shift_in;
|
32 |
|
|
input wire shift_right;
|
33 |
|
|
input wire shift_left;
|
34 |
|
|
input wire [7:0] db;
|
35 |
|
|
output wire shift_db0;
|
36 |
|
|
output wire shift_db7;
|
37 |
|
|
output wire [3:0] out_high;
|
38 |
|
|
output wire [3:0] out_low;
|
39 |
|
|
|
40 |
|
|
wire [3:0] out_high_ALTERA_SYNTHESIZED;
|
41 |
|
|
wire [3:0] out_low_ALTERA_SYNTHESIZED;
|
42 |
|
|
wire SYNTHESIZED_WIRE_32;
|
43 |
|
|
wire SYNTHESIZED_WIRE_8;
|
44 |
|
|
wire SYNTHESIZED_WIRE_9;
|
45 |
|
|
wire SYNTHESIZED_WIRE_10;
|
46 |
|
|
wire SYNTHESIZED_WIRE_11;
|
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 |
|
|
wire SYNTHESIZED_WIRE_20;
|
56 |
|
|
wire SYNTHESIZED_WIRE_21;
|
57 |
|
|
wire SYNTHESIZED_WIRE_22;
|
58 |
|
|
wire SYNTHESIZED_WIRE_23;
|
59 |
|
|
wire SYNTHESIZED_WIRE_24;
|
60 |
|
|
wire SYNTHESIZED_WIRE_25;
|
61 |
|
|
wire SYNTHESIZED_WIRE_26;
|
62 |
|
|
wire SYNTHESIZED_WIRE_27;
|
63 |
|
|
wire SYNTHESIZED_WIRE_28;
|
64 |
|
|
wire SYNTHESIZED_WIRE_29;
|
65 |
|
|
wire SYNTHESIZED_WIRE_30;
|
66 |
|
|
wire SYNTHESIZED_WIRE_31;
|
67 |
|
|
|
68 |
|
|
assign shift_db0 = db[0];
|
69 |
|
|
assign shift_db7 = db[7];
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
assign SYNTHESIZED_WIRE_9 = shift_in & shift_left;
|
74 |
|
|
|
75 |
|
|
assign SYNTHESIZED_WIRE_8 = db[0] & SYNTHESIZED_WIRE_32;
|
76 |
|
|
|
77 |
|
|
assign SYNTHESIZED_WIRE_10 = db[1] & shift_right;
|
78 |
|
|
|
79 |
|
|
assign SYNTHESIZED_WIRE_12 = db[0] & shift_left;
|
80 |
|
|
|
81 |
|
|
assign SYNTHESIZED_WIRE_11 = db[1] & SYNTHESIZED_WIRE_32;
|
82 |
|
|
|
83 |
|
|
assign SYNTHESIZED_WIRE_13 = db[2] & shift_right;
|
84 |
|
|
|
85 |
|
|
assign SYNTHESIZED_WIRE_15 = db[1] & shift_left;
|
86 |
|
|
|
87 |
|
|
assign SYNTHESIZED_WIRE_14 = db[2] & SYNTHESIZED_WIRE_32;
|
88 |
|
|
|
89 |
|
|
assign SYNTHESIZED_WIRE_16 = db[3] & shift_right;
|
90 |
|
|
|
91 |
|
|
assign SYNTHESIZED_WIRE_18 = db[2] & shift_left;
|
92 |
|
|
|
93 |
|
|
assign SYNTHESIZED_WIRE_17 = db[3] & SYNTHESIZED_WIRE_32;
|
94 |
|
|
|
95 |
|
|
assign SYNTHESIZED_WIRE_19 = db[4] & shift_right;
|
96 |
|
|
|
97 |
|
|
assign SYNTHESIZED_WIRE_21 = db[3] & shift_left;
|
98 |
|
|
|
99 |
|
|
assign SYNTHESIZED_WIRE_20 = db[4] & SYNTHESIZED_WIRE_32;
|
100 |
|
|
|
101 |
|
|
assign SYNTHESIZED_WIRE_22 = db[5] & shift_right;
|
102 |
|
|
|
103 |
|
|
assign SYNTHESIZED_WIRE_24 = db[4] & shift_left;
|
104 |
|
|
|
105 |
|
|
assign SYNTHESIZED_WIRE_23 = db[5] & SYNTHESIZED_WIRE_32;
|
106 |
|
|
|
107 |
|
|
assign SYNTHESIZED_WIRE_25 = db[6] & shift_right;
|
108 |
|
|
|
109 |
|
|
assign SYNTHESIZED_WIRE_27 = db[5] & shift_left;
|
110 |
|
|
|
111 |
|
|
assign SYNTHESIZED_WIRE_26 = db[6] & SYNTHESIZED_WIRE_32;
|
112 |
|
|
|
113 |
|
|
assign SYNTHESIZED_WIRE_28 = db[7] & shift_right;
|
114 |
|
|
|
115 |
|
|
assign SYNTHESIZED_WIRE_30 = db[6] & shift_left;
|
116 |
|
|
|
117 |
|
|
assign SYNTHESIZED_WIRE_29 = db[7] & SYNTHESIZED_WIRE_32;
|
118 |
|
|
|
119 |
|
|
assign SYNTHESIZED_WIRE_31 = shift_in & shift_right;
|
120 |
|
|
|
121 |
|
|
assign SYNTHESIZED_WIRE_32 = ~(shift_right | shift_left);
|
122 |
|
|
|
123 |
|
|
assign out_low_ALTERA_SYNTHESIZED[0] = SYNTHESIZED_WIRE_8 | SYNTHESIZED_WIRE_9 | SYNTHESIZED_WIRE_10;
|
124 |
|
|
|
125 |
|
|
assign out_low_ALTERA_SYNTHESIZED[1] = SYNTHESIZED_WIRE_11 | SYNTHESIZED_WIRE_12 | SYNTHESIZED_WIRE_13;
|
126 |
|
|
|
127 |
|
|
assign out_low_ALTERA_SYNTHESIZED[2] = SYNTHESIZED_WIRE_14 | SYNTHESIZED_WIRE_15 | SYNTHESIZED_WIRE_16;
|
128 |
|
|
|
129 |
|
|
assign out_low_ALTERA_SYNTHESIZED[3] = SYNTHESIZED_WIRE_17 | SYNTHESIZED_WIRE_18 | SYNTHESIZED_WIRE_19;
|
130 |
|
|
|
131 |
|
|
assign out_high_ALTERA_SYNTHESIZED[0] = SYNTHESIZED_WIRE_20 | SYNTHESIZED_WIRE_21 | SYNTHESIZED_WIRE_22;
|
132 |
|
|
|
133 |
|
|
assign out_high_ALTERA_SYNTHESIZED[1] = SYNTHESIZED_WIRE_23 | SYNTHESIZED_WIRE_24 | SYNTHESIZED_WIRE_25;
|
134 |
|
|
|
135 |
|
|
assign out_high_ALTERA_SYNTHESIZED[2] = SYNTHESIZED_WIRE_26 | SYNTHESIZED_WIRE_27 | SYNTHESIZED_WIRE_28;
|
136 |
|
|
|
137 |
|
|
assign out_high_ALTERA_SYNTHESIZED[3] = SYNTHESIZED_WIRE_29 | SYNTHESIZED_WIRE_30 | SYNTHESIZED_WIRE_31;
|
138 |
|
|
|
139 |
|
|
assign out_high = out_high_ALTERA_SYNTHESIZED;
|
140 |
|
|
assign out_low = out_low_ALTERA_SYNTHESIZED;
|
141 |
|
|
|
142 |
|
|
endmodule
|