traffic_light.fit

来自「Traffic light written with Verilog」· FIT 代码 · 共 911 行 · 第 1/5 页

FIT
911
字号
-- MAX+plus II Compiler Fit File      
-- Version 10.0 9/14/2000             
-- Compiled: 03/18/2004 23:37:28      

-- Copyright (C) 1988-2000 Altera Corporation
-- Any megafunction design, and related net list (encrypted or decrypted),
-- support information, device programming or simulation file, and any other
-- associated documentation or information provided by Altera or a partner
-- under Altera's Megafunction Partnership Program may be used only to
-- program PLD devices (but not masked PLD devices) from Altera.  Any other
-- use of such megafunction design, net list, support information, device
-- programming or simulation file, or any other related documentation or
-- information is prohibited for any other purpose, including, but not
-- limited to modification, reverse engineering, de-compiling, or use with
-- any other silicon devices, unless such use is explicitly licensed under
-- a separate agreement with Altera or a megafunction partner.  Title to
-- the intellectual property, including patents, copyrights, trademarks,
-- trade secrets, or maskworks, embodied in any such megafunction design,
-- net list, support information, device programming or simulation file, or
-- any other related documentation or information provided by Altera or a
-- megafunction partner, remains with Altera, the megafunction partner, or
-- their respective licensors.  No other licenses, including any licenses
-- needed under any third party's intellectual property, are provided herein.

CHIP "traffic_light"
BEGIN

    DEVICE = "EP1K100FC484-3";

    "buttom"                       : INPUT_PIN  = A16    ;
    "clock"                        : INPUT_PIN  = H11    ;
    "en_sw"                        : INPUT_PIN  = V6     ;
    "switches0"                    : INPUT_PIN  = Y7     ;
    "switches1"                    : INPUT_PIN  = AA7    ;
    "switches2"                    : INPUT_PIN  = W7     ;
    "switches3"                    : INPUT_PIN  = U8     ;
    "switches4"                    : INPUT_PIN  = V7     ;
    "switches5"                    : INPUT_PIN  = Y4     ;
    "switches6"                    : INPUT_PIN  = AB6    ;
    "switches7"                    : INPUT_PIN  = Y6     ;
    "display_time0"                : OUTPUT_PIN = V9     ;
    "display_time1"                : OUTPUT_PIN = V8     ;
    "display_time2"                : OUTPUT_PIN = Y9     ;
    "display_time3"                : OUTPUT_PIN = U9     ;
    "display_time4"                : OUTPUT_PIN = AB8    ;
    "display_time5"                : OUTPUT_PIN = AA8    ;
    "display_time6"                : OUTPUT_PIN = W8     ;
    "display_time7"                : OUTPUT_PIN = W9     ;
    "Ecar0"                        : OUTPUT_PIN = B19    ;
    "Ecar1"                        : OUTPUT_PIN = C22    ;
    "Ecar2"                        : OUTPUT_PIN = A17    ;
    "Eman0"                        : OUTPUT_PIN = E17    ;
    "Eman1"                        : OUTPUT_PIN = P18    ;
    "Eman2"                        : OUTPUT_PIN = F16    ;
    "Ncar0"                        : OUTPUT_PIN = A19    ;
    "Ncar1"                        : OUTPUT_PIN = C18    ;
    "Ncar2"                        : OUTPUT_PIN = B18    ;
    "Nman0"                        : OUTPUT_PIN = E16    ;
    "Nman1"                        : OUTPUT_PIN = M16    ;
    "Nman2"                        : OUTPUT_PIN = C16    ;
    "scan0"                        : OUTPUT_PIN = AA9    ;
    "scan1"                        : OUTPUT_PIN = AB9    ;
    "scan2"                        : OUTPUT_PIN = U10    ;
    "scan3"                        : OUTPUT_PIN = V10    ;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:107" : LOCATION   = LC5_I38;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:111" : LOCATION   = LC4_I36;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:119" : LOCATION   = LC1_I36;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:123" : LOCATION   = LC4_I28;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:131" : LOCATION   = LC5_I28;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:139" : LOCATION   = LC3_I28;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:143" : LOCATION   = LC7_I37;
    "|adderes:added|lpm_add_sub:73|addcore:adder|:151" : LOCATION   = LC3_I37;
    "|adderes:added|:57"           : LOCATION   = LC4_I37;
    "|adderes:added|:58"           : LOCATION   = LC6_I37;
    "|adderes:added|:59"           : LOCATION   = LC8_I37;
    "|adderes:added|:60"           : LOCATION   = LC1_I37;
    "|adderes:added|:61"           : LOCATION   = LC2_I37;
    "|adderes:added|:62"           : LOCATION   = LC6_I28;
    "|adderes:added|:63"           : LOCATION   = LC7_I28;
    "|adderes:added|:64"           : LOCATION   = LC8_I28;
    "|adderes:added|:65"           : LOCATION   = LC1_I28;
    "|adderes:added|:66"           : LOCATION   = LC3_I36;
    "|adderes:added|:67"           : LOCATION   = LC5_I36;
    "|adderes:added|:68"           : LOCATION   = LC6_I36;
    "|adderes:added|:69"           : LOCATION   = LC8_I36;
    "|adderes:added|:70"           : LOCATION   = LC4_I38;
    "|adderes:added|:71"           : LOCATION   = LC3_I38;
    "|adderes:added|:72"           : LOCATION   = LC1_I38;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:107" : LOCATION   = LC1_I46;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:111" : LOCATION   = LC6_I48;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:119" : LOCATION   = LC4_I48;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:123" : LOCATION   = LC1_I48;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:131" : LOCATION   = LC4_I31;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:139" : LOCATION   = LC1_I31;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:143" : LOCATION   = LC7_I44;
    "|Counter:count|Adder:adder1|lpm_add_sub:73|addcore:adder|:151" : LOCATION   = LC4_I44;
    "|Counter:count|Adder:adder1|:57" : LOCATION   = LC5_I44;
    "|Counter:count|Adder:adder1|:58" : LOCATION   = LC6_I44;
    "|Counter:count|Adder:adder1|:59" : LOCATION   = LC8_I44;
    "|Counter:count|Adder:adder1|:60" : LOCATION   = LC3_I44;
    "|Counter:count|Adder:adder1|:61" : LOCATION   = LC1_I44;
    "|Counter:count|Adder:adder1|:62" : LOCATION   = LC5_I31;
    "|Counter:count|Adder:adder1|:63" : LOCATION   = LC6_I31;
    "|Counter:count|Adder:adder1|:64" : LOCATION   = LC7_I31;
    "|Counter:count|Adder:adder1|:65" : LOCATION   = LC2_I31;
    "|Counter:count|Adder:adder1|:66" : LOCATION   = LC5_I48;
    "|Counter:count|Adder:adder1|:67" : LOCATION   = LC7_I48;
    "|Counter:count|Adder:adder1|:68" : LOCATION   = LC8_I48;
    "|Counter:count|Adder:adder1|:69" : LOCATION   = LC3_I48;
    "|Counter:count|Adder:adder1|:70" : LOCATION   = LC6_I46;
    "|Counter:count|Adder:adder1|:71" : LOCATION   = LC5_I46;
    "|Counter:count|Adder:adder1|:72" : LOCATION   = LC4_I46;
    "|Counter:count|lpm_add_sub:172|addcore:adder|pcarry1" : LOCATION   = LC8_H17;
    "|Counter:count|lpm_add_sub:172|addcore:adder|pcarry2" : LOCATION   = LC5_H6 ;
    "|Counter:count|lpm_add_sub:172|addcore:adder|pcarry3" : LOCATION   = LC6_H6 ;
    "|Counter:count|lpm_add_sub:172|addcore:adder|pcarry4" : LOCATION   = LC7_H6 ;
    "|Counter:count|lpm_add_sub:172|addcore:adder|pcarry5" : LOCATION   = LC4_H6 ;
    "|Counter:count|lpm_add_sub:172|addcore:adder|pcarry6" : LOCATION   = LC5_H20;
    "|Counter:count|:22"           : LOCATION   = LC2_I46;
    "|Counter:count|~22~1"         : LOCATION   = LC3_I46;
    "|Counter:count|~22~2"         : LOCATION   = LC2_I44;
    "|Counter:count|~22~3"         : LOCATION   = LC3_I31;
    "|Counter:count|~22~4"         : LOCATION   = LC2_I48;
    "|Counter:count|~68~1"         : LOCATION   = LC3_H20;
    "|Counter:count|~68~2"         : LOCATION   = LC5_H17;
    "|Counter:count|:73"           : LOCATION   = LC1_H17;  -- |Counter:count|first
    "|Counter:count|:94"           : LOCATION   = LC7_H20;
    "|Counter:count|:95"           : LOCATION   = LC2_H24;
    "|Counter:count|:96"           : LOCATION   = LC2_H14;
    "|Counter:count|:97"           : LOCATION   = LC1_H24;
    "|Counter:count|:98"           : LOCATION   = LC3_H17;
    "|Counter:count|:99"           : LOCATION   = LC1_H12;
    "|Counter:count|:100"          : LOCATION   = LC1_H8 ;
    "|Counter:count|:101"          : LOCATION   = LC3_H26;
    "|Counter:count|~126~1"        : LOCATION   = LC7_H17;
    "|Counter:count|:129"          : LOCATION   = LC2_H20;  -- |Counter:count|enable
    "|Counter:count|:156"          : LOCATION   = LC4_H20;
    "|Counter:count|:157"          : LOCATION   = LC1_H20;
    "|Counter:count|:158"          : LOCATION   = LC2_H6 ;
    "|Counter:count|:159"          : LOCATION   = LC8_H6 ;
    "|Counter:count|:160"          : LOCATION   = LC1_H6 ;
    "|Counter:count|:161"          : LOCATION   = LC2_H17;
    "|Counter:count|:162"          : LOCATION   = LC3_H6 ;
    "|Counter:count|:163"          : LOCATION   = LC2_H26;
    "|SetTime:set_display|:48"     : LOCATION   = LC2_H19;
    "|SetTime:set_display|:73"     : LOCATION   = LC2_A13;
    "|SetTime:set_display|:77"     : LOCATION   = LC6_H19;
    "|SetTime:set_display|:81"     : LOCATION   = LC3_H1 ;
    "|SetTime:set_display|:82"     : LOCATION   = LC4_H19;
    "|SetTime:set_display|:83"     : LOCATION   = LC4_H1 ;
    "|SetTime:set_display|:84"     : LOCATION   = LC2_H1 ;
    "|SetTime:set_display|:85"     : LOCATION   = LC5_H19;
    "|SetTime:set_display|:86"     : LOCATION   = LC4_H25;
    "|SetTime:set_display|:87"     : LOCATION   = LC8_H25;
    "|SetTime:set_display|:88"     : LOCATION   = LC2_H25;
    "|SetTime:set_display|:91"     : LOCATION   = LC4_C17;  -- |SetTime:set_display|round1
    "|SetTime:set_display|:92"     : LOCATION   = LC1_C17;  -- |SetTime:set_display|round0
    "|SetTime:set_display|:200"    : LOCATION   = LC3_A2 ;
    "|SetTime:set_display|~200~1"  : LOCATION   = LC6_A4 ;
    "|SetTime:set_display|~200~2"  : LOCATION   = LC4_A4 ;
    "|SetTime:set_display|~307~1"  : LOCATION   = LC2_A22;
    "|SetTime:set_display|~307~2"  : LOCATION   = LC3_A22;
    "|SetTime:set_display|:414"    : LOCATION   = LC6_A1 ;
    "|SetTime:set_display|~414~1"  : LOCATION   = LC7_A1 ;
    "|SetTime:set_display|:521"    : LOCATION   = LC6_A8 ;
    "|SetTime:set_display|~521~1"  : LOCATION   = LC7_A8 ;
    "|SetTime:set_display|:628"    : LOCATION   = LC2_A8 ;
    "|SetTime:set_display|~628~1"  : LOCATION   = LC5_A22;
    "|SetTime:set_display|~628~2"  : LOCATION   = LC1_A22;
    "|SetTime:set_display|~628~3"  : LOCATION   = LC1_A8 ;
    "|SetTime:set_display|:735"    : LOCATION   = LC8_A1 ;
    "|SetTime:set_display|~735~1"  : LOCATION   = LC2_A1 ;
    "|SetTime:set_display|~735~2"  : LOCATION   = LC3_A1 ;
    "|SetTime:set_display|~842~1"  : LOCATION   = LC4_A1 ;
    "|SetTime:set_display|~842~2"  : LOCATION   = LC5_A1 ;
    "|SetTime:set_display|:949"    : LOCATION   = LC1_A1 ;
    "|SetTime:set_display|~949~1"  : LOCATION   = LC5_A8 ;
    "|SetTime:set_display|:1056"   : LOCATION   = LC5_A4 ;
    "|SetTime:set_display|:1163"   : LOCATION   = LC3_A4 ;
    "|SetTime:set_display|~1163~1" : LOCATION   = LC8_A4 ;
    "|SetTime:set_display|:1191"   : LOCATION   = LC3_A13;
    "|SetTime:set_display|~1191~1" : LOCATION   = LC2_A4 ;
    "|SetTime:set_display|~1191~2" : LOCATION   = LC2_A2 ;

⌨️ 快捷键说明

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