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] - Rev 10

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

`timescale 1ns / 1ps
`default_nettype none
//////////////////////////////////////////////////////////////////////////////////
// Company: 
// Engineer: Sebastien Riou
// 
// Create Date:    17:14:04 01/29/2011 
// Design Name: 
// Module Name:    Iso7816_directionProbe 
// Project Name: 
// Target Devices: 
// Tool versions: 
// Description: model a probe which consist only of wires. Propagation delay over the sio line
// is used to determined the direction of the communication:
// If the terminal send a start bit, the termMon output will go low before cardMon and viceversa
//
// Dependencies: 
//
// Revision: 
// Revision 0.01 - File Created
// Additional Comments: 
//
//////////////////////////////////////////////////////////////////////////////////
module Iso7816_directionProbe(
    inout wire isoSioTerm,
    inout wire isoSioCard,
    output wire termMon,
    output wire cardMon
    );
 
TriWirePullup sioLine(.a(isoSioTerm), .b(isoSioCard));
assign termMon = isoSioTerm;
assign cardMon = isoSioCard;
 
endmodule
 

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

powered by: WebSVN 2.1.0

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