URL
https://opencores.org/ocsvn/openarty/openarty/trunk
[/] [openarty/] [trunk/] [sw/] [host/] [port.h] - Diff between revs 4 and 6
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 6 |
Line 39... |
Line 39... |
#define PORT_H
|
#define PORT_H
|
|
|
// #define FPGAHOST "lazarus"
|
// #define FPGAHOST "lazarus"
|
#define FPGAHOST "localhost"
|
#define FPGAHOST "localhost"
|
#define FPGATTY "/dev/ttyUSB1"
|
#define FPGATTY "/dev/ttyUSB1"
|
#define FPGAPORT 6502
|
#define FPGAPORT 6510
|
|
|
#ifndef FORCE_UART
|
#ifndef FORCE_UART
|
#define FPGAOPEN(V) V= new FPGA(new NETCOMMS(FPGAHOST, FPGAPORT))
|
#define FPGAOPEN(V) V= new FPGA(new NETCOMMS(FPGAHOST, FPGAPORT))
|
#else
|
#else
|
#define FPGAOPEN(V) V= new FPGA(new TTYCOMMS(FPGATTY))
|
#define FPGAOPEN(V) V= new FPGA(new TTYCOMMS(FPGATTY))
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.