Forum Discussion
Altera_Forum
Honored Contributor
15 years ago#define LED_PIO_NAME "/dev/led_pio"
# define LED_PIO_TYPE "altera_avalon_pio" # define LED_PIO_BASE 0x04404880 # define LED_PIO_SPAN 16 # define LED_PIO_DO_TEST_BENCH_WIRING 0 # define LED_PIO_DRIVEN_SIM_VALUE 0x0000 # define LED_PIO_HAS_TRI 0 # define LED_PIO_HAS_OUT 1 # define LED_PIO_HAS_IN 0 # define LED_PIO_CAPTURE 0 # define LED_PIO_EDGE_TYPE "NONE" # define LED_PIO_IRQ_TYPE "NONE" # define LED_PIO_BIT_CLEARING_EDGE_REGISTER 0 # define LED_PIO_DATA_WIDTH 8 # define LED_PIO_FREQ 85000000 # define ALT_MODULE_CLASS_led_pio altera_avalon_pio in system.h file; led is defined as given above