Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/h/config.php on line 6
Account




Eh? Commutes?
At Commutes, you can make or join a Community without the fear of a group Admin.

We believe that communities should be open without the control of Admins so the members get to decide everything through polls.

Sign up!
module Just_gonna_dump_this_here ( a ,b ,sel ,dout ); outpu - Programming

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 294

Warning: Undefined global variable $newsfeed in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 301

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 302

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 176

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 176

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 176

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 176

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 176

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 176

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 176

Warning: Undefined array key "userid" in /home/mqaxcgvu/commutes.ga/scripts/php_scripts.php on line 162
3 Votes
3
module Just_gonna_dump_this_here ( a ,b ,sel ,dout );
output [3:0] dout ;
reg [3:0] dout ;
input [3:0] a ;
wire [3:0] a ;
input [3:0] b ;
wire [3:0] b ;
input sel ;
wire sel ;
reg [4:0] s;
wire [3:0] l; integer i;
assign l = b ^ {sel,sel,sel,sel};
always @ (a or b or sel) begin
s[0] = sel;
for (i=0;i<=3;i=i+1) begin
dout[i] = a[i] ^ l[i] ^ s[i];
s[i+1] = (a[i] & l[i]) | (l[i] & s[i]) | (s[i] & a[i]);
end
end
endmodule
  Kito What kind of assembly is this?
2 Votes
2
  Oct 05, 2018. Reply
  I_am_12044 Half adder HDL verilog behavioral model
2 Votes
2
  Oct 05, 2018. Reply
  Kito I don't know what that is ;-;
1 Votes
1
  Oct 07, 2018. Reply
  I_am_12044 Don't worry I don't think that CS take it in uni
1 Votes
1
  Oct 09, 2018. Reply
  SomeoneElse54 You have opened my eyes to a new tier of autism
2 Votes
2
  Oct 05, 2018. Reply
...
Post and discuss code, or computer stuff in general but let's face it, it all boils down to code.

On average, people who signup are 50% happier.