mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Add fpga-xc3s100e and icopyx support
This commit is contained in:
parent
d56d8f0f65
commit
e79fb92074
106 changed files with 4213 additions and 85 deletions
21
fpga-xc3s100e/mux2_oneout.v
Normal file
21
fpga-xc3s100e/mux2_oneout.v
Normal file
|
@ -0,0 +1,21 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Two way MUX.
|
||||
//
|
||||
// kombi, 2020.05
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
module mux2_oneout(sel, y, x0, x1);
|
||||
input [1:0] sel;
|
||||
output x0, x1;
|
||||
input y;
|
||||
reg x0, x1;
|
||||
|
||||
always @(x0 or x1 or sel)
|
||||
begin
|
||||
case (sel)
|
||||
1'b0: x1 = y;
|
||||
1'b1: x0 = y;
|
||||
endcase
|
||||
end
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue