tayyab786
Junior Member level 3
get error on this statement if (max[M:0] > value) where M is input... i know we cannot declare a value in an array that can change at run time ....any alternative for this statement
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Code Verilog - [expand] 1 if (max & ((32'd2<< M)-1) > value)