-
Notifications
You must be signed in to change notification settings - Fork 1
/
AXISoCQuadCoreModule_TopLevel_CPU0_CPU_CMP.v
131 lines (131 loc) · 5.31 KB
/
AXISoCQuadCoreModule_TopLevel_CPU0_CPU_CMP.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
`timescale 1ns/1ps
`default_nettype none
// PLEASE READ THIS, IT MAY SAVE YOU SOME TIME AND MONEY, THANK YOU!
// * This file was generated by Quokka FPGA Toolkit.
// * Generated code is your property, do whatever you want with it
// * Place custom code between [BEGIN USER ***] and [END USER ***].
// * CAUTION: All code outside of [USER] scope is subject to regeneration.
// * Bad things happen sometimes in developer's life,
// it is recommended to use source control management software (e.g. git, bzr etc) to keep your custom code safe'n'sound.
// * Internal structure of code is subject to change.
// You can use some of signals in custom code, but most likely they will not exist in future (e.g. will get shorter or gone completely)
// * Please send your feedback, comments, improvement ideas etc. to [email protected]
// * Visit https://github.com/EvgenyMuryshkin/QuokkaEvaluation to access latest version of playground
//
// DISCLAIMER:
// Code comes AS-IS, it is your responsibility to make sure it is working as expected
// no responsibility will be taken for any loss or damage caused by use of Quokka toolkit.
//
// System configuration name is AXISoCQuadCoreModule_TopLevel_CPU0_CPU_CMP, clock frequency is 1Hz, Embedded
// FSM summary
// -- Packages
module AXISoCQuadCoreModule_TopLevel_CPU0_CPU_CMP
(
// [BEGIN USER PORTS]
// [END USER PORTS]
input wire [31:0] Lhs,
input wire [31:0] Rhs,
output wire EQ,
output wire GTS,
output wire GTU,
output wire LTS,
output wire LTU,
output wire NE
);
// [BEGIN USER SIGNALS]
// [END USER SIGNALS]
localparam HiSignal = 1'b1;
localparam LoSignal = 1'b0;
wire Zero = 1'b0;
wire One = 1'b1;
wire true = 1'b1;
wire false = 1'b0;
wire [31: 0] Inputs_Lhs;
wire [31: 0] Inputs_Rhs;
wire internalEQ;
wire signed [31: 0] CompareModule_L19F28T47_SignChange;
wire signed [31: 0] CompareModule_L19F50T69_SignChange;
wire [31: 0] CompareModule_L16F28T49_SignChange;
wire [31: 0] CompareModule_L16F52T73_SignChange;
wire signed [31: 0] CompareModule_L20F28T47_SignChange;
wire signed [31: 0] CompareModule_L20F50T69_SignChange;
wire [31: 0] CompareModule_L17F28T49_SignChange;
wire [31: 0] CompareModule_L17F52T73_SignChange;
wire CompareModule_L15F27T38_Expr;
wire CompareModule_L15F27T38_Expr_1;
wire CompareModule_L13F28T52_Expr;
wire signed [32: 0] CompareModule_L13F28T52_ExprLhs;
wire signed [32: 0] CompareModule_L13F28T52_ExprRhs;
wire CompareModule_L19F28T69_Expr;
wire signed [31: 0] CompareModule_L19F28T69_ExprLhs;
wire signed [31: 0] CompareModule_L19F28T69_ExprRhs;
wire CompareModule_L16F28T73_Expr;
wire signed [32: 0] CompareModule_L16F28T73_ExprLhs;
wire signed [32: 0] CompareModule_L16F28T73_ExprRhs;
wire CompareModule_L20F28T69_Expr;
wire signed [31: 0] CompareModule_L20F28T69_ExprLhs;
wire signed [31: 0] CompareModule_L20F28T69_ExprRhs;
wire CompareModule_L17F28T73_Expr;
wire signed [32: 0] CompareModule_L17F28T73_ExprLhs;
wire signed [32: 0] CompareModule_L17F28T73_ExprRhs;
assign CompareModule_L13F28T52_Expr = CompareModule_L13F28T52_ExprLhs == CompareModule_L13F28T52_ExprRhs ? 1'b1 : 1'b0;
assign CompareModule_L19F28T69_Expr = CompareModule_L19F28T69_ExprLhs > CompareModule_L19F28T69_ExprRhs ? 1'b1 : 1'b0;
assign CompareModule_L16F28T73_Expr = CompareModule_L16F28T73_ExprLhs > CompareModule_L16F28T73_ExprRhs ? 1'b1 : 1'b0;
assign CompareModule_L20F28T69_Expr = CompareModule_L20F28T69_ExprLhs < CompareModule_L20F28T69_ExprRhs ? 1'b1 : 1'b0;
assign CompareModule_L17F28T73_Expr = CompareModule_L17F28T73_ExprLhs < CompareModule_L17F28T73_ExprRhs ? 1'b1 : 1'b0;
assign CompareModule_L15F27T38_Expr = ~CompareModule_L15F27T38_Expr_1;
assign CompareModule_L13F28T52_ExprLhs = {
1'b0,
Inputs_Lhs
}
;
assign CompareModule_L13F28T52_ExprRhs = {
1'b0,
Inputs_Rhs
}
;
assign CompareModule_L19F28T69_ExprLhs = CompareModule_L19F28T47_SignChange;
assign CompareModule_L19F28T69_ExprRhs = CompareModule_L19F50T69_SignChange;
assign CompareModule_L16F28T73_ExprLhs = {
1'b0,
CompareModule_L16F28T49_SignChange
}
;
assign CompareModule_L16F28T73_ExprRhs = {
1'b0,
CompareModule_L16F52T73_SignChange
}
;
assign CompareModule_L20F28T69_ExprLhs = CompareModule_L20F28T47_SignChange;
assign CompareModule_L20F28T69_ExprRhs = CompareModule_L20F50T69_SignChange;
assign CompareModule_L17F28T73_ExprLhs = {
1'b0,
CompareModule_L17F28T49_SignChange
}
;
assign CompareModule_L17F28T73_ExprRhs = {
1'b0,
CompareModule_L17F52T73_SignChange
}
;
assign CompareModule_L15F27T38_Expr_1 = internalEQ;
assign Inputs_Lhs = Lhs;
assign Inputs_Rhs = Rhs;
assign internalEQ = CompareModule_L13F28T52_Expr;
assign EQ = internalEQ;
assign CompareModule_L19F28T47_SignChange = Inputs_Lhs;
assign CompareModule_L19F50T69_SignChange = Inputs_Rhs;
assign GTS = CompareModule_L19F28T69_Expr;
assign CompareModule_L16F28T49_SignChange = Inputs_Lhs;
assign CompareModule_L16F52T73_SignChange = Inputs_Rhs;
assign GTU = CompareModule_L16F28T73_Expr;
assign CompareModule_L20F28T47_SignChange = Inputs_Lhs;
assign CompareModule_L20F50T69_SignChange = Inputs_Rhs;
assign LTS = CompareModule_L20F28T69_Expr;
assign CompareModule_L17F28T49_SignChange = Inputs_Lhs;
assign CompareModule_L17F52T73_SignChange = Inputs_Rhs;
assign LTU = CompareModule_L17F28T73_Expr;
assign NE = CompareModule_L15F27T38_Expr;
// [BEGIN USER ARCHITECTURE]
// [END USER ARCHITECTURE]
endmodule