breakout: slightly better fix. (nw)

This commit is contained in:
couriersud 2019-04-18 00:00:02 +02:00
parent aa98eae728
commit 4451f21fc9

View File

@ -115,10 +115,12 @@ TODO: Volleyball...
*
*/
#define MASTER_CLOCK_BREAKOUT (14318000)
//#define MASTER_CLOCK_BREAKOUT (14318000)
static const int NS_PER_CLOCK = static_cast<int>((double) NETLIST_INTERNAL_RES / (double) 14318000 + 0.5);
static const int MASTER_CLOCK_BREAKOUT = static_cast<int>((double) NETLIST_INTERNAL_RES / (double) NS_PER_CLOCK + 0.5);
#define V_TOTAL_BREAKOUT (0xFC) // 252
#define H_TOTAL_BREAKOUT (448*2) // 448
static const int V_TOTAL_BREAKOUT = (0xFC); // 252
static const int H_TOTAL_BREAKOUT = (448*2); // 448
enum input_changed_enum
{