Skip to content

Commit

Permalink
fix rtl for spyglass issue and add waive file for cdma
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyz authored and Nvidia-DorisLei committed Jun 19, 2018
1 parent 46a2eee commit 2becf69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vmod/nvdla/cdma/NV_NVDLA_CDMA_dc.v
Original file line number Diff line number Diff line change
Expand Up @@ -799,10 +799,18 @@ assign slcg_dc_gate_img = slcg_dc_gate_d3[1];
////////////////////////////////////////////////////////////////////////
//: my $atmm = NVDLA_MEMORY_ATOMIC_SIZE;
//: my $atmbw = int(log(${atmm})/log(2));
//: if($atmbw > 3){
//: print qq(
//: assign data_width_sub_one_w = (is_packed_1x1) ? {{(2+${atmbw}){1'b0}}, reg2dp_datain_channel[12:${atmbw}]} : {2'b0, reg2dp_datain_width};
//: assign data_surface_inc = {{(${atmbw}-3){1'b0}}, reg2dp_datain_channel[12:${atmbw}]} + 1'b1;
//: );
//:}
//: else {
//: print qq(
//: assign data_width_sub_one_w = (is_packed_1x1) ? {{(2+${atmbw}){1'b0}}, reg2dp_datain_channel[12:${atmbw}]} : {2'b0, reg2dp_datain_width};
//: assign data_surface_inc = {reg2dp_datain_channel[12:${atmbw}]} + 1'b1;
//: );
//:}

// assign is_data_expand = 1'b0;
//assign is_data_shrink = 1'b0;
Expand Down
2 changes: 2 additions & 0 deletions vmod/nvdla/cdma/NV_NVDLA_cdma.swl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
waive -regexp -file NV_NVDLA_CDMA_wt.v -msg ".*width 17 should match right expression.*" -rule W362
waive -regexp -file NV_NVDLA_CDMA_wt.v -msg ".*should be greater than rhs width 17.*" -rule W484

0 comments on commit 2becf69

Please sign in to comment.