simplify bram_porta_we in axis_bram_writer
@@ -24,7 +24,7 @@ module axis_bram_writer #
output wire bram_porta_rst,
output wire [BRAM_ADDR_WIDTH-1:0] bram_porta_addr,
output wire [BRAM_DATA_WIDTH-1:0] bram_porta_wrdata,
- output wire [BRAM_DATA_WIDTH/8-1:0] bram_porta_we
+ output wire bram_porta_we
);
reg [BRAM_ADDR_WIDTH-1:0] int_addr_reg, int_addr_next;
@@ -68,6 +68,6 @@ module axis_bram_writer #
assign bram_porta_rst = ~aresetn;
assign bram_porta_addr = int_addr_reg;
assign bram_porta_wrdata = s_axis_tdata;
- assign bram_porta_we = {(BRAM_DATA_WIDTH/8){s_axis_tvalid & int_enbl_reg}};
+ assign bram_porta_we = s_axis_tvalid & int_enbl_reg;
endmodule
