Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 22nd, 2018
61
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.30 KB
| None
|
0
0
raw
download
clone
embed
print
report
function [31:0] log;
input [127:0] in;
integer i;
reg counter;
begin
counter = 0;
for(i=0;i<32;i=i+1)
begin
if(in!=0)
counter = counter+1;
in = in>>1;
end
log = counter;
end
endfunction
Add Comment
Please,
Sign In
to add comment
Public Pastes
разбивка
C# | 6 sec ago | 7.69 KB
Read Len
Python | 4 min ago | 0.10 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 7 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 11 min ago | 0.39 KB
Untitled
PHP | 20 min ago | 2.01 KB
SLOJNITE ZADACHI
C | 26 min ago | 2.34 KB
mp4 в mp3.py
Python | 41 min ago | 6.16 KB
Untitled
MySQL | 43 min ago | 3.97 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!