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

Subversion Repositories leros

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /leros/trunk/java/tools
    from Rev 4 to Rev 8
    Reverse comparison

Rev 4 → Rev 8

/src/leros/sim/LerosIO.java
32,8 → 32,9
package leros.sim;
 
/**
* Simulation of IO devices connected to Leros. IO mapping is at the moment not
* the same as in VHDL.
* Simulation of IO devices connected to Leros.
* IO mapping needs a definition of a minimum default.
* LEDs, buttons, and a UART
*
* @author martin
*
40,9 → 41,9
*/
public class LerosIO implements ILerosIO{
 
final static int UART_STATUS = 0;
final static int UART_IO = 1;
final static int LED = 2;
final static int UART_STATUS = 2;
final static int UART_IO = 3;
final static int LED = 0;
int[] command = new int[]{ 10,10,30,20,1,1};
int commandIndex = 0;
52,7 → 53,7
case UART_IO:
System.out.println( data);
System.out.println((char) data);
break;

powered by: WebSVN 2.1.0

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