fix: port names in axi4l reg_map
This commit is contained in:
@ -35,7 +35,7 @@ module axi4l_reg_map_controller #(
|
|||||||
input logic [7:0] busy_i,
|
input logic [7:0] busy_i,
|
||||||
input logic [7:0] error_code_i
|
input logic [7:0] error_code_i
|
||||||
);
|
);
|
||||||
import axi4l_reg_map_example_pkg::*;
|
import axi4l_reg_map_controller_pkg::*;
|
||||||
localparam int unsigned N_REGS = AXI4L_REG_MAP_EXAMPLE_N_REGS;
|
localparam int unsigned N_REGS = AXI4L_REG_MAP_EXAMPLE_N_REGS;
|
||||||
|
|
||||||
logic [N_REGS-1:0][31:0] reg_i;
|
logic [N_REGS-1:0][31:0] reg_i;
|
||||||
|
|||||||
@ -42,17 +42,17 @@ AXI write descriptor input and AXI write descriptor status output configuration
|
|||||||
localparam logic [AXI4L_REG_MAP_EXAMPLE_N_REGS-1:0][31:0][2:0] AXI4L_REG_MAP_EXAMPLE_REG_MODE = '{
|
localparam logic [AXI4L_REG_MAP_EXAMPLE_N_REGS-1:0][31:0][2:0] AXI4L_REG_MAP_EXAMPLE_REG_MODE = '{
|
||||||
// REG_CONTROL
|
// REG_CONTROL
|
||||||
'{
|
'{
|
||||||
REG_BIT_W1S,
|
0 : REG_BIT_W1S,
|
||||||
REG_BIT_W1S,
|
1 : REG_BIT_W1S,
|
||||||
REG_BIT_W1S,
|
2 : REG_BIT_W1S,
|
||||||
REG_BIT_W1S,
|
3 : REG_BIT_W1S,
|
||||||
default: REG_BIT_RSVD
|
default: REG_BIT_RSVD
|
||||||
},
|
},
|
||||||
|
|
||||||
// REG_STATUS
|
// REG_STATUS
|
||||||
'{
|
'{
|
||||||
REG_BIT_RO, REG_BIT_RO, REG_BIT_RO, REG_BIT_RO,
|
0 : REG_BIT_RO, 1 : REG_BIT_RO, 2 : REG_BIT_RO, 3 : REG_BIT_RO,
|
||||||
REG_BIT_RO, REG_BIT_RO, REG_BIT_RO, REG_BIT_RO,
|
4 : REG_BIT_RO, 5 : REG_BIT_RO, 6 : REG_BIT_RO, 7 : REG_BIT_RO,
|
||||||
default: REG_BIT_RSVD
|
default: REG_BIT_RSVD
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -76,10 +76,8 @@ AXI write descriptor input and AXI write descriptor status output configuration
|
|||||||
|
|
||||||
// REG_ERROR
|
// REG_ERROR
|
||||||
'{
|
'{
|
||||||
REG_BIT_RO, REG_BIT_RO, REG_BIT_RO, REG_BIT_RO,
|
default: REG_BIT_RO
|
||||||
REG_BIT_RO, REG_BIT_RO, REG_BIT_RO, REG_BIT_RO,
|
},
|
||||||
default: REG_BIT_RSVD
|
|
||||||
}
|
|
||||||
|
|
||||||
// REG_DESC_READ_ADDR
|
// REG_DESC_READ_ADDR
|
||||||
'{default: REG_BIT_RW},
|
'{default: REG_BIT_RW},
|
||||||
|
|||||||
Reference in New Issue
Block a user