Research Article
Pulse Edge-Only Signaling Method Comparison for Wireline Interconnects
Pseudocode 1
Pseudocode illustrating BER versus SNR calculation.
for in arrange (.00001, 2, .01): | eotBER = 0 | sqBER = 0 | offBER = 0 | #try to calculate a BER itera times | itera = 10000. | transmittedbits = (len(bits) − 7 * 2) * itera | for in range (itera): | (signals, out, errors, SNRs, en) = simulate (/1.) | += 1 | sqBER += errors 0 | offBER += errors 2 | #calculate the average bers | eotBER = eotBER/transmittedbits | sqBER = sqBER/transmittedbits | offBER = offBER/transmittedbits | ##Graph results for this particular SNR level |
|