Factory in RAL , create vs new

hi folks,

Do I need to use a configuration setup for my register model when using a factory? Does this apply to creating registers as well?

why i need factory , am sure that i will not override the register model , so why?

Also, why is it recommended not to use the new method for creating registers? If I have 100k registers, will using create instead of new slow down the operation, or am I misunderstanding something?

Thanks!

Not sure what you mean by a “configuration setup”.

Typically a register model is automatically generated from a specification to match the RTL. There is no need for the factory. You are correct that registration and calling `create() would slow things down. Not sure where you saw that recommendation.