Forum Discussion
Shainy
New Contributor
5 years agoUsing IPs on a Verilog code
Hi,
I'm using an IP for a multiplier and an accumulator, and I'm quite unsure of how to use it in my Verilog code. I built a block diagram for it, but I need to control the number of times these 2 ...
Shainy
New Contributor
5 years agoHi Sstrell,
Thank you for your reply! I'm actually a bit lost on how to use the ip I've created on my verilog code. I tried looking for ways and examples on the internet, but I was not able to. Am I to use it as a library, or a module, or a function, or am I supposed to instantiate it in a module?
Thanks,
Shainy
sstrell
Super Contributor
5 years agoSimple instantiation. The IP Parameter Editor (or older Megawizard Plug-In Manager) generate instantiation templates to help you instantiate the IP in your code. Look for _inst files or, in the IP Parameter Editor, you can go to the Generate menu and look at the instantiation templates there.