Altera_Forum
Honored Contributor
19 years agoCustom periferial design
Hi everybody!
I'm developing a custom periferial such as an uart interface. SOPC builder includes only basic information for my component for example <div class='quotetop'>QUOTE </div> --- Quote Start --- #define FULL_UART_0_NAME "/dev/full_uart_0"# define FULL_UART_0_TYPE "full_uart"# define FULL_UART_0_BASE 0x002010A8# define FULL_UART_0_SPAN 8# define FULL_UART_0_IRQ 5[/b] --- Quote End --- when I use standard New Component Wizard. Unfortunately, I need more information for SW level about the component like those in altera_uart device <div class='quotetop'>QUOTE </div> --- Quote Start --- #define UART_0_BAUD 115200# define UART_0_DATA_BITS 8# define UART_0_FIXED_BAUD 0# define UART_0_PARITY 'N'# define UART_0_STOP_BITS 1# define UART_0_USE_CTS_RTS 1# define UART_0_USE_EOP_REGISTER 0# define UART_0_SIM_TRUE_BAUD 0# define UART_0_SIM_CHAR_STREAM ""# define UART_0_FREQ 75000000[/b] --- Quote End --- I know that all of them are programmed in class.ptf and xxxx.pl files, moreover, I know that these files are perl scripts. But I'm not familiar with perl. What I want to know is that there is any information about class.ptf structure or "how to" write .pl files for SOPC bulder specificly? Thanks in advance!