1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00

GPIO: Fix hardcoded address width

Use parameter value (which can be smaller).

Signed-off-by: Ola Jeppsson <ola@adapteva.com>
This commit is contained in:
Ola Jeppsson 2016-04-28 00:35:38 +02:00
parent 22f36ce93d
commit de8d7b7132

View File

@ -223,7 +223,7 @@ module gpio #(
.clk (clk), .clk (clk),
.access_in (access_in), .access_in (access_in),
.packet_in (packet_in[PW-1:0]), .packet_in (packet_in[PW-1:0]),
.read_data (read_data[63:0]), .read_data (read_data[AW-1:0]),
.wait_in (wait_in)); .wait_in (wait_in));
endmodule // gpio endmodule // gpio