core.tpl

来自「用ISE中各种工具设计“运动计时表”.加深对FPGA/CPLD设计流程的理解」· TPL 代码 · 共 49 行

TPL
49
字号
[COREGEN.VHDL Component Instantiation.tenths]
type=template
text000=" "
text001=" "
text002="-- The following code must appear in the VHDL architecture header:"
text003=" "
text004="component tenths"
text005="    port ("
text006="    Q: OUT std_logic_VECTOR(3 downto 0);"
text007="    CLK: IN std_logic;"
text008="    Q_THRESH0: OUT std_logic;"
text009="    CE: IN std_logic;"
text010="    AINIT: IN std_logic);"
text011="end component;"
text012=""
text013=""
text014=""
text015=""
text016=" "
text017="-------------------------------------------------------------"
text018=" "
text019="-- The following code must appear in the VHDL architecture body."
text020="-- Substitute your own instance name and net names."
text021=" "
text022="your_instance_name : tenths"
text023="        port map ("
text024="            Q => Q,"
text025="            CLK => CLK,"
text026="            Q_THRESH0 => Q_THRESH0,"
text027="            CE => CE,"
text028="            AINIT => AINIT);"
text029=" "
[COREGEN.VERILOG Component Instantiation.tenths]
type=template
text000=" "
text001=" "
text002="// The following must be inserted into your Verilog file for this"
text003="// core to be instantiated. Change the instance name and port connections"
text004="// (in parentheses) to your own signal names."
text005=" "
text006="tenths YourInstanceName ("
text007="    .Q(Q),"
text008="    .CLK(CLK),"
text009="    .Q_THRESH0(Q_THRESH0),"
text010="    .CE(CE),"
text011="    .AINIT(AINIT));"
text012=""
text013=" "

⌨️ 快捷键说明

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