up_dac_common: fix address decoding

Patch the typo introduced in a previous commit while attempting the
address space reduction.
main
Laszlo Nagy 2019-02-19 13:18:41 +00:00 committed by Laszlo Nagy
parent 1c8172de7f
commit c10c4d4f5e
1 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ module up_dac_common #(
// decode block select // decode block select
assign up_wreq_s = ({up_waddr[13:7],1'b0} == COMMON_ID) ? up_wreq : 1'b0; assign up_wreq_s = (up_waddr[13:7] == {COMMON_ID,1'b0}) ? up_wreq : 1'b0;
assign up_rreq_s = ({up_raddr[13:7],1'b0} == COMMON_ID) ? up_rreq : 1'b0; assign up_rreq_s = (up_raddr[13:7] == {COMMON_ID,1'b0}) ? up_rreq : 1'b0;
assign up_dac_ce = up_dac_clk_enb_int; assign up_dac_ce = up_dac_clk_enb_int;