up_drp: Fix up_drp_wr

main
Istvan Csomortani 2016-09-21 17:55:58 +03:00
parent 64cd7dc002
commit a21b9fe8ff
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ module up_adc_common (
end
if ((up_wreq_s == 1'b1) && (up_waddr[7:0] == 8'h1c)) begin
up_drp_sel <= 1'b1;
up_drp_wr <= ~up_wdata[28];
up_drp_wr <= ~up_wdata[12];
end else begin
up_drp_sel <= 1'b0;
up_drp_wr <= 1'b0;

View File

@ -269,7 +269,7 @@ module up_dac_common (
end
if ((up_wreq_s == 1'b1) && (up_waddr[7:0] == 8'h1c)) begin
up_drp_sel <= 1'b1;
up_drp_wr <= ~up_wdata[28];
up_drp_wr <= ~up_wdata[12];
end else begin
up_drp_sel <= 1'b0;
up_drp_wr <= 1'b0;