OpenCores
URL https://opencores.org/ocsvn/iso7816_3_master/iso7816_3_master/trunk

Subversion Repositories iso7816_3_master

[/] [iso7816_3_master/] [trunk/] [test/] [Iso7816_directionProbe.v] - Blame information for rev 10

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 10 acapola
`timescale 1ns / 1ps
2
`default_nettype none
3
//////////////////////////////////////////////////////////////////////////////////
4
// Company: 
5
// Engineer: Sebastien Riou
6
// 
7
// Create Date:    17:14:04 01/29/2011 
8
// Design Name: 
9
// Module Name:    Iso7816_directionProbe 
10
// Project Name: 
11
// Target Devices: 
12
// Tool versions: 
13
// Description: model a probe which consist only of wires. Propagation delay over the sio line
14
// is used to determined the direction of the communication:
15
// If the terminal send a start bit, the termMon output will go low before cardMon and viceversa
16
//
17
// Dependencies: 
18
//
19
// Revision: 
20
// Revision 0.01 - File Created
21
// Additional Comments: 
22
//
23
//////////////////////////////////////////////////////////////////////////////////
24
module Iso7816_directionProbe(
25
    inout wire isoSioTerm,
26
    inout wire isoSioCard,
27
    output wire termMon,
28
    output wire cardMon
29
    );
30
 
31
TriWirePullup sioLine(.a(isoSioTerm), .b(isoSioCard));
32
assign termMon = isoSioTerm;
33
assign cardMon = isoSioCard;
34
 
35
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.