hello,dear ,the systemrdl have keyword msb0,lsb0;i add msb0 to my rdl ,but it do not work,the fields bits sequence not change ,hwo to solve the problem?
Closed this issue · 2 comments
jiangqingliu88 commented
the regblock also should reverse fields sequnce。
jiangqingliu88 commented
i use the other methods resolve the pronlem,the change is struct packed{
struct packed{
logic [11:0] value;
} reserved;
struct packed{
logic [3:0] value;
} port3_role;
struct packed{
logic [3:0] value;
} port2_role;
struct packed{
logic [3:0] value;
} port1_role;
struct packed{
logic [3:0] value;
} port0_role;
struct packed{
logic [3:0] value;
} Switch_role;
} cfg_reg;
so the backdoor is equal to the front door access value。
amykyta3 commented
Please provide more details. I do not understand what issue you are having.