mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Unified fpga folders
This commit is contained in:
parent
1107c214c5
commit
c59bdec4f2
114 changed files with 1852 additions and 4814 deletions
22
fpga/mux2_onein.v
Normal file
22
fpga/mux2_onein.v
Normal file
|
@ -0,0 +1,22 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Two way MUX.
|
||||
//
|
||||
// kombi, 2020.05
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
module mux2_one(
|
||||
input [1:0] sel,
|
||||
output reg y,
|
||||
input x0,
|
||||
input x1
|
||||
);
|
||||
|
||||
always @(*)
|
||||
begin
|
||||
case (sel)
|
||||
1'b0: y = x1;
|
||||
1'b1: y = x0;
|
||||
endcase
|
||||
end
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue