Discuss: Which version is "better" and why? How would you solve this?pic.twitter.com/KLuwMPRsoo
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Alternatively: tmp = tmp << en[i];
Now you are onto something.... that is pretty slick.
Can you replace the "i<10" with "i < sizeof(en)" or something, ready for the day when 'en' becomes 11 bits long? Otherwise, that has a very nice feel to it - far nicer than check_en_ref IMO.
Yes, in SystemVerilog you can write "$bits(en)". This is supported by Yosys, but I'm not sure about other FOSS Verilog tools. Otherwise you can simply create a parameter and use that as size for "en" and in the loop condition. Like DEPTH in this code by @TinyFPGA.pic.twitter.com/wBsyuvb0ef
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.