URL
https://opencores.org/ocsvn/wb4pb/wb4pb/trunk
Subversion Repositories wb4pb
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 15 to Rev 16
- ↔ Reverse comparison
Rev 15 → Rev 16
/wb4pb/trunk/tools/baud_rate_calculator.tcl
106,7 → 106,7
# creating strings with constant definitions in kcpsm3 assembler syntax, |
# splitting into high and low byte |
puts $f "${comment}CONSTANT UART_BAUD_LO_${baud_rate}_VALUE , [string range\ |
$baud_limit_hex 2 3] ; actual baud rate [format %.2f \ |
$baud_limit_hex 2 3] ; actual baud rate [format %.2f\ |
$actual_baud_rate]" |
puts $f "${comment}CONSTANT UART_BAUD_HI_${baud_rate}_VALUE , [string range\ |
$baud_limit_hex 0 1] ; => baud rate error [format %.3f [expr 100 *\ |