NXP / i3c-slave-design

MIPI I3C Basic v1.0 communication Slave source code in Verilog with BSD license to support use in sensors and other devices.
Other
104 stars 33 forks source link

rtl file autonomous reg #16

Closed Jiahua-Gong closed 4 years ago

Jiahua-Gong commented 5 years ago

define the fbus_index

reg [IDXMX:0]fbus_index;

....

always @(posedge clk_SCL or negedge RSTn)
  if(!RSTn)
     fbus <= 9'd0;

It's a problem.

pkimelman-nxp commented 5 years ago

In the update, I have it changed to: fbus_index <= 0; Which lets the tool sort it out. You can change your copy if you are having tools issues. At most a tool should only warn, and most seem to ignore this (right side larger than left).

define the fbus_index

reg [IDXMX:0]fbus_index;

....

always @(posedge clk_SCL or negedge RSTn) if(!RSTn) fbus <= 9'd0;

It's a problem,when i choose the local register mode(not use mr bus),it have too many problems.register number must less than 7.