Skip to content

Commit

Permalink
initial code and verilog code generated testing
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekbashista committed Jun 14, 2024
1 parent 03bb81f commit d285584
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions generated_verilog/mux.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module mux(input a, input b, input sel, output ans);

assign ans = sel ? a : b;

endmodule

0 comments on commit d285584

Please sign in to comment.