⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 system.h.gtf

📁 UART RS232 IPCORE for sopc builder
💻 GTF
字号:
<?xml version="1.0" encoding="ISO-8859-1"?>

<generate_set>

    <!-- This "subroutine" generates the system.h text for the
         altera_avalon_uart class of components.  It expects the following
         variables to have been exported:
                MODULE
                MODULE_NAME
                MODULE_SLAVE_NAME_UPPER
                BASE_ADDRESS
                HAS_IRQ
                IRQ
     -->

    <set_variable variable="MODULE_CLASS" to="cal_avalon_uart"/>
    <export variable="MODULE_CLASS"/>
    <call gtf="%GTF_DIR%/system.h_component_output.gtf"/>

    <!-- this is not in the WIZARD_SCRIPT_ARGUMENTS for an cal_avalon_uart,
         which is why we need this GTF -->
    <text>#define %MODULE_SLAVE_NAME_UPPER%_FREQ %CLOCK_FREQ%
    </text>

</generate_set>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -