nv_ram_rwsp_4x64_logic.v 53.1 KB
Newer Older
sakundu committed
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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329
// nv_ram_rwsp_4x64: synthesizable model core
// Generated by /home/nvtools/branch/release/t194_rg/2017/06/01_10_25_11/nvtools/rams/scripts/ramgen - DO NOT EDIT
// Estimated area: 543.49 um^2 (nvstd_tsmc16fflr)
`ifdef _SIMULATE_X_VH_
`else
`ifndef SYNTHESIS
`define tick_x_or_0 1'bx
`define tick_x_or_1 1'bx
`else
`define tick_x_or_0 1'b0
`define tick_x_or_1 1'b1
`endif
`endif
// verilint 549 off - async flop inferred
// verilint 446 off - reading from output port
// verilint 389 off - multiple clocks in module
// verilint 287 off - unconnected ports
// verilint 401 off - Clock is not an input to the module (we use gated clk)
// verilint 257 off - delays ignored by synth tools
// verilint 240 off - Unused input
// verilint 542 off - enabled flop inferred
// verilint 210 off - too few module ports
// verilint 280 off - delay in non-blocking assignment
// verilint 332 off - not all possible cases covered, but default case exists
// verilint 390 off - multiple resets in this module
// verilint 396 off - flop w/o async reset
// verilint 69 off - case without default, all cases covered
// verilint 34 off - unused macro
// verilint 528 off - variable set but not used
// verilint 530 off - flop inferred
// verilint 550 off - mux inferred
// verilint 113 off - multiple drivers to flop
// leda ELB072 off
`timescale 1ns / 10ps
module nv_ram_rwsp_4x64_logic (
               SI,
               SO_int_net,
               clk,
               debug_mode,
               di,
               dout,
               mbist_ramaccess_rst_,
               ore,
               pwrbus_ram_pd,
               ra,
               re,
               scan_en,
               scan_ramcen,
               shiftDR,
               updateDR,
               wa,
               we
        );
parameter FORCE_CONTENTION_ASSERTION_RESET_ACTIVE=1'b0;
// port list for submodule
input SI;
output SO_int_net;
input clk;
input debug_mode;
input [63:0] di;
output [63:0] dout;
input mbist_ramaccess_rst_;
input ore;
input [31:0] pwrbus_ram_pd;
input [1:0] ra;
input re;
input scan_en;
input scan_ramcen;
input shiftDR;
input updateDR;
input [1:0] wa;
input we;
wire [7:0] sleep_en = pwrbus_ram_pd[7:0];
wire ret_en = pwrbus_ram_pd[8];
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_9 (.A(pwrbus_ram_pd[9]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_10 (.A(pwrbus_ram_pd[10]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_11 (.A(pwrbus_ram_pd[11]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_12 (.A(pwrbus_ram_pd[12]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_13 (.A(pwrbus_ram_pd[13]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_14 (.A(pwrbus_ram_pd[14]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_15 (.A(pwrbus_ram_pd[15]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_16 (.A(pwrbus_ram_pd[16]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_17 (.A(pwrbus_ram_pd[17]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_18 (.A(pwrbus_ram_pd[18]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_19 (.A(pwrbus_ram_pd[19]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_20 (.A(pwrbus_ram_pd[20]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_21 (.A(pwrbus_ram_pd[21]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_22 (.A(pwrbus_ram_pd[22]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_23 (.A(pwrbus_ram_pd[23]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_24 (.A(pwrbus_ram_pd[24]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_25 (.A(pwrbus_ram_pd[25]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_26 (.A(pwrbus_ram_pd[26]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_27 (.A(pwrbus_ram_pd[27]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_28 (.A(pwrbus_ram_pd[28]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_29 (.A(pwrbus_ram_pd[29]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_30 (.A(pwrbus_ram_pd[30]));
NV_BLKBOX_SINK UJ_BBOX2UNIT_UNUSED_pwrbus_31 (.A(pwrbus_ram_pd[31]));
// DFT ATPG signals
wire la_bist_clkw0;
wire la_bist_clkr0;
assign la_bist_clkr0 = la_bist_clkw0;
wire updateDR_sync;
sync2d_c_pp updateDR_synchronizer (.d(updateDR), .clk(la_bist_clkw0), .q(updateDR_sync), .clr_(mbist_ramaccess_rst_));
reg updateDR_sync_1p;
always @(posedge la_bist_clkr0 or negedge mbist_ramaccess_rst_) begin
    if (!mbist_ramaccess_rst_)
        updateDR_sync_1p <= 1'b0;
    else
        updateDR_sync_1p <= updateDR_sync;
end
wire debug_mode_sync;
wire dft_rst_gated_clk;
CKLNQD12PO4 CLK_GATE_clk (.Q(dft_rst_gated_clk), .CP(clk), .E(mbist_ramaccess_rst_), .TE(scan_en));
sync2d_c_pp debug_mode_synchronizer (.d(debug_mode), .clk(dft_rst_gated_clk), .q(debug_mode_sync), .clr_(mbist_ramaccess_rst_));
wire reg_shiftDR = shiftDR;
wire reg_data_shiftDR = reg_shiftDR;
wire [1:0] Ra_array_reg_r0;
// Declare the Data_reg signal beforehand
reg [63:0] Data_reg_r0;
// Data out bus for read port r0 for Output Mux
wire [63:0] r0_OutputMuxDataOut;
CKLNQD12PO4 UJ_la_bist_clkw0_gate (.Q(la_bist_clkw0), .CP(clk), .E(debug_mode_sync), .TE(scan_en));
// Write enable bus
wire we_0_0;
// start of predeclareNvregSignals
// Write Data wires for latch array
wire [63:0] Wdata_w0;
wire ctx_ctrl_we;
wire posedge_updateDR_sync = updateDR_sync & !updateDR_sync_1p;
// latch array piece specific gated write clock
wire gated_clk_latch;
CKLNQD12PO4 UJ_clk_gated_w0 (.Q(gated_clk_latch), .CP(clk), .E((we)), .TE(debug_mode_sync | scan_en));
wire shiftDR_en;
wire [1:0] D_Ra_array_reg_r0;
wire [1:0] la_muxedRa_r0;
assign D_Ra_array_reg_r0 = ra;
wire Ra_array_capture_enr0 = ( ((re))) ;
wire muxed_Ra_array_capture_enr0 = !debug_mode_sync & Ra_array_capture_enr0;
wire Ra_to_Wi_so;
wire [1:0]radr_latchq;
assign Ra_array_reg_r0 = radr_latchq ;
assign la_muxedRa_r0 = Ra_array_reg_r0;
// ------------------ START PIECE ----------------------------------
// Suffix : Piece Latch_Array (LatchArray)
// Covers Addresses from 0 to 3 Addressrange: [1:0]
// Data Bit range: [63:0] (64 bits)
// Enables: 1 Enable range:
// Write Address bus
wire [1:0] wa_0_0;
assign wa_0_0 = wa;
// Write Data in bus
wire [63:0] di_0_0;
assign di_0_0 = di[63:0];
assign we_0_0 = we;
// Read Address bus
wire [1:0] ra_0_0;
assign ra_0_0 = la_muxedRa_r0;
// Read DataOut bus
wire [63:0] dout_0_0;
reg [3:0] WA_w0_decode;
always @(wa)
begin
   WA_w0_decode = 4'd0;
   case(wa)
      2'd0 : WA_w0_decode[0] = 1;
      2'd1 : WA_w0_decode[1] = 1;
      2'd2 : WA_w0_decode[2] = 1;
      2'd3 : WA_w0_decode[3] = 1;
   endcase
end
wire [3 : 0 ] muxed_Wa_decode_w0 = WA_w0_decode[3 : 0] & {4{we}} & {4{!debug_mode}};
wire [3 : 0 ] muxed_Wa_decode_common = muxed_Wa_decode_w0 ;
wire latchInst_qg_row0_w0EN_r0;
assign latchInst_qg_row0_w0EN_r0 = muxed_Wa_decode_common[0] & !debug_mode_sync & !scan_ramcen;
wire latchNet_G_en0;
SCKLNQD2PO4 latchInst_qg_row0_w0 (.Q(latchNet_G_en0), .CP(gated_clk_latch), .E(latchInst_qg_row0_w0EN_r0), .SE(1'b0), .SI(1'b0), .SO());
wire latchInst_qg_row1_w0EN_r1;
assign latchInst_qg_row1_w0EN_r1 = muxed_Wa_decode_common[1] & !debug_mode_sync & !scan_ramcen;
wire latchNet_G_en1;
SCKLNQD2PO4 latchInst_qg_row1_w0 (.Q(latchNet_G_en1), .CP(gated_clk_latch), .E(latchInst_qg_row1_w0EN_r1), .SE(1'b0), .SI(1'b0), .SO());
wire latchInst_qg_row2_w0EN_r2;
assign latchInst_qg_row2_w0EN_r2 = muxed_Wa_decode_common[2] & !debug_mode_sync & !scan_ramcen;
wire latchNet_G_en2;
SCKLNQD2PO4 latchInst_qg_row2_w0 (.Q(latchNet_G_en2), .CP(gated_clk_latch), .E(latchInst_qg_row2_w0EN_r2), .SE(1'b0), .SI(1'b0), .SO());
wire latchInst_qg_row3_w0EN_r3;
assign latchInst_qg_row3_w0EN_r3 = muxed_Wa_decode_common[3] & !debug_mode_sync & !scan_ramcen;
wire latchNet_G_en3;
SCKLNQD2PO4 latchInst_qg_row3_w0 (.Q(latchNet_G_en3), .CP(gated_clk_latch), .E(latchInst_qg_row3_w0EN_r3), .SE(1'b0), .SI(1'b0), .SO());
// Declare the SI and SO signals for this piece
wire SO_0_0;
reg [63:0] RaDecodeDor0;
wire [63:0] LatchArray_row0;
wire [63:0] LatchArray_row1;
wire [63:0] LatchArray_row2;
wire [63:0] LatchArray_row3;
// Register to hold the input data for port w0
wire [63:0] bist_Wdata_w0_reg_d = RaDecodeDor0;
wire [63:0] Wdata_w0_reg_d;
assign Wdata_w0_reg_d = (debug_mode_sync) ? bist_Wdata_w0_reg_d : di_0_0;
wire wdata_w0_scanin = Ra_to_Wi_so;
// testInst_Wdata_reg for latch array only
wire [63:0]wd_q;
assign Wdata_w0 = wd_q ;
wire [63:0] Wdata_row0 = Wdata_w0 ;
wire [63:0] Wdata_row1 = Wdata_w0 ;
wire [63:0] Wdata_row2 = Wdata_w0 ;
wire [63:0] Wdata_row3 = Wdata_w0 ;
LHQLPD1PO4 latchInst_latch_bit0_row0 (
                   .Q(LatchArray_row0[0]),
                   .D(Wdata_row0[0]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit0_row1 (
                   .Q(LatchArray_row1[0]),
                   .D(Wdata_row1[0]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit0_row2 (
                   .Q(LatchArray_row2[0]),
                   .D(Wdata_row2[0]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit0_row3 (
                   .Q(LatchArray_row3[0]),
                   .D(Wdata_row3[0]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit1_row0 (
                   .Q(LatchArray_row0[1]),
                   .D(Wdata_row0[1]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit1_row1 (
                   .Q(LatchArray_row1[1]),
                   .D(Wdata_row1[1]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit1_row2 (
                   .Q(LatchArray_row2[1]),
                   .D(Wdata_row2[1]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit1_row3 (
                   .Q(LatchArray_row3[1]),
                   .D(Wdata_row3[1]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit2_row0 (
                   .Q(LatchArray_row0[2]),
                   .D(Wdata_row0[2]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit2_row1 (
                   .Q(LatchArray_row1[2]),
                   .D(Wdata_row1[2]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit2_row2 (
                   .Q(LatchArray_row2[2]),
                   .D(Wdata_row2[2]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit2_row3 (
                   .Q(LatchArray_row3[2]),
                   .D(Wdata_row3[2]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit3_row0 (
                   .Q(LatchArray_row0[3]),
                   .D(Wdata_row0[3]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit3_row1 (
                   .Q(LatchArray_row1[3]),
                   .D(Wdata_row1[3]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit3_row2 (
                   .Q(LatchArray_row2[3]),
                   .D(Wdata_row2[3]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit3_row3 (
                   .Q(LatchArray_row3[3]),
                   .D(Wdata_row3[3]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit4_row0 (
                   .Q(LatchArray_row0[4]),
                   .D(Wdata_row0[4]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit4_row1 (
                   .Q(LatchArray_row1[4]),
                   .D(Wdata_row1[4]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit4_row2 (
                   .Q(LatchArray_row2[4]),
                   .D(Wdata_row2[4]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit4_row3 (
                   .Q(LatchArray_row3[4]),
                   .D(Wdata_row3[4]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit5_row0 (
                   .Q(LatchArray_row0[5]),
                   .D(Wdata_row0[5]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit5_row1 (
                   .Q(LatchArray_row1[5]),
                   .D(Wdata_row1[5]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit5_row2 (
                   .Q(LatchArray_row2[5]),
                   .D(Wdata_row2[5]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit5_row3 (
                   .Q(LatchArray_row3[5]),
                   .D(Wdata_row3[5]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit6_row0 (
                   .Q(LatchArray_row0[6]),
                   .D(Wdata_row0[6]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit6_row1 (
                   .Q(LatchArray_row1[6]),
                   .D(Wdata_row1[6]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit6_row2 (
                   .Q(LatchArray_row2[6]),
                   .D(Wdata_row2[6]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit6_row3 (
                   .Q(LatchArray_row3[6]),
                   .D(Wdata_row3[6]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit7_row0 (
                   .Q(LatchArray_row0[7]),
                   .D(Wdata_row0[7]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit7_row1 (
                   .Q(LatchArray_row1[7]),
                   .D(Wdata_row1[7]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit7_row2 (
                   .Q(LatchArray_row2[7]),
                   .D(Wdata_row2[7]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit7_row3 (
                   .Q(LatchArray_row3[7]),
                   .D(Wdata_row3[7]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit8_row0 (
                   .Q(LatchArray_row0[8]),
                   .D(Wdata_row0[8]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit8_row1 (
                   .Q(LatchArray_row1[8]),
                   .D(Wdata_row1[8]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit8_row2 (
                   .Q(LatchArray_row2[8]),
                   .D(Wdata_row2[8]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit8_row3 (
                   .Q(LatchArray_row3[8]),
                   .D(Wdata_row3[8]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit9_row0 (
                   .Q(LatchArray_row0[9]),
                   .D(Wdata_row0[9]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit9_row1 (
                   .Q(LatchArray_row1[9]),
                   .D(Wdata_row1[9]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit9_row2 (
                   .Q(LatchArray_row2[9]),
                   .D(Wdata_row2[9]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit9_row3 (
                   .Q(LatchArray_row3[9]),
                   .D(Wdata_row3[9]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit10_row0 (
                   .Q(LatchArray_row0[10]),
                   .D(Wdata_row0[10]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit10_row1 (
                   .Q(LatchArray_row1[10]),
                   .D(Wdata_row1[10]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit10_row2 (
                   .Q(LatchArray_row2[10]),
                   .D(Wdata_row2[10]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit10_row3 (
                   .Q(LatchArray_row3[10]),
                   .D(Wdata_row3[10]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit11_row0 (
                   .Q(LatchArray_row0[11]),
                   .D(Wdata_row0[11]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit11_row1 (
                   .Q(LatchArray_row1[11]),
                   .D(Wdata_row1[11]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit11_row2 (
                   .Q(LatchArray_row2[11]),
                   .D(Wdata_row2[11]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit11_row3 (
                   .Q(LatchArray_row3[11]),
                   .D(Wdata_row3[11]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit12_row0 (
                   .Q(LatchArray_row0[12]),
                   .D(Wdata_row0[12]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit12_row1 (
                   .Q(LatchArray_row1[12]),
                   .D(Wdata_row1[12]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit12_row2 (
                   .Q(LatchArray_row2[12]),
                   .D(Wdata_row2[12]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit12_row3 (
                   .Q(LatchArray_row3[12]),
                   .D(Wdata_row3[12]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit13_row0 (
                   .Q(LatchArray_row0[13]),
                   .D(Wdata_row0[13]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit13_row1 (
                   .Q(LatchArray_row1[13]),
                   .D(Wdata_row1[13]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit13_row2 (
                   .Q(LatchArray_row2[13]),
                   .D(Wdata_row2[13]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit13_row3 (
                   .Q(LatchArray_row3[13]),
                   .D(Wdata_row3[13]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit14_row0 (
                   .Q(LatchArray_row0[14]),
                   .D(Wdata_row0[14]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit14_row1 (
                   .Q(LatchArray_row1[14]),
                   .D(Wdata_row1[14]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit14_row2 (
                   .Q(LatchArray_row2[14]),
                   .D(Wdata_row2[14]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit14_row3 (
                   .Q(LatchArray_row3[14]),
                   .D(Wdata_row3[14]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit15_row0 (
                   .Q(LatchArray_row0[15]),
                   .D(Wdata_row0[15]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit15_row1 (
                   .Q(LatchArray_row1[15]),
                   .D(Wdata_row1[15]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit15_row2 (
                   .Q(LatchArray_row2[15]),
                   .D(Wdata_row2[15]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit15_row3 (
                   .Q(LatchArray_row3[15]),
                   .D(Wdata_row3[15]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit16_row0 (
                   .Q(LatchArray_row0[16]),
                   .D(Wdata_row0[16]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit16_row1 (
                   .Q(LatchArray_row1[16]),
                   .D(Wdata_row1[16]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit16_row2 (
                   .Q(LatchArray_row2[16]),
                   .D(Wdata_row2[16]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit16_row3 (
                   .Q(LatchArray_row3[16]),
                   .D(Wdata_row3[16]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit17_row0 (
                   .Q(LatchArray_row0[17]),
                   .D(Wdata_row0[17]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit17_row1 (
                   .Q(LatchArray_row1[17]),
                   .D(Wdata_row1[17]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit17_row2 (
                   .Q(LatchArray_row2[17]),
                   .D(Wdata_row2[17]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit17_row3 (
                   .Q(LatchArray_row3[17]),
                   .D(Wdata_row3[17]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit18_row0 (
                   .Q(LatchArray_row0[18]),
                   .D(Wdata_row0[18]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit18_row1 (
                   .Q(LatchArray_row1[18]),
                   .D(Wdata_row1[18]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit18_row2 (
                   .Q(LatchArray_row2[18]),
                   .D(Wdata_row2[18]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit18_row3 (
                   .Q(LatchArray_row3[18]),
                   .D(Wdata_row3[18]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit19_row0 (
                   .Q(LatchArray_row0[19]),
                   .D(Wdata_row0[19]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit19_row1 (
                   .Q(LatchArray_row1[19]),
                   .D(Wdata_row1[19]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit19_row2 (
                   .Q(LatchArray_row2[19]),
                   .D(Wdata_row2[19]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit19_row3 (
                   .Q(LatchArray_row3[19]),
                   .D(Wdata_row3[19]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit20_row0 (
                   .Q(LatchArray_row0[20]),
                   .D(Wdata_row0[20]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit20_row1 (
                   .Q(LatchArray_row1[20]),
                   .D(Wdata_row1[20]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit20_row2 (
                   .Q(LatchArray_row2[20]),
                   .D(Wdata_row2[20]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit20_row3 (
                   .Q(LatchArray_row3[20]),
                   .D(Wdata_row3[20]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit21_row0 (
                   .Q(LatchArray_row0[21]),
                   .D(Wdata_row0[21]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit21_row1 (
                   .Q(LatchArray_row1[21]),
                   .D(Wdata_row1[21]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit21_row2 (
                   .Q(LatchArray_row2[21]),
                   .D(Wdata_row2[21]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit21_row3 (
                   .Q(LatchArray_row3[21]),
                   .D(Wdata_row3[21]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit22_row0 (
                   .Q(LatchArray_row0[22]),
                   .D(Wdata_row0[22]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit22_row1 (
                   .Q(LatchArray_row1[22]),
                   .D(Wdata_row1[22]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit22_row2 (
                   .Q(LatchArray_row2[22]),
                   .D(Wdata_row2[22]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit22_row3 (
                   .Q(LatchArray_row3[22]),
                   .D(Wdata_row3[22]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit23_row0 (
                   .Q(LatchArray_row0[23]),
                   .D(Wdata_row0[23]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit23_row1 (
                   .Q(LatchArray_row1[23]),
                   .D(Wdata_row1[23]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit23_row2 (
                   .Q(LatchArray_row2[23]),
                   .D(Wdata_row2[23]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit23_row3 (
                   .Q(LatchArray_row3[23]),
                   .D(Wdata_row3[23]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit24_row0 (
                   .Q(LatchArray_row0[24]),
                   .D(Wdata_row0[24]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit24_row1 (
                   .Q(LatchArray_row1[24]),
                   .D(Wdata_row1[24]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit24_row2 (
                   .Q(LatchArray_row2[24]),
                   .D(Wdata_row2[24]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit24_row3 (
                   .Q(LatchArray_row3[24]),
                   .D(Wdata_row3[24]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit25_row0 (
                   .Q(LatchArray_row0[25]),
                   .D(Wdata_row0[25]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit25_row1 (
                   .Q(LatchArray_row1[25]),
                   .D(Wdata_row1[25]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit25_row2 (
                   .Q(LatchArray_row2[25]),
                   .D(Wdata_row2[25]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit25_row3 (
                   .Q(LatchArray_row3[25]),
                   .D(Wdata_row3[25]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit26_row0 (
                   .Q(LatchArray_row0[26]),
                   .D(Wdata_row0[26]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit26_row1 (
                   .Q(LatchArray_row1[26]),
                   .D(Wdata_row1[26]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit26_row2 (
                   .Q(LatchArray_row2[26]),
                   .D(Wdata_row2[26]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit26_row3 (
                   .Q(LatchArray_row3[26]),
                   .D(Wdata_row3[26]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit27_row0 (
                   .Q(LatchArray_row0[27]),
                   .D(Wdata_row0[27]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit27_row1 (
                   .Q(LatchArray_row1[27]),
                   .D(Wdata_row1[27]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit27_row2 (
                   .Q(LatchArray_row2[27]),
                   .D(Wdata_row2[27]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit27_row3 (
                   .Q(LatchArray_row3[27]),
                   .D(Wdata_row3[27]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit28_row0 (
                   .Q(LatchArray_row0[28]),
                   .D(Wdata_row0[28]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit28_row1 (
                   .Q(LatchArray_row1[28]),
                   .D(Wdata_row1[28]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit28_row2 (
                   .Q(LatchArray_row2[28]),
                   .D(Wdata_row2[28]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit28_row3 (
                   .Q(LatchArray_row3[28]),
                   .D(Wdata_row3[28]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit29_row0 (
                   .Q(LatchArray_row0[29]),
                   .D(Wdata_row0[29]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit29_row1 (
                   .Q(LatchArray_row1[29]),
                   .D(Wdata_row1[29]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit29_row2 (
                   .Q(LatchArray_row2[29]),
                   .D(Wdata_row2[29]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit29_row3 (
                   .Q(LatchArray_row3[29]),
                   .D(Wdata_row3[29]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit30_row0 (
                   .Q(LatchArray_row0[30]),
                   .D(Wdata_row0[30]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit30_row1 (
                   .Q(LatchArray_row1[30]),
                   .D(Wdata_row1[30]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit30_row2 (
                   .Q(LatchArray_row2[30]),
                   .D(Wdata_row2[30]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit30_row3 (
                   .Q(LatchArray_row3[30]),
                   .D(Wdata_row3[30]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit31_row0 (
                   .Q(LatchArray_row0[31]),
                   .D(Wdata_row0[31]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit31_row1 (
                   .Q(LatchArray_row1[31]),
                   .D(Wdata_row1[31]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit31_row2 (
                   .Q(LatchArray_row2[31]),
                   .D(Wdata_row2[31]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit31_row3 (
                   .Q(LatchArray_row3[31]),
                   .D(Wdata_row3[31]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit32_row0 (
                   .Q(LatchArray_row0[32]),
                   .D(Wdata_row0[32]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit32_row1 (
                   .Q(LatchArray_row1[32]),
                   .D(Wdata_row1[32]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit32_row2 (
                   .Q(LatchArray_row2[32]),
                   .D(Wdata_row2[32]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit32_row3 (
                   .Q(LatchArray_row3[32]),
                   .D(Wdata_row3[32]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit33_row0 (
                   .Q(LatchArray_row0[33]),
                   .D(Wdata_row0[33]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit33_row1 (
                   .Q(LatchArray_row1[33]),
                   .D(Wdata_row1[33]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit33_row2 (
                   .Q(LatchArray_row2[33]),
                   .D(Wdata_row2[33]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit33_row3 (
                   .Q(LatchArray_row3[33]),
                   .D(Wdata_row3[33]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit34_row0 (
                   .Q(LatchArray_row0[34]),
                   .D(Wdata_row0[34]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit34_row1 (
                   .Q(LatchArray_row1[34]),
                   .D(Wdata_row1[34]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit34_row2 (
                   .Q(LatchArray_row2[34]),
                   .D(Wdata_row2[34]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit34_row3 (
                   .Q(LatchArray_row3[34]),
                   .D(Wdata_row3[34]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit35_row0 (
                   .Q(LatchArray_row0[35]),
                   .D(Wdata_row0[35]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit35_row1 (
                   .Q(LatchArray_row1[35]),
                   .D(Wdata_row1[35]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit35_row2 (
                   .Q(LatchArray_row2[35]),
                   .D(Wdata_row2[35]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit35_row3 (
                   .Q(LatchArray_row3[35]),
                   .D(Wdata_row3[35]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit36_row0 (
                   .Q(LatchArray_row0[36]),
                   .D(Wdata_row0[36]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit36_row1 (
                   .Q(LatchArray_row1[36]),
                   .D(Wdata_row1[36]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit36_row2 (
                   .Q(LatchArray_row2[36]),
                   .D(Wdata_row2[36]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit36_row3 (
                   .Q(LatchArray_row3[36]),
                   .D(Wdata_row3[36]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit37_row0 (
                   .Q(LatchArray_row0[37]),
                   .D(Wdata_row0[37]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit37_row1 (
                   .Q(LatchArray_row1[37]),
                   .D(Wdata_row1[37]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit37_row2 (
                   .Q(LatchArray_row2[37]),
                   .D(Wdata_row2[37]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit37_row3 (
                   .Q(LatchArray_row3[37]),
                   .D(Wdata_row3[37]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit38_row0 (
                   .Q(LatchArray_row0[38]),
                   .D(Wdata_row0[38]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit38_row1 (
                   .Q(LatchArray_row1[38]),
                   .D(Wdata_row1[38]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit38_row2 (
                   .Q(LatchArray_row2[38]),
                   .D(Wdata_row2[38]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit38_row3 (
                   .Q(LatchArray_row3[38]),
                   .D(Wdata_row3[38]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit39_row0 (
                   .Q(LatchArray_row0[39]),
                   .D(Wdata_row0[39]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit39_row1 (
                   .Q(LatchArray_row1[39]),
                   .D(Wdata_row1[39]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit39_row2 (
                   .Q(LatchArray_row2[39]),
                   .D(Wdata_row2[39]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit39_row3 (
                   .Q(LatchArray_row3[39]),
                   .D(Wdata_row3[39]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit40_row0 (
                   .Q(LatchArray_row0[40]),
                   .D(Wdata_row0[40]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit40_row1 (
                   .Q(LatchArray_row1[40]),
                   .D(Wdata_row1[40]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit40_row2 (
                   .Q(LatchArray_row2[40]),
                   .D(Wdata_row2[40]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit40_row3 (
                   .Q(LatchArray_row3[40]),
                   .D(Wdata_row3[40]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit41_row0 (
                   .Q(LatchArray_row0[41]),
                   .D(Wdata_row0[41]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit41_row1 (
                   .Q(LatchArray_row1[41]),
                   .D(Wdata_row1[41]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit41_row2 (
                   .Q(LatchArray_row2[41]),
                   .D(Wdata_row2[41]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit41_row3 (
                   .Q(LatchArray_row3[41]),
                   .D(Wdata_row3[41]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit42_row0 (
                   .Q(LatchArray_row0[42]),
                   .D(Wdata_row0[42]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit42_row1 (
                   .Q(LatchArray_row1[42]),
                   .D(Wdata_row1[42]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit42_row2 (
                   .Q(LatchArray_row2[42]),
                   .D(Wdata_row2[42]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit42_row3 (
                   .Q(LatchArray_row3[42]),
                   .D(Wdata_row3[42]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit43_row0 (
                   .Q(LatchArray_row0[43]),
                   .D(Wdata_row0[43]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit43_row1 (
                   .Q(LatchArray_row1[43]),
                   .D(Wdata_row1[43]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit43_row2 (
                   .Q(LatchArray_row2[43]),
                   .D(Wdata_row2[43]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit43_row3 (
                   .Q(LatchArray_row3[43]),
                   .D(Wdata_row3[43]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit44_row0 (
                   .Q(LatchArray_row0[44]),
                   .D(Wdata_row0[44]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit44_row1 (
                   .Q(LatchArray_row1[44]),
                   .D(Wdata_row1[44]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit44_row2 (
                   .Q(LatchArray_row2[44]),
                   .D(Wdata_row2[44]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit44_row3 (
                   .Q(LatchArray_row3[44]),
                   .D(Wdata_row3[44]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit45_row0 (
                   .Q(LatchArray_row0[45]),
                   .D(Wdata_row0[45]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit45_row1 (
                   .Q(LatchArray_row1[45]),
                   .D(Wdata_row1[45]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit45_row2 (
                   .Q(LatchArray_row2[45]),
                   .D(Wdata_row2[45]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit45_row3 (
                   .Q(LatchArray_row3[45]),
                   .D(Wdata_row3[45]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit46_row0 (
                   .Q(LatchArray_row0[46]),
                   .D(Wdata_row0[46]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit46_row1 (
                   .Q(LatchArray_row1[46]),
                   .D(Wdata_row1[46]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit46_row2 (
                   .Q(LatchArray_row2[46]),
                   .D(Wdata_row2[46]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit46_row3 (
                   .Q(LatchArray_row3[46]),
                   .D(Wdata_row3[46]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit47_row0 (
                   .Q(LatchArray_row0[47]),
                   .D(Wdata_row0[47]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit47_row1 (
                   .Q(LatchArray_row1[47]),
                   .D(Wdata_row1[47]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit47_row2 (
                   .Q(LatchArray_row2[47]),
                   .D(Wdata_row2[47]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit47_row3 (
                   .Q(LatchArray_row3[47]),
                   .D(Wdata_row3[47]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit48_row0 (
                   .Q(LatchArray_row0[48]),
                   .D(Wdata_row0[48]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit48_row1 (
                   .Q(LatchArray_row1[48]),
                   .D(Wdata_row1[48]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit48_row2 (
                   .Q(LatchArray_row2[48]),
                   .D(Wdata_row2[48]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit48_row3 (
                   .Q(LatchArray_row3[48]),
                   .D(Wdata_row3[48]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit49_row0 (
                   .Q(LatchArray_row0[49]),
                   .D(Wdata_row0[49]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit49_row1 (
                   .Q(LatchArray_row1[49]),
                   .D(Wdata_row1[49]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit49_row2 (
                   .Q(LatchArray_row2[49]),
                   .D(Wdata_row2[49]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit49_row3 (
                   .Q(LatchArray_row3[49]),
                   .D(Wdata_row3[49]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit50_row0 (
                   .Q(LatchArray_row0[50]),
                   .D(Wdata_row0[50]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit50_row1 (
                   .Q(LatchArray_row1[50]),
                   .D(Wdata_row1[50]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit50_row2 (
                   .Q(LatchArray_row2[50]),
                   .D(Wdata_row2[50]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit50_row3 (
                   .Q(LatchArray_row3[50]),
                   .D(Wdata_row3[50]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit51_row0 (
                   .Q(LatchArray_row0[51]),
                   .D(Wdata_row0[51]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit51_row1 (
                   .Q(LatchArray_row1[51]),
                   .D(Wdata_row1[51]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit51_row2 (
                   .Q(LatchArray_row2[51]),
                   .D(Wdata_row2[51]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit51_row3 (
                   .Q(LatchArray_row3[51]),
                   .D(Wdata_row3[51]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit52_row0 (
                   .Q(LatchArray_row0[52]),
                   .D(Wdata_row0[52]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit52_row1 (
                   .Q(LatchArray_row1[52]),
                   .D(Wdata_row1[52]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit52_row2 (
                   .Q(LatchArray_row2[52]),
                   .D(Wdata_row2[52]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit52_row3 (
                   .Q(LatchArray_row3[52]),
                   .D(Wdata_row3[52]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit53_row0 (
                   .Q(LatchArray_row0[53]),
                   .D(Wdata_row0[53]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit53_row1 (
                   .Q(LatchArray_row1[53]),
                   .D(Wdata_row1[53]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit53_row2 (
                   .Q(LatchArray_row2[53]),
                   .D(Wdata_row2[53]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit53_row3 (
                   .Q(LatchArray_row3[53]),
                   .D(Wdata_row3[53]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit54_row0 (
                   .Q(LatchArray_row0[54]),
                   .D(Wdata_row0[54]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit54_row1 (
                   .Q(LatchArray_row1[54]),
                   .D(Wdata_row1[54]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit54_row2 (
                   .Q(LatchArray_row2[54]),
                   .D(Wdata_row2[54]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit54_row3 (
                   .Q(LatchArray_row3[54]),
                   .D(Wdata_row3[54]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit55_row0 (
                   .Q(LatchArray_row0[55]),
                   .D(Wdata_row0[55]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit55_row1 (
                   .Q(LatchArray_row1[55]),
                   .D(Wdata_row1[55]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit55_row2 (
                   .Q(LatchArray_row2[55]),
                   .D(Wdata_row2[55]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit55_row3 (
                   .Q(LatchArray_row3[55]),
                   .D(Wdata_row3[55]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit56_row0 (
                   .Q(LatchArray_row0[56]),
                   .D(Wdata_row0[56]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit56_row1 (
                   .Q(LatchArray_row1[56]),
                   .D(Wdata_row1[56]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit56_row2 (
                   .Q(LatchArray_row2[56]),
                   .D(Wdata_row2[56]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit56_row3 (
                   .Q(LatchArray_row3[56]),
                   .D(Wdata_row3[56]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit57_row0 (
                   .Q(LatchArray_row0[57]),
                   .D(Wdata_row0[57]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit57_row1 (
                   .Q(LatchArray_row1[57]),
                   .D(Wdata_row1[57]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit57_row2 (
                   .Q(LatchArray_row2[57]),
                   .D(Wdata_row2[57]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit57_row3 (
                   .Q(LatchArray_row3[57]),
                   .D(Wdata_row3[57]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit58_row0 (
                   .Q(LatchArray_row0[58]),
                   .D(Wdata_row0[58]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit58_row1 (
                   .Q(LatchArray_row1[58]),
                   .D(Wdata_row1[58]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit58_row2 (
                   .Q(LatchArray_row2[58]),
                   .D(Wdata_row2[58]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit58_row3 (
                   .Q(LatchArray_row3[58]),
                   .D(Wdata_row3[58]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit59_row0 (
                   .Q(LatchArray_row0[59]),
                   .D(Wdata_row0[59]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit59_row1 (
                   .Q(LatchArray_row1[59]),
                   .D(Wdata_row1[59]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit59_row2 (
                   .Q(LatchArray_row2[59]),
                   .D(Wdata_row2[59]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit59_row3 (
                   .Q(LatchArray_row3[59]),
                   .D(Wdata_row3[59]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit60_row0 (
                   .Q(LatchArray_row0[60]),
                   .D(Wdata_row0[60]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit60_row1 (
                   .Q(LatchArray_row1[60]),
                   .D(Wdata_row1[60]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit60_row2 (
                   .Q(LatchArray_row2[60]),
                   .D(Wdata_row2[60]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit60_row3 (
                   .Q(LatchArray_row3[60]),
                   .D(Wdata_row3[60]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit61_row0 (
                   .Q(LatchArray_row0[61]),
                   .D(Wdata_row0[61]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit61_row1 (
                   .Q(LatchArray_row1[61]),
                   .D(Wdata_row1[61]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit61_row2 (
                   .Q(LatchArray_row2[61]),
                   .D(Wdata_row2[61]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit61_row3 (
                   .Q(LatchArray_row3[61]),
                   .D(Wdata_row3[61]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit62_row0 (
                   .Q(LatchArray_row0[62]),
                   .D(Wdata_row0[62]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit62_row1 (
                   .Q(LatchArray_row1[62]),
                   .D(Wdata_row1[62]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit62_row2 (
                   .Q(LatchArray_row2[62]),
                   .D(Wdata_row2[62]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit62_row3 (
                   .Q(LatchArray_row3[62]),
                   .D(Wdata_row3[62]),
                   .E(latchNet_G_en3));
LHQLPD1PO4 latchInst_latch_bit63_row0 (
                   .Q(LatchArray_row0[63]),
                   .D(Wdata_row0[63]),
                   .E(latchNet_G_en0));
LHQLPD1PO4 latchInst_latch_bit63_row1 (
                   .Q(LatchArray_row1[63]),
                   .D(Wdata_row1[63]),
                   .E(latchNet_G_en1));
LHQLPD1PO4 latchInst_latch_bit63_row2 (
                   .Q(LatchArray_row2[63]),
                   .D(Wdata_row2[63]),
                   .E(latchNet_G_en2));
LHQLPD1PO4 latchInst_latch_bit63_row3 (
                   .Q(LatchArray_row3[63]),
                   .D(Wdata_row3[63]),
                   .E(latchNet_G_en3));
// Declare the Do buses for data out.
// Do Ra decode
always @(ra_0_0 or LatchArray_row0 or LatchArray_row1 or LatchArray_row2 or
         LatchArray_row3)
// verilint 332 off - not all cases covered, default exists
   case(ra_0_0)
       2'd0 : RaDecodeDor0 = LatchArray_row0;
       2'd1 : RaDecodeDor0 = LatchArray_row1;
       2'd2 : RaDecodeDor0 = LatchArray_row2;
       2'd3 : RaDecodeDor0 = LatchArray_row3;
       default :RaDecodeDor0 = {64{`tick_x_or_0}};
    endcase
// verilint 332 on
assign dout_0_0 = RaDecodeDor0;
//------------ Done generating latch array Latch_Array -------------
// ---------------------------------------------
// Declare the interface wires for Output Mux logic
// verilint 552 off - Different bits of a net are driven in different blocks (harmless,
// but some synthesis tools generate a warning for this)
reg [63:0] ram_r0_OutputMuxDataOut;
//For bitEnd 63, only one piece Latch_Array in the column.
// verilint 17 off - Range (rather than full vector) in the sensitivity list
always @(dout_0_0)
begin
    ram_r0_OutputMuxDataOut[63:0] = dout_0_0;
end
assign r0_OutputMuxDataOut[63:0] = ram_r0_OutputMuxDataOut[63:0];
// verilint 17 on - Range (rather than full vector) in the sensitivity list
// --------------------- Output Mbist Interface logic -------------
wire captureDR_r0 = ((((ore)) & !debug_mode_sync) || ( debug_mode_sync ? (1'b1) : 1'b0 ));
////MSB 63 LSB 0  and total rambit is 64 and  dsize is 64
always @(posedge clk) begin
    if (captureDR_r0)
       Data_reg_r0[63:0] <= r0_OutputMuxDataOut[63:0];
end
assign dout = Data_reg_r0;
// Declare the SO which goes out finally
`ifndef EMU
`ifndef FPGA
`define NO_EMU_NO_FPGA
// lock-up latch for ram_access SO
LNQD1PO4 testInst_ram_access_lockup (
                   .Q(SO_int_net),
                   .D(SO_0_0),
                   .EN(la_bist_clkw0));
`endif
`endif
`ifndef NO_EMU_NO_FPGA
// no latch allow during emulation synthesis
assign SO_int_net = SO_0_0;
`endif
// Ram access scan chain
wire gated_clk_jtag_Ra_array_reg_r0_reg;
CKLNQD12PO4 UJ_clk_jtag_Ra_array_reg_r0_reg (.Q(gated_clk_jtag_Ra_array_reg_r0_reg), .CP(clk), .E(debug_mode_sync ? (( 1'b0 | shiftDR ) ) : (muxed_Ra_array_capture_enr0 | 1'b0 | ( 1'b0 ) ) ), .TE(scan_en));
ScanShareSel_JTAG_reg_ext_cg #(2, 0, 0) testInst_Ra_array_reg_r0_reg (
     .clk(gated_clk_jtag_Ra_array_reg_r0_reg), .sel(debug_mode),
            .shiftDR(shiftDR),
            .reset_(1'b1), .D(D_Ra_array_reg_r0), .Q(radr_latchq),
            .scanin(SI), .scanout(Ra_to_Wi_so) );
wire gated_clk_jtag_Wdata_w0_reg;
CKLNQD12PO4 UJ_clk_jtag_Wdata_w0_reg (.Q(gated_clk_jtag_Wdata_w0_reg), .CP(clk), .E(debug_mode_sync ? (posedge_updateDR_sync| ( 1'b0 | shiftDR ) ) : ((|we_0_0) | 1'b0 | 1'b0 | ( 1'b0 ) ) ), .TE(scan_en));
ScanShareSel_JTAG_reg_ext_cg #(64, 0, 0) testInst_Wdata_w0_reg (
     .clk(gated_clk_jtag_Wdata_w0_reg), .sel(debug_mode),
            .shiftDR(shiftDR),
            .reset_(1'b1), .D(Wdata_w0_reg_d), .Q(wd_q),
            .scanin(wdata_w0_scanin), .scanout(SO_0_0) );
`ifdef ASSERT_ON
`ifndef SYNTHESIS
reg sim_reset_;
initial sim_reset_ = 0;
always @(posedge clk) sim_reset_ <= 1'b1;
wire start_of_sim = sim_reset_;
wire disable_clk_x_test = $test$plusargs ("disable_clk_x_test") ? 1'b1 : 1'b0;
nv_assert_no_x #(1,1,0," Try Reading Ram when clock is x for read port r0") _clk_x_test_read (clk, sim_reset_, ((disable_clk_x_test===1'b0) && (|re===1'b1 )), clk);
nv_assert_no_x #(1,1,0," Try Writing Ram when clock is x for write port w0") _clk_x_test_write (clk, sim_reset_, ((disable_clk_x_test===1'b0) && (|we===1'b1)), clk);
reg [4-1:0] written;
always@(posedge clk or negedge sim_reset_) begin
   if(!sim_reset_) begin
      written <= {4{1'b0}};
   end else if( |we)begin
      written[wa] <= 1'b1;
   end
end
`endif // SYNTHESIS 
`endif // ASSERT_ON
`ifdef ASSERT_ON
`ifndef SYNTHESIS
`endif
`endif
`ifdef ASSERT_ON
`ifndef SYNTHESIS
wire pwrbus_assertion_not_x_while_active = $test$plusargs ("pwrbus_assertion_not_x_while_active");
nv_assert_never #(0, 0, "Power bus cannot be X when read/write enable is set") _pwrbus_assertion_not_x_while_active_we ( we, sim_reset_ && !pwrbus_assertion_not_x_while_active, ^pwrbus_ram_pd === 1'bx);
nv_assert_never #(0, 0, "Power bus cannot be X when read/write enable is set") _pwrbus_assertion_not_x_while_active_re ( re, sim_reset_ && !pwrbus_assertion_not_x_while_active, ^pwrbus_ram_pd === 1'bx);
`endif
`endif
// submodule done
endmodule