-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkDE10FanControl.v
2094 lines (1918 loc) · 90.7 KB
/
mkDE10FanControl.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//
// Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
//
// On Thu Feb 20 16:33:31 GMT 2020
//
//
// Ports:
// Name I/O size props
// leds O 4 reg
// get_temp O 8 reg
// target_speed O 8 reg
// RST_N_inner_rst O 1 reset
// CLK I 1 clock
// RST_N I 1 reset
// FAN_I2C_SDA IO 1 inout
// FAN_I2C_SCL IO 1 inout
// TEMP_I2C_SDA IO 1 inout
// TEMP_I2C_SCL IO 1 inout
//
// No combinational paths from inputs to outputs
//
//
`ifdef BSV_ASSIGNMENT_DELAY
`else
`define BSV_ASSIGNMENT_DELAY
`endif
`ifdef BSV_POSITIVE_RESET
`define BSV_RESET_VALUE 1'b1
`define BSV_RESET_EDGE posedge
`else
`define BSV_RESET_VALUE 1'b0
`define BSV_RESET_EDGE negedge
`endif
module mkDE10FanControl(CLK,
RST_N,
.FAN_I2C_SDA(inner_fan_fan_tSDA$IO),
.FAN_I2C_SCL(inner_fan_fan_tSCL$IO),
.TEMP_I2C_SDA(inner_temp_temp_tSDA$IO),
.TEMP_I2C_SCL(inner_temp_temp_tSCL$IO),
leds,
get_temp,
target_speed,
RST_N_inner_rst);
input CLK;
input RST_N;
inout inner_fan_fan_tSDA$IO;
inout inner_fan_fan_tSCL$IO;
inout inner_temp_temp_tSDA$IO;
inout inner_temp_temp_tSCL$IO;
// value method leds
output [3 : 0] leds;
// value method get_temp
output [7 : 0] get_temp;
// value method target_speed
output [7 : 0] target_speed;
// output resets
output RST_N_inner_rst;
// signals for module outputs
wire [7 : 0] get_temp, target_speed;
wire [3 : 0] leds;
wire RST_N_inner_rst;
// inlined wires
wire inner_main_start_wire$whas, inner_main_state_set_pw$whas;
// register inner_cnt
reg [31 : 0] inner_cnt;
wire [31 : 0] inner_cnt$D_IN;
wire inner_cnt$EN;
// register inner_cur_temp
reg [7 : 0] inner_cur_temp;
wire [7 : 0] inner_cur_temp$D_IN;
wire inner_cur_temp$EN;
// register inner_fan_fan_rAddress
reg [7 : 0] inner_fan_fan_rAddress;
wire [7 : 0] inner_fan_fan_rAddress$D_IN;
wire inner_fan_fan_rAddress$EN;
// register inner_fan_fan_rOutEn
reg inner_fan_fan_rOutEn;
wire inner_fan_fan_rOutEn$D_IN, inner_fan_fan_rOutEn$EN;
// register inner_fan_fan_rSCL
reg inner_fan_fan_rSCL;
wire inner_fan_fan_rSCL$D_IN, inner_fan_fan_rSCL$EN;
// register inner_fan_fan_rSDA
reg inner_fan_fan_rSDA;
wire inner_fan_fan_rSDA$D_IN, inner_fan_fan_rSDA$EN;
// register inner_fan_fan_rSlaveAddr
reg [6 : 0] inner_fan_fan_rSlaveAddr;
wire [6 : 0] inner_fan_fan_rSlaveAddr$D_IN;
wire inner_fan_fan_rSlaveAddr$EN;
// register inner_fan_fan_rState
reg inner_fan_fan_rState;
wire inner_fan_fan_rState$D_IN, inner_fan_fan_rState$EN;
// register inner_fan_fan_rWrite
reg inner_fan_fan_rWrite;
wire inner_fan_fan_rWrite$D_IN, inner_fan_fan_rWrite$EN;
// register inner_fan_fan_rWriteData
reg [7 : 0] inner_fan_fan_rWriteData;
wire [7 : 0] inner_fan_fan_rWriteData$D_IN;
wire inner_fan_fan_rWriteData$EN;
// register inner_fan_fan_vrReadData_0
reg inner_fan_fan_vrReadData_0;
wire inner_fan_fan_vrReadData_0$D_IN, inner_fan_fan_vrReadData_0$EN;
// register inner_fan_fan_vrReadData_1
reg inner_fan_fan_vrReadData_1;
wire inner_fan_fan_vrReadData_1$D_IN, inner_fan_fan_vrReadData_1$EN;
// register inner_fan_fan_vrReadData_2
reg inner_fan_fan_vrReadData_2;
wire inner_fan_fan_vrReadData_2$D_IN, inner_fan_fan_vrReadData_2$EN;
// register inner_fan_fan_vrReadData_3
reg inner_fan_fan_vrReadData_3;
wire inner_fan_fan_vrReadData_3$D_IN, inner_fan_fan_vrReadData_3$EN;
// register inner_fan_fan_vrReadData_4
reg inner_fan_fan_vrReadData_4;
wire inner_fan_fan_vrReadData_4$D_IN, inner_fan_fan_vrReadData_4$EN;
// register inner_fan_fan_vrReadData_5
reg inner_fan_fan_vrReadData_5;
wire inner_fan_fan_vrReadData_5$D_IN, inner_fan_fan_vrReadData_5$EN;
// register inner_fan_fan_vrReadData_6
reg inner_fan_fan_vrReadData_6;
wire inner_fan_fan_vrReadData_6$D_IN, inner_fan_fan_vrReadData_6$EN;
// register inner_fan_fan_vrReadData_7
reg inner_fan_fan_vrReadData_7;
wire inner_fan_fan_vrReadData_7$D_IN, inner_fan_fan_vrReadData_7$EN;
// register inner_last_temp
reg [7 : 0] inner_last_temp;
wire [7 : 0] inner_last_temp$D_IN;
wire inner_last_temp$EN;
// register inner_led
reg [3 : 0] inner_led;
reg [3 : 0] inner_led$D_IN;
wire inner_led$EN;
// register inner_main_start_reg
reg inner_main_start_reg;
wire inner_main_start_reg$D_IN, inner_main_start_reg$EN;
// register inner_main_start_reg_1
reg inner_main_start_reg_1;
wire inner_main_start_reg_1$D_IN, inner_main_start_reg_1$EN;
// register inner_main_state_can_overlap
reg inner_main_state_can_overlap;
wire inner_main_state_can_overlap$D_IN, inner_main_state_can_overlap$EN;
// register inner_main_state_fired
reg inner_main_state_fired;
wire inner_main_state_fired$D_IN, inner_main_state_fired$EN;
// register inner_main_state_mkFSMstate
reg [4 : 0] inner_main_state_mkFSMstate;
reg [4 : 0] inner_main_state_mkFSMstate$D_IN;
wire inner_main_state_mkFSMstate$EN;
// register inner_tSpeed
reg [7 : 0] inner_tSpeed;
wire [7 : 0] inner_tSpeed$D_IN;
wire inner_tSpeed$EN;
// register inner_temp_temp_rAddress
reg [7 : 0] inner_temp_temp_rAddress;
wire [7 : 0] inner_temp_temp_rAddress$D_IN;
wire inner_temp_temp_rAddress$EN;
// register inner_temp_temp_rOutEn
reg inner_temp_temp_rOutEn;
wire inner_temp_temp_rOutEn$D_IN, inner_temp_temp_rOutEn$EN;
// register inner_temp_temp_rSCL
reg inner_temp_temp_rSCL;
wire inner_temp_temp_rSCL$D_IN, inner_temp_temp_rSCL$EN;
// register inner_temp_temp_rSDA
reg inner_temp_temp_rSDA;
wire inner_temp_temp_rSDA$D_IN, inner_temp_temp_rSDA$EN;
// register inner_temp_temp_rSlaveAddr
reg [6 : 0] inner_temp_temp_rSlaveAddr;
wire [6 : 0] inner_temp_temp_rSlaveAddr$D_IN;
wire inner_temp_temp_rSlaveAddr$EN;
// register inner_temp_temp_rState
reg inner_temp_temp_rState;
wire inner_temp_temp_rState$D_IN, inner_temp_temp_rState$EN;
// register inner_temp_temp_rWrite
reg inner_temp_temp_rWrite;
wire inner_temp_temp_rWrite$D_IN, inner_temp_temp_rWrite$EN;
// register inner_temp_temp_rWriteData
reg [7 : 0] inner_temp_temp_rWriteData;
wire [7 : 0] inner_temp_temp_rWriteData$D_IN;
wire inner_temp_temp_rWriteData$EN;
// register inner_temp_temp_vrReadData_0
reg inner_temp_temp_vrReadData_0;
wire inner_temp_temp_vrReadData_0$D_IN, inner_temp_temp_vrReadData_0$EN;
// register inner_temp_temp_vrReadData_1
reg inner_temp_temp_vrReadData_1;
wire inner_temp_temp_vrReadData_1$D_IN, inner_temp_temp_vrReadData_1$EN;
// register inner_temp_temp_vrReadData_2
reg inner_temp_temp_vrReadData_2;
wire inner_temp_temp_vrReadData_2$D_IN, inner_temp_temp_vrReadData_2$EN;
// register inner_temp_temp_vrReadData_3
reg inner_temp_temp_vrReadData_3;
wire inner_temp_temp_vrReadData_3$D_IN, inner_temp_temp_vrReadData_3$EN;
// register inner_temp_temp_vrReadData_4
reg inner_temp_temp_vrReadData_4;
wire inner_temp_temp_vrReadData_4$D_IN, inner_temp_temp_vrReadData_4$EN;
// register inner_temp_temp_vrReadData_5
reg inner_temp_temp_vrReadData_5;
wire inner_temp_temp_vrReadData_5$D_IN, inner_temp_temp_vrReadData_5$EN;
// register inner_temp_temp_vrReadData_6
reg inner_temp_temp_vrReadData_6;
wire inner_temp_temp_vrReadData_6$D_IN, inner_temp_temp_vrReadData_6$EN;
// register inner_temp_temp_vrReadData_7
reg inner_temp_temp_vrReadData_7;
wire inner_temp_temp_vrReadData_7$D_IN, inner_temp_temp_vrReadData_7$EN;
// ports of submodule inner_fan_fan_fRequest
reg [23 : 0] inner_fan_fan_fRequest$D_IN;
wire [23 : 0] inner_fan_fan_fRequest$D_OUT;
wire inner_fan_fan_fRequest$CLR,
inner_fan_fan_fRequest$DEQ,
inner_fan_fan_fRequest$EMPTY_N,
inner_fan_fan_fRequest$ENQ,
inner_fan_fan_fRequest$FULL_N;
// ports of submodule inner_fan_fan_fResponse
wire [7 : 0] inner_fan_fan_fResponse$D_IN;
wire inner_fan_fan_fResponse$CLR,
inner_fan_fan_fResponse$DEQ,
inner_fan_fan_fResponse$ENQ,
inner_fan_fan_fResponse$FULL_N;
// ports of submodule inner_fan_fan_rPlayIndex
wire [9 : 0] inner_fan_fan_rPlayIndex$DATA_A,
inner_fan_fan_rPlayIndex$DATA_B,
inner_fan_fan_rPlayIndex$DATA_C,
inner_fan_fan_rPlayIndex$DATA_F,
inner_fan_fan_rPlayIndex$Q_OUT;
wire inner_fan_fan_rPlayIndex$ADDA,
inner_fan_fan_rPlayIndex$ADDB,
inner_fan_fan_rPlayIndex$SETC,
inner_fan_fan_rPlayIndex$SETF;
// ports of submodule inner_fan_fan_rPrescaler
wire [31 : 0] inner_fan_fan_rPrescaler$DATA_A,
inner_fan_fan_rPrescaler$DATA_B,
inner_fan_fan_rPrescaler$DATA_C,
inner_fan_fan_rPrescaler$DATA_F,
inner_fan_fan_rPrescaler$Q_OUT;
wire inner_fan_fan_rPrescaler$ADDA,
inner_fan_fan_rPrescaler$ADDB,
inner_fan_fan_rPrescaler$SETC,
inner_fan_fan_rPrescaler$SETF;
// ports of submodule inner_fan_fan_tSCL
wire inner_fan_fan_tSCL$IO;
// ports of submodule inner_fan_fan_tSDA
wire inner_fan_fan_tSDA$IO, inner_fan_fan_tSDA$O;
// ports of submodule inner_temp_temp_fRequest
wire [23 : 0] inner_temp_temp_fRequest$D_IN, inner_temp_temp_fRequest$D_OUT;
wire inner_temp_temp_fRequest$CLR,
inner_temp_temp_fRequest$DEQ,
inner_temp_temp_fRequest$EMPTY_N,
inner_temp_temp_fRequest$ENQ,
inner_temp_temp_fRequest$FULL_N;
// ports of submodule inner_temp_temp_fResponse
wire [7 : 0] inner_temp_temp_fResponse$D_IN,
inner_temp_temp_fResponse$D_OUT;
wire inner_temp_temp_fResponse$CLR,
inner_temp_temp_fResponse$DEQ,
inner_temp_temp_fResponse$EMPTY_N,
inner_temp_temp_fResponse$ENQ,
inner_temp_temp_fResponse$FULL_N;
// ports of submodule inner_temp_temp_rPlayIndex
wire [9 : 0] inner_temp_temp_rPlayIndex$DATA_A,
inner_temp_temp_rPlayIndex$DATA_B,
inner_temp_temp_rPlayIndex$DATA_C,
inner_temp_temp_rPlayIndex$DATA_F,
inner_temp_temp_rPlayIndex$Q_OUT;
wire inner_temp_temp_rPlayIndex$ADDA,
inner_temp_temp_rPlayIndex$ADDB,
inner_temp_temp_rPlayIndex$SETC,
inner_temp_temp_rPlayIndex$SETF;
// ports of submodule inner_temp_temp_rPrescaler
wire [31 : 0] inner_temp_temp_rPrescaler$DATA_A,
inner_temp_temp_rPrescaler$DATA_B,
inner_temp_temp_rPrescaler$DATA_C,
inner_temp_temp_rPrescaler$DATA_F,
inner_temp_temp_rPrescaler$Q_OUT;
wire inner_temp_temp_rPrescaler$ADDA,
inner_temp_temp_rPrescaler$ADDB,
inner_temp_temp_rPrescaler$SETC,
inner_temp_temp_rPrescaler$SETF;
// ports of submodule inner_temp_temp_tSCL
wire inner_temp_temp_tSCL$IO;
// ports of submodule inner_temp_temp_tSDA
wire inner_temp_temp_tSDA$IO, inner_temp_temp_tSDA$O;
// ports of submodule r
wire r$ASSERT_IN, r$OUT_RST;
// rule scheduling signals
wire WILL_FIRE_RL_inner_fan_fan_done_read,
WILL_FIRE_RL_inner_fan_fan_done_write,
WILL_FIRE_RL_inner_fan_fan_running_read,
WILL_FIRE_RL_inner_fan_fan_running_write,
WILL_FIRE_RL_inner_main_action_l102c28,
WILL_FIRE_RL_inner_main_action_l103c24,
WILL_FIRE_RL_inner_main_action_l108c28,
WILL_FIRE_RL_inner_main_action_l109c24,
WILL_FIRE_RL_inner_main_action_l114c18,
WILL_FIRE_RL_inner_main_action_l19c27,
WILL_FIRE_RL_inner_main_action_l24c26,
WILL_FIRE_RL_inner_main_action_l25c13,
WILL_FIRE_RL_inner_main_action_l39c27,
WILL_FIRE_RL_inner_main_action_l40c27,
WILL_FIRE_RL_inner_main_action_l41c27,
WILL_FIRE_RL_inner_main_action_l42c27,
WILL_FIRE_RL_inner_main_action_l43c27,
WILL_FIRE_RL_inner_main_action_l89c13,
WILL_FIRE_RL_inner_main_action_l90c14,
WILL_FIRE_RL_inner_main_action_l94c12,
WILL_FIRE_RL_inner_main_action_l97c17,
WILL_FIRE_RL_inner_main_fsm_start,
WILL_FIRE_RL_inner_temp_temp_done_read,
WILL_FIRE_RL_inner_temp_temp_done_write,
WILL_FIRE_RL_inner_temp_temp_running_read,
WILL_FIRE_RL_inner_temp_temp_running_write;
// inputs to muxes for submodule ports
wire [31 : 0] MUX_inner_cnt$write_1__VAL_1;
wire [23 : 0] MUX_inner_fan_fan_fRequest$enq_1__VAL_1;
wire [7 : 0] MUX_inner_tSpeed$write_1__VAL_1,
MUX_inner_tSpeed$write_1__VAL_2;
wire MUX_inner_fan_fan_fRequest$enq_1__SEL_1,
MUX_inner_fan_fan_rOutEn$write_1__SEL_1,
MUX_inner_fan_fan_rOutEn$write_1__VAL_1,
MUX_inner_fan_fan_rOutEn$write_1__VAL_2,
MUX_inner_fan_fan_rSCL$write_1__VAL_1,
MUX_inner_fan_fan_rSCL$write_1__VAL_2,
MUX_inner_fan_fan_rSDA$write_1__VAL_1,
MUX_inner_fan_fan_rSDA$write_1__VAL_2,
MUX_inner_fan_fan_rState$write_1__SEL_1,
MUX_inner_fan_fan_rState$write_1__SEL_2,
MUX_inner_temp_temp_rOutEn$write_1__SEL_1,
MUX_inner_temp_temp_rOutEn$write_1__VAL_1,
MUX_inner_temp_temp_rOutEn$write_1__VAL_2,
MUX_inner_temp_temp_rSCL$write_1__VAL_1,
MUX_inner_temp_temp_rSCL$write_1__VAL_2,
MUX_inner_temp_temp_rSDA$write_1__VAL_1,
MUX_inner_temp_temp_rSDA$write_1__VAL_2,
MUX_inner_temp_temp_rState$write_1__SEL_1,
MUX_inner_temp_temp_rState$write_1__SEL_2;
// remaining internal signals
wire [119 : 0] _1044393425259576759155060135206397075__q5,
_1329227987119335533342540869413109767__q3,
_306783360__q1,
wRdData__h1559,
wRdData__h16184;
wire [86 : 0] _121583396715528419856163987__q4,
_154742503901866210315206599__q2,
wWrData__h1563,
wWrData__h16188;
wire [11 : 0] x__h76513, y__h76530;
wire [7 : 0] x__h78896;
wire [2 : 0] a0__h1548,
a0__h16173,
a1__h1547,
a1__h16172,
a2__h1546,
a2__h16171,
a3__h1545,
a3__h16170,
a4__h1544,
a4__h16169,
a5__h1543,
a5__h16168,
a6__h1542,
a6__h16167,
a7__h1541,
a7__h16166,
d0__h1557,
d0__h16182,
d1__h1556,
d1__h16181,
d2__h1555,
d2__h16180,
d3__h1554,
d3__h16179,
d4__h1553,
d4__h16178,
d5__h1552,
d5__h16177,
d6__h1551,
d6__h16176,
d7__h1550,
d7__h16175,
s0__h1539,
s0__h16164,
s1__h1538,
s1__h16163,
s2__h1537,
s2__h16162,
s3__h1536,
s3__h16161,
s4__h1535,
s4__h16160,
s5__h1534,
s5__h16159,
s6__h1533,
s6__h16158;
wire NOT_inner_cur_temp_33_ULT_40_42_66_OR_NOT_inne_ETC___d369,
NOT_inner_cur_temp_33_ULT_40_42_66_OR_NOT_inne_ETC___d386,
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108,
_306783360_BIT_inner_temp_temp_rPlayIndex_value_ETC___d233,
inner_cur_temp_33_ULE_40___d357,
inner_cur_temp_33_ULE_inner_last_temp_43___d344,
inner_cur_temp_33_ULT_40_42_AND_inner_cur_temp_ETC___d370,
inner_cur_temp_33_ULT_40_42_AND_inner_cur_temp_ETC___d387,
inner_cur_temp_33_ULT_40_42_AND_inner_cur_temp_ETC___d393,
inner_cur_temp_33_ULT_40___d342,
inner_cur_temp_33_ULT_inner_last_temp_43___d359,
inner_main_abort_whas__60_AND_inner_main_abort_ETC___d402,
inner_tSpeed_19_ULE_35___d346,
inner_tSpeed_19_ULT_100___d362;
// output resets
assign RST_N_inner_rst = r$OUT_RST ;
// value method leds
assign leds = inner_led ;
// value method get_temp
assign get_temp = inner_cur_temp ;
// value method target_speed
assign target_speed = inner_tSpeed ;
// submodule inner_fan_fan_fRequest
SizedFIFO #(.p1width(32'd24),
.p2depth(32'd16),
.p3cntr_width(32'd4),
.guarded(32'd1)) inner_fan_fan_fRequest(.RST(r$OUT_RST),
.CLK(CLK),
.D_IN(inner_fan_fan_fRequest$D_IN),
.ENQ(inner_fan_fan_fRequest$ENQ),
.DEQ(inner_fan_fan_fRequest$DEQ),
.CLR(inner_fan_fan_fRequest$CLR),
.D_OUT(inner_fan_fan_fRequest$D_OUT),
.FULL_N(inner_fan_fan_fRequest$FULL_N),
.EMPTY_N(inner_fan_fan_fRequest$EMPTY_N));
// submodule inner_fan_fan_fResponse
SizedFIFO #(.p1width(32'd8),
.p2depth(32'd16),
.p3cntr_width(32'd4),
.guarded(32'd1)) inner_fan_fan_fResponse(.RST(r$OUT_RST),
.CLK(CLK),
.D_IN(inner_fan_fan_fResponse$D_IN),
.ENQ(inner_fan_fan_fResponse$ENQ),
.DEQ(inner_fan_fan_fResponse$DEQ),
.CLR(inner_fan_fan_fResponse$CLR),
.D_OUT(),
.FULL_N(inner_fan_fan_fResponse$FULL_N),
.EMPTY_N());
// submodule inner_fan_fan_rPlayIndex
Counter #(.width(32'd10), .init(10'd0)) inner_fan_fan_rPlayIndex(.CLK(CLK),
.RST(r$OUT_RST),
.DATA_A(inner_fan_fan_rPlayIndex$DATA_A),
.DATA_B(inner_fan_fan_rPlayIndex$DATA_B),
.DATA_C(inner_fan_fan_rPlayIndex$DATA_C),
.DATA_F(inner_fan_fan_rPlayIndex$DATA_F),
.ADDA(inner_fan_fan_rPlayIndex$ADDA),
.ADDB(inner_fan_fan_rPlayIndex$ADDB),
.SETC(inner_fan_fan_rPlayIndex$SETC),
.SETF(inner_fan_fan_rPlayIndex$SETF),
.Q_OUT(inner_fan_fan_rPlayIndex$Q_OUT));
// submodule inner_fan_fan_rPrescaler
Counter #(.width(32'd32),
.init(32'd125)) inner_fan_fan_rPrescaler(.CLK(CLK),
.RST(r$OUT_RST),
.DATA_A(inner_fan_fan_rPrescaler$DATA_A),
.DATA_B(inner_fan_fan_rPrescaler$DATA_B),
.DATA_C(inner_fan_fan_rPrescaler$DATA_C),
.DATA_F(inner_fan_fan_rPrescaler$DATA_F),
.ADDA(inner_fan_fan_rPrescaler$ADDA),
.ADDB(inner_fan_fan_rPrescaler$ADDB),
.SETC(inner_fan_fan_rPrescaler$SETC),
.SETF(inner_fan_fan_rPrescaler$SETF),
.Q_OUT(inner_fan_fan_rPrescaler$Q_OUT));
// submodule inner_fan_fan_tSCL
TriState #(.width(32'd1)) inner_fan_fan_tSCL(.I(inner_fan_fan_rSCL),
.OE(1'd1),
.O(),
.IO(inner_fan_fan_tSCL$IO));
// submodule inner_fan_fan_tSDA
TriState #(.width(32'd1)) inner_fan_fan_tSDA(.I(inner_fan_fan_rSDA),
.OE(inner_fan_fan_rOutEn),
.O(inner_fan_fan_tSDA$O),
.IO(inner_fan_fan_tSDA$IO));
// submodule inner_temp_temp_fRequest
SizedFIFO #(.p1width(32'd24),
.p2depth(32'd16),
.p3cntr_width(32'd4),
.guarded(32'd1)) inner_temp_temp_fRequest(.RST(r$OUT_RST),
.CLK(CLK),
.D_IN(inner_temp_temp_fRequest$D_IN),
.ENQ(inner_temp_temp_fRequest$ENQ),
.DEQ(inner_temp_temp_fRequest$DEQ),
.CLR(inner_temp_temp_fRequest$CLR),
.D_OUT(inner_temp_temp_fRequest$D_OUT),
.FULL_N(inner_temp_temp_fRequest$FULL_N),
.EMPTY_N(inner_temp_temp_fRequest$EMPTY_N));
// submodule inner_temp_temp_fResponse
SizedFIFO #(.p1width(32'd8),
.p2depth(32'd16),
.p3cntr_width(32'd4),
.guarded(32'd1)) inner_temp_temp_fResponse(.RST(r$OUT_RST),
.CLK(CLK),
.D_IN(inner_temp_temp_fResponse$D_IN),
.ENQ(inner_temp_temp_fResponse$ENQ),
.DEQ(inner_temp_temp_fResponse$DEQ),
.CLR(inner_temp_temp_fResponse$CLR),
.D_OUT(inner_temp_temp_fResponse$D_OUT),
.FULL_N(inner_temp_temp_fResponse$FULL_N),
.EMPTY_N(inner_temp_temp_fResponse$EMPTY_N));
// submodule inner_temp_temp_rPlayIndex
Counter #(.width(32'd10),
.init(10'd0)) inner_temp_temp_rPlayIndex(.CLK(CLK),
.RST(r$OUT_RST),
.DATA_A(inner_temp_temp_rPlayIndex$DATA_A),
.DATA_B(inner_temp_temp_rPlayIndex$DATA_B),
.DATA_C(inner_temp_temp_rPlayIndex$DATA_C),
.DATA_F(inner_temp_temp_rPlayIndex$DATA_F),
.ADDA(inner_temp_temp_rPlayIndex$ADDA),
.ADDB(inner_temp_temp_rPlayIndex$ADDB),
.SETC(inner_temp_temp_rPlayIndex$SETC),
.SETF(inner_temp_temp_rPlayIndex$SETF),
.Q_OUT(inner_temp_temp_rPlayIndex$Q_OUT));
// submodule inner_temp_temp_rPrescaler
Counter #(.width(32'd32),
.init(32'd125)) inner_temp_temp_rPrescaler(.CLK(CLK),
.RST(r$OUT_RST),
.DATA_A(inner_temp_temp_rPrescaler$DATA_A),
.DATA_B(inner_temp_temp_rPrescaler$DATA_B),
.DATA_C(inner_temp_temp_rPrescaler$DATA_C),
.DATA_F(inner_temp_temp_rPrescaler$DATA_F),
.ADDA(inner_temp_temp_rPrescaler$ADDA),
.ADDB(inner_temp_temp_rPrescaler$ADDB),
.SETC(inner_temp_temp_rPrescaler$SETC),
.SETF(inner_temp_temp_rPrescaler$SETF),
.Q_OUT(inner_temp_temp_rPrescaler$Q_OUT));
// submodule inner_temp_temp_tSCL
TriState #(.width(32'd1)) inner_temp_temp_tSCL(.I(inner_temp_temp_rSCL),
.OE(1'd1),
.O(),
.IO(inner_temp_temp_tSCL$IO));
// submodule inner_temp_temp_tSDA
TriState #(.width(32'd1)) inner_temp_temp_tSDA(.I(inner_temp_temp_rSDA),
.OE(inner_temp_temp_rOutEn),
.O(inner_temp_temp_tSDA$O),
.IO(inner_temp_temp_tSDA$IO));
// submodule r
MakeResetA #(.RSTDELAY(32'd1), .init(1'd0)) r(.CLK(CLK),
.RST(RST_N),
.DST_CLK(CLK),
.ASSERT_IN(r$ASSERT_IN),
.ASSERT_OUT(),
.OUT_RST(r$OUT_RST));
// rule RL_inner_fan_fan_running_write
assign WILL_FIRE_RL_inner_fan_fan_running_write =
inner_fan_fan_rState && inner_fan_fan_rWrite &&
inner_fan_fan_rPrescaler$Q_OUT == 32'd0 &&
inner_fan_fan_rPlayIndex$Q_OUT != 10'd0 ;
// rule RL_inner_fan_fan_running_read
assign WILL_FIRE_RL_inner_fan_fan_running_read =
inner_fan_fan_rState && !inner_fan_fan_rWrite &&
inner_fan_fan_rPrescaler$Q_OUT == 32'd0 &&
inner_fan_fan_rPlayIndex$Q_OUT != 10'd0 ;
// rule RL_inner_fan_fan_done_write
assign WILL_FIRE_RL_inner_fan_fan_done_write =
inner_fan_fan_rState && inner_fan_fan_rWrite &&
inner_fan_fan_rPrescaler$Q_OUT == 32'd0 &&
inner_fan_fan_rPlayIndex$Q_OUT == 10'd0 ;
// rule RL_inner_fan_fan_done_read
assign WILL_FIRE_RL_inner_fan_fan_done_read =
inner_fan_fan_fResponse$FULL_N && inner_fan_fan_rState &&
!inner_fan_fan_rWrite &&
inner_fan_fan_rPrescaler$Q_OUT == 32'd0 &&
inner_fan_fan_rPlayIndex$Q_OUT == 10'd0 ;
// rule RL_inner_temp_temp_running_write
assign WILL_FIRE_RL_inner_temp_temp_running_write =
inner_temp_temp_rState && inner_temp_temp_rWrite &&
inner_temp_temp_rPrescaler$Q_OUT == 32'd0 &&
inner_temp_temp_rPlayIndex$Q_OUT != 10'd0 ;
// rule RL_inner_temp_temp_running_read
assign WILL_FIRE_RL_inner_temp_temp_running_read =
inner_temp_temp_rState && !inner_temp_temp_rWrite &&
inner_temp_temp_rPrescaler$Q_OUT == 32'd0 &&
inner_temp_temp_rPlayIndex$Q_OUT != 10'd0 ;
// rule RL_inner_temp_temp_done_write
assign WILL_FIRE_RL_inner_temp_temp_done_write =
inner_temp_temp_rState && inner_temp_temp_rWrite &&
inner_temp_temp_rPrescaler$Q_OUT == 32'd0 &&
inner_temp_temp_rPlayIndex$Q_OUT == 10'd0 ;
// rule RL_inner_temp_temp_done_read
assign WILL_FIRE_RL_inner_temp_temp_done_read =
inner_temp_temp_fResponse$FULL_N && inner_temp_temp_rState &&
!inner_temp_temp_rWrite &&
inner_temp_temp_rPrescaler$Q_OUT == 32'd0 &&
inner_temp_temp_rPlayIndex$Q_OUT == 10'd0 ;
// rule RL_inner_main_action_l90c14
assign WILL_FIRE_RL_inner_main_action_l90c14 =
inner_cnt == 32'd0 && inner_main_state_mkFSMstate == 5'd1 ;
// rule RL_inner_main_action_l39c27
assign WILL_FIRE_RL_inner_main_action_l39c27 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd3 ;
// rule RL_inner_main_action_l40c27
assign WILL_FIRE_RL_inner_main_action_l40c27 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd4 ;
// rule RL_inner_main_action_l41c27
assign WILL_FIRE_RL_inner_main_action_l41c27 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd5 ;
// rule RL_inner_main_action_l42c27
assign WILL_FIRE_RL_inner_main_action_l42c27 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd6 ;
// rule RL_inner_main_action_l43c27
assign WILL_FIRE_RL_inner_main_action_l43c27 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd7 ;
// rule RL_inner_main_action_l19c27
assign WILL_FIRE_RL_inner_main_action_l19c27 =
inner_temp_temp_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd8 ;
// rule RL_inner_main_action_l94c12
assign WILL_FIRE_RL_inner_main_action_l94c12 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd9 ;
// rule RL_inner_main_action_l97c17
assign WILL_FIRE_RL_inner_main_action_l97c17 =
inner_main_state_mkFSMstate == 5'd11 ||
inner_main_state_mkFSMstate == 5'd22 ;
// rule RL_inner_main_action_l24c26
assign WILL_FIRE_RL_inner_main_action_l24c26 =
inner_temp_temp_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd13 ;
// rule RL_inner_main_action_l25c13
assign WILL_FIRE_RL_inner_main_action_l25c13 =
inner_temp_temp_fResponse$EMPTY_N &&
inner_main_state_mkFSMstate == 5'd14 ;
// rule RL_inner_main_action_l102c28
assign WILL_FIRE_RL_inner_main_action_l102c28 =
inner_cur_temp_33_ULT_40___d342 &&
inner_cur_temp_33_ULE_inner_last_temp_43___d344 &&
!inner_tSpeed_19_ULE_35___d346 &&
inner_main_state_mkFSMstate == 5'd15 ;
// rule RL_inner_main_action_l103c24
assign WILL_FIRE_RL_inner_main_action_l103c24 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd16 ;
// rule RL_inner_main_action_l109c24
assign WILL_FIRE_RL_inner_main_action_l109c24 =
inner_fan_fan_fRequest$FULL_N &&
inner_main_state_mkFSMstate == 5'd18 ;
// rule RL_inner_main_action_l114c18
assign WILL_FIRE_RL_inner_main_action_l114c18 =
inner_cnt == 32'd0 && inner_main_state_mkFSMstate == 5'd21 ;
// rule RL_inner_main_fsm_start
assign WILL_FIRE_RL_inner_main_fsm_start =
inner_main_abort_whas__60_AND_inner_main_abort_ETC___d402 &&
inner_main_start_reg ;
// rule RL_inner_main_action_l89c13
assign WILL_FIRE_RL_inner_main_action_l89c13 =
inner_main_start_wire$whas &&
inner_main_state_mkFSMstate == 5'd0 ;
// rule RL_inner_main_action_l108c28
assign WILL_FIRE_RL_inner_main_action_l108c28 =
inner_cur_temp_33_ULT_40_42_AND_inner_cur_temp_ETC___d370 &&
inner_main_state_mkFSMstate == 5'd15 ||
!inner_cur_temp_33_ULE_40___d357 &&
!inner_cur_temp_33_ULT_inner_last_temp_43___d359 &&
inner_tSpeed_19_ULT_100___d362 &&
inner_main_state_mkFSMstate == 5'd17 ;
// inputs to muxes for submodule ports
assign MUX_inner_fan_fan_fRequest$enq_1__SEL_1 =
WILL_FIRE_RL_inner_main_action_l109c24 ||
WILL_FIRE_RL_inner_main_action_l103c24 ||
WILL_FIRE_RL_inner_main_action_l94c12 ;
assign MUX_inner_fan_fan_rOutEn$write_1__SEL_1 =
WILL_FIRE_RL_inner_fan_fan_done_write ||
WILL_FIRE_RL_inner_fan_fan_running_write ;
assign MUX_inner_fan_fan_rState$write_1__SEL_1 =
WILL_FIRE_RL_inner_fan_fan_done_read ||
WILL_FIRE_RL_inner_fan_fan_done_write ;
assign MUX_inner_fan_fan_rState$write_1__SEL_2 =
inner_fan_fan_fRequest$EMPTY_N && !inner_fan_fan_rState ;
assign MUX_inner_temp_temp_rOutEn$write_1__SEL_1 =
WILL_FIRE_RL_inner_temp_temp_done_write ||
WILL_FIRE_RL_inner_temp_temp_running_write ;
assign MUX_inner_temp_temp_rState$write_1__SEL_1 =
WILL_FIRE_RL_inner_temp_temp_done_read ||
WILL_FIRE_RL_inner_temp_temp_done_write ;
assign MUX_inner_temp_temp_rState$write_1__SEL_2 =
inner_temp_temp_fRequest$EMPTY_N && !inner_temp_temp_rState ;
assign MUX_inner_cnt$write_1__VAL_1 = inner_cnt - 32'd1 ;
assign MUX_inner_fan_fan_fRequest$enq_1__VAL_1 = { 16'd51200, x__h78896 } ;
assign MUX_inner_fan_fan_rOutEn$write_1__VAL_1 =
_154742503901866210315206599__q2[inner_fan_fan_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_fan_fan_rOutEn$write_1__VAL_2 =
_1329227987119335533342540869413109767__q3[inner_fan_fan_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_fan_fan_rSCL$write_1__VAL_1 =
_121583396715528419856163987__q4[inner_fan_fan_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_fan_fan_rSCL$write_1__VAL_2 =
_1044393425259576759155060135206397075__q5[inner_fan_fan_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_fan_fan_rSDA$write_1__VAL_1 =
wWrData__h1563[inner_fan_fan_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_fan_fan_rSDA$write_1__VAL_2 =
wRdData__h1559[inner_fan_fan_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_tSpeed$write_1__VAL_1 = inner_tSpeed - 8'd5 ;
assign MUX_inner_tSpeed$write_1__VAL_2 = inner_tSpeed + 8'd5 ;
assign MUX_inner_temp_temp_rOutEn$write_1__VAL_1 =
_154742503901866210315206599__q2[inner_temp_temp_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_temp_temp_rOutEn$write_1__VAL_2 =
_1329227987119335533342540869413109767__q3[inner_temp_temp_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_temp_temp_rSCL$write_1__VAL_1 =
_121583396715528419856163987__q4[inner_temp_temp_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_temp_temp_rSCL$write_1__VAL_2 =
_1044393425259576759155060135206397075__q5[inner_temp_temp_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_temp_temp_rSDA$write_1__VAL_1 =
wWrData__h16188[inner_temp_temp_rPlayIndex$Q_OUT[6:0]] ;
assign MUX_inner_temp_temp_rSDA$write_1__VAL_2 =
wRdData__h16184[inner_temp_temp_rPlayIndex$Q_OUT[6:0]] ;
// inlined wires
assign inner_main_start_wire$whas =
WILL_FIRE_RL_inner_main_fsm_start ||
inner_main_start_reg_1 && !inner_main_state_fired ;
assign inner_main_state_set_pw$whas =
WILL_FIRE_RL_inner_main_action_l114c18 ||
inner_main_state_mkFSMstate == 5'd20 ||
inner_cur_temp_33_ULT_40_42_AND_inner_cur_temp_ETC___d393 ||
WILL_FIRE_RL_inner_main_action_l109c24 ||
WILL_FIRE_RL_inner_main_action_l108c28 ||
WILL_FIRE_RL_inner_main_action_l103c24 ||
WILL_FIRE_RL_inner_main_action_l102c28 ||
WILL_FIRE_RL_inner_main_action_l25c13 ||
WILL_FIRE_RL_inner_main_action_l24c26 ||
inner_main_state_mkFSMstate == 5'd12 ||
WILL_FIRE_RL_inner_main_action_l97c17 ||
inner_main_state_mkFSMstate == 5'd10 ||
WILL_FIRE_RL_inner_main_action_l94c12 ||
WILL_FIRE_RL_inner_main_action_l19c27 ||
WILL_FIRE_RL_inner_main_action_l43c27 ||
WILL_FIRE_RL_inner_main_action_l42c27 ||
WILL_FIRE_RL_inner_main_action_l41c27 ||
WILL_FIRE_RL_inner_main_action_l40c27 ||
WILL_FIRE_RL_inner_main_action_l39c27 ||
inner_main_state_mkFSMstate == 5'd2 ||
WILL_FIRE_RL_inner_main_action_l90c14 ||
WILL_FIRE_RL_inner_main_action_l89c13 ;
// register inner_cnt
assign inner_cnt$D_IN =
(inner_cnt != 32'd0) ?
MUX_inner_cnt$write_1__VAL_1 :
32'd250000000 ;
assign inner_cnt$EN =
inner_cnt != 32'd0 ||
inner_cnt == 32'd0 &&
inner_cur_temp_33_ULT_40_42_AND_inner_cur_temp_ETC___d393 ;
// register inner_cur_temp
assign inner_cur_temp$D_IN = inner_temp_temp_fResponse$D_OUT ;
assign inner_cur_temp$EN = WILL_FIRE_RL_inner_main_action_l25c13 ;
// register inner_fan_fan_rAddress
assign inner_fan_fan_rAddress$D_IN = inner_fan_fan_fRequest$D_OUT[15:8] ;
assign inner_fan_fan_rAddress$EN = MUX_inner_fan_fan_rState$write_1__SEL_2 ;
// register inner_fan_fan_rOutEn
assign inner_fan_fan_rOutEn$D_IN =
MUX_inner_fan_fan_rOutEn$write_1__SEL_1 ?
MUX_inner_fan_fan_rOutEn$write_1__VAL_1 :
MUX_inner_fan_fan_rOutEn$write_1__VAL_2 ;
assign inner_fan_fan_rOutEn$EN =
WILL_FIRE_RL_inner_fan_fan_done_write ||
WILL_FIRE_RL_inner_fan_fan_running_write ||
WILL_FIRE_RL_inner_fan_fan_done_read ||
WILL_FIRE_RL_inner_fan_fan_running_read ;
// register inner_fan_fan_rSCL
assign inner_fan_fan_rSCL$D_IN =
MUX_inner_fan_fan_rOutEn$write_1__SEL_1 ?
MUX_inner_fan_fan_rSCL$write_1__VAL_1 :
MUX_inner_fan_fan_rSCL$write_1__VAL_2 ;
assign inner_fan_fan_rSCL$EN =
WILL_FIRE_RL_inner_fan_fan_done_write ||
WILL_FIRE_RL_inner_fan_fan_running_write ||
WILL_FIRE_RL_inner_fan_fan_done_read ||
WILL_FIRE_RL_inner_fan_fan_running_read ;
// register inner_fan_fan_rSDA
assign inner_fan_fan_rSDA$D_IN =
MUX_inner_fan_fan_rOutEn$write_1__SEL_1 ?
MUX_inner_fan_fan_rSDA$write_1__VAL_1 :
MUX_inner_fan_fan_rSDA$write_1__VAL_2 ;
assign inner_fan_fan_rSDA$EN =
WILL_FIRE_RL_inner_fan_fan_done_write ||
WILL_FIRE_RL_inner_fan_fan_running_write ||
WILL_FIRE_RL_inner_fan_fan_done_read ||
WILL_FIRE_RL_inner_fan_fan_running_read ;
// register inner_fan_fan_rSlaveAddr
assign inner_fan_fan_rSlaveAddr$D_IN = inner_fan_fan_fRequest$D_OUT[22:16] ;
assign inner_fan_fan_rSlaveAddr$EN =
MUX_inner_fan_fan_rState$write_1__SEL_2 ;
// register inner_fan_fan_rState
assign inner_fan_fan_rState$D_IN =
!MUX_inner_fan_fan_rState$write_1__SEL_1 ;
assign inner_fan_fan_rState$EN =
WILL_FIRE_RL_inner_fan_fan_done_read ||
WILL_FIRE_RL_inner_fan_fan_done_write ||
inner_fan_fan_fRequest$EMPTY_N && !inner_fan_fan_rState ;
// register inner_fan_fan_rWrite
assign inner_fan_fan_rWrite$D_IN = inner_fan_fan_fRequest$D_OUT[23] ;
assign inner_fan_fan_rWrite$EN = MUX_inner_fan_fan_rState$write_1__SEL_2 ;
// register inner_fan_fan_rWriteData
assign inner_fan_fan_rWriteData$D_IN = inner_fan_fan_fRequest$D_OUT[7:0] ;
assign inner_fan_fan_rWriteData$EN =
MUX_inner_fan_fan_rState$write_1__SEL_2 ;
// register inner_fan_fan_vrReadData_0
assign inner_fan_fan_vrReadData_0$D_IN = inner_fan_fan_tSDA$O ;
assign inner_fan_fan_vrReadData_0$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_fan_fan_vrReadData_1
assign inner_fan_fan_vrReadData_1$D_IN = inner_fan_fan_vrReadData_0 ;
assign inner_fan_fan_vrReadData_1$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_fan_fan_vrReadData_2
assign inner_fan_fan_vrReadData_2$D_IN = inner_fan_fan_vrReadData_1 ;
assign inner_fan_fan_vrReadData_2$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_fan_fan_vrReadData_3
assign inner_fan_fan_vrReadData_3$D_IN = inner_fan_fan_vrReadData_2 ;
assign inner_fan_fan_vrReadData_3$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_fan_fan_vrReadData_4
assign inner_fan_fan_vrReadData_4$D_IN = inner_fan_fan_vrReadData_3 ;
assign inner_fan_fan_vrReadData_4$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_fan_fan_vrReadData_5
assign inner_fan_fan_vrReadData_5$D_IN = inner_fan_fan_vrReadData_4 ;
assign inner_fan_fan_vrReadData_5$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_fan_fan_vrReadData_6
assign inner_fan_fan_vrReadData_6$D_IN = inner_fan_fan_vrReadData_5 ;
assign inner_fan_fan_vrReadData_6$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_fan_fan_vrReadData_7
assign inner_fan_fan_vrReadData_7$D_IN = inner_fan_fan_vrReadData_6 ;
assign inner_fan_fan_vrReadData_7$EN =
WILL_FIRE_RL_inner_fan_fan_running_read &&
_306783360_BIT_inner_fan_fan_rPlayIndex_value___ETC___d108 ;
// register inner_last_temp
assign inner_last_temp$D_IN = inner_cur_temp ;
assign inner_last_temp$EN = inner_main_state_mkFSMstate == 5'd12 ;
// register inner_led
always@(WILL_FIRE_RL_inner_main_action_l89c13 or
inner_main_state_mkFSMstate or
WILL_FIRE_RL_inner_main_action_l97c17)
begin
case (1'b1) // synopsys parallel_case
WILL_FIRE_RL_inner_main_action_l89c13: inner_led$D_IN = 4'd0;
inner_main_state_mkFSMstate == 5'd2: inner_led$D_IN = 4'd1;
inner_main_state_mkFSMstate == 5'd10: inner_led$D_IN = 4'd2;
WILL_FIRE_RL_inner_main_action_l97c17: inner_led$D_IN = 4'd4;
inner_main_state_mkFSMstate == 5'd20: inner_led$D_IN = 4'd8;
default: inner_led$D_IN = 4'b1010 /* unspecified value */ ;
endcase
end
assign inner_led$EN =
WILL_FIRE_RL_inner_main_action_l89c13 ||
inner_main_state_mkFSMstate == 5'd2 ||
inner_main_state_mkFSMstate == 5'd10 ||
WILL_FIRE_RL_inner_main_action_l97c17 ||
inner_main_state_mkFSMstate == 5'd20 ;