Assignment
Must be in C++ Programing
Given a I2C trace file, write a function to determine the various transactions.
The trace files are provided in the zip file and are called t0.txt, t1.txt, t2.txt, t3.txt, t4.txt and t5.txt
The list of the transactions for t0.txt, t1.txt and t2.txt are provided in t0.logfile, t1.logfile and t2.logfile for your reference.
Name of the function must be:
Void iRC_parse (if stream in file, of stream out file)
Output File Contents:
1. Total # of Transactions (including NACK)
2. Total # of Master Writes
3. Total # of Master Reads
4. Total # of Acknowledged Transactions
5. Total # of Not Acknowledged Transactions
6. List of all Read/Write operations.
Attachment:- The-Trace-Files.zip