cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sppurnaye
Visitor
Visitor
278 Views
Registered: ‎07-09-2014

Functions in verilog

I have written a function for the generation of 128-bit data in a Verilog module, when I generate bitstream then that function not running on the Hardware, but if I replace the function with a new module and instantiate it in the main Verilog code (working same as a function) then it's started working on Hardware. Can you please explain why this is happening?

0 Kudos
2 Replies
dpaul24
Scholar
Scholar
269 Views
Registered: ‎08-07-2014

@sppurnaye ,

Can you please explain why this is happening?

No absolutely not and I guess no one else also can't with so little info.

Write a testbench of your DUT and simulate the DUT. You will find the problem.

------------FPGA enthusiast------------
Consider giving "Kudos" if you like my answer. Please mark my post "Accept as solution" if my answer has solved your problem
Asking for solutions to problems via PM will be ignored.

0 Kudos
sppurnaye
Visitor
Visitor
237 Views
Registered: ‎07-09-2014

with Testbench working, I am facing an issue with Hardware

0 Kudos