URL
https://opencores.org/ocsvn/ps2_host_controller/ps2_host_controller/trunk
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 4 |
Line 33... |
Line 33... |
//// Public License along with this source; if not, download it ////
|
//// Public License along with this source; if not, download it ////
|
//// from http://www.opencores.org/lgpl.shtml ////
|
//// from http://www.opencores.org/lgpl.shtml ////
|
//// ////
|
//// ////
|
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
`ifndef SYS_CLOCK_HZ
|
`define SYS_CLOCK_HZ 100_000_000
|
`define SYS_CLOCK_HZ 100_000_000
|
|
`endif
|
|
|
`define T_100_MICROSECONDS (`SYS_CLOCK_HZ / 10_000)
|
`define T_100_MICROSECONDS (`SYS_CLOCK_HZ / 10_000)
|
`define T_200_MICROSECONDS (`SYS_CLOCK_HZ / 5_000)
|
`define T_200_MICROSECONDS (`SYS_CLOCK_HZ / 5_000)
|
// Ideally below define should be $clog2(`T_100_MICROSECONDS + 1)
|
// Ideally below define should be $clog2(`T_100_MICROSECONDS + 1)
|
`define T_100_MICROSECONDS_SIZE 14
|
`define T_100_MICROSECONDS_SIZE 14
|
// ... and same here $clog2(`T_200_MICROSECONDS + 1)
|
// ... and same here $clog2(`T_200_MICROSECONDS + 1)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.