OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [bench/] [sysc/] [src/] [UartSC.cpp] - Diff between revs 51 and 52

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 51 Rev 52
Line 58... Line 58...
  // This doesn't work! Fix it...
  // This doesn't work! Fix it...
  //clocks_per_bit = (int)(clk_freq_hz/uart_baud);
  //clocks_per_bit = (int)(clk_freq_hz/uart_baud);
  //printf("initUart: clocks_per_bit: %d\n", clocks_per_bit);
  //printf("initUart: clocks_per_bit: %d\n", clocks_per_bit);
 
 
  // debug: hardset for now
  // debug: hardset for now
  clocks_per_bit= 432;
  clocks_per_bit= 208;
 
 
}
}
 
 
 
 
// Maybe do this with threads instead?!
// Maybe do this with threads instead?!

powered by: WebSVN 2.1.0

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