J
Joe
Guest
Hi all,
Got a small problem in my project but couldn't think of a good solution:
I've got a peripheral in verilog with ifdef statement to determine the
implementation. Now I need to instantiate multiple of the peripheral in
a project, and some of them use one configuration and some other use
another.
The obvious way is to rename the filenames and module names so that the
simulator can tell the different. But then it means I need to maintain
two copies of the same design. Is there any trick anyone know that can
solve this?
Thanks.
Joe
Got a small problem in my project but couldn't think of a good solution:
I've got a peripheral in verilog with ifdef statement to determine the
implementation. Now I need to instantiate multiple of the peripheral in
a project, and some of them use one configuration and some other use
another.
The obvious way is to rename the filenames and module names so that the
simulator can tell the different. But then it means I need to maintain
two copies of the same design. Is there any trick anyone know that can
solve this?
Thanks.
Joe