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

📄 trafic.tfi

📁 CPLD lattice1032 VHDL实现交通灯控制!
💻 TFI
字号:


// TOOL:     vhdl2tf
// DATE:     12/06/07  15:41:14 
// TITLE:    Lattice Semiconductor Corporation
// MODULE:   trafic
// DESIGN:   trafic
// FILENAME: trafic.tfi
// PROJECT:  trafic
// VERSION:  1.0
// NOTE: DO NOT EDIT THIS FILE
// This file is auto generated by the ispDesignExpert System


// Inputs
    reg clk;
    reg clk1;


`ifdef has_xreset
`ifdef post_route
    reg XRESET;
`endif
`endif
// Outputs
    wire R1;
    wire R2;
    wire Y1;
    wire Y2;
    wire G1;
    wire G2;
    wire [7:0] segout;
    wire [3:0] selout;


// Bidirs


// Instantiate the UUT
    trafic UUT (
`ifdef has_xreset
`ifdef post_route
        .XRESET(XRESET),
`endif
`endif

        .clk(clk), 
        .clk1(clk1), 
        .R1(R1), 
        .R2(R2), 
        .Y1(Y1), 
        .Y2(Y2), 
        .G1(G1), 
        .G2(G2), 
        .segout(segout), 
        .selout(selout)
        );


// Initialize Inputs
    `ifdef auto_init

initial begin
            clk = 0;
            clk1 = 0;
end

    `endif


    `ifdef has_xreset
    `ifdef post_route
initial begin
    XRESET = 0;
    #100 XRESET = 1;
end

    `endif
    `endif

⌨️ 快捷键说明

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