URL
https://opencores.org/ocsvn/iso7816_3_master/iso7816_3_master/trunk
[/] [iso7816_3_master/] [trunk/] [test/] [ComTxDriverTasks.v] - Diff between revs 11 and 12
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 11 |
Rev 12 |
Line 1... |
Line 1... |
/*
|
/*
|
Author: Sebastien Riou (acapola)
|
Author: Sebastien Riou (acapola)
|
Creation date: 17:16:40 01/09/2011
|
Creation date: 17:16:40 01/09/2011
|
|
|
$LastChangedDate: 2011-01-29 13:16:17 +0100 (Sat, 29 Jan 2011) $
|
$LastChangedDate: 2011-01-29 17:13:49 +0100 (Sat, 29 Jan 2011) $
|
$LastChangedBy: acapola $
|
$LastChangedBy: acapola $
|
$LastChangedRevision: 11 $
|
$LastChangedRevision: 12 $
|
$HeadURL: file:///svn/iso7816_3_master/iso7816_3_master/trunk/test/ComTxDriverTasks.v $
|
$HeadURL: file:///svn/iso7816_3_master/iso7816_3_master/trunk/test/ComTxDriverTasks.v $
|
|
|
This file is under the BSD licence:
|
This file is under the BSD licence:
|
Copyright (c) 2011, Sebastien Riou
|
Copyright (c) 2011, Sebastien Riou
|
|
|
Line 50... |
Line 50... |
begin
|
begin
|
sendByte(data[15:8]);
|
sendByte(data[15:8]);
|
sendByte(data[7:0]);
|
sendByte(data[7:0]);
|
end
|
end
|
endtask
|
endtask
|
|
|
|
//return when the stop bit of the last byte is starting
|
task waitEndOfTx;
|
task waitEndOfTx;
|
begin
|
begin
|
@(posedge COM_clk)
|
@(posedge COM_clk)
|
wait(txPending==0);
|
wait(txPending==0);
|
wait(isTx==0);
|
wait(isTx==0);
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.