statemachine.fit
来自「本频率计具有测周、测频、测量占空比等基本功能」· FIT 代码 · 共 139 行
FIT
139 行
-- MAX+plus II Compiler Fit File
-- Version 10.2 07/10/2002
-- Compiled: 11/18/2005 15:02:54
-- Copyright (C) 1988-2002 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 "statemachine"
BEGIN
DEVICE = "EPF10K10LC84-3";
"clock1kHz" : INPUT_PIN = 43 ;
"clock10Hz" : INPUT_PIN = 25 ;
"clock10kHz" : INPUT_PIN = 84 ;
"clock100Hz" : INPUT_PIN = 21 ;
"clock100kHz" : INPUT_PIN = 1 ;
"low" : INPUT_PIN = 44 ;
"over" : INPUT_PIN = 42 ;
"reset" : INPUT_PIN = 2 ;
"dp1" : OUTPUT_PIN = 67 ;
"dp2" : OUTPUT_PIN = 65 ;
"en" : OUTPUT_PIN = 64 ;
"lowlight" : OUTPUT_PIN = 66 ;
"outclk" : OUTPUT_PIN = 23 ;
"overlight" : OUTPUT_PIN = 22 ;
"period" : OUTPUT_PIN = 24 ;
"over~1" : LOCATION = LC7_B22;
"state~1" : LOCATION = LC4_B22;
"state~2" : LOCATION = LC2_B23;
"state~3" : LOCATION = LC3_B22;
"state~4" : LOCATION = LC1_B22;
"state~5" : LOCATION = LC5_B22;
"state~6" : LOCATION = LC1_B23;
"state~7" : LOCATION = LC5_B23;
"state~8" : LOCATION = LC4_B23;
"~224~1" : LOCATION = LC4_B14;
"~230~1" : LOCATION = LC1_B17;
"~242~1" : LOCATION = LC8_B23;
":243" : LOCATION = LC7_B23;
"~244~1" : LOCATION = LC6_B23;
"~248~1" : LOCATION = LC6_B22;
"~250~1" : LOCATION = LC8_B22;
":484" : LOCATION = LC7_B14;
"~496~1" : LOCATION = LC3_B17;
"~499~1" : LOCATION = LC5_B17;
"~502~1" : LOCATION = LC6_B17;
"~505~1" : LOCATION = LC7_B17;
"~508~1" : LOCATION = LC4_B17;
":534" : LOCATION = LC2_B22;
":558" : LOCATION = LC3_B23;
":571" : LOCATION = LC5_B14;
":582" : LOCATION = LC6_B14;
":600" : LOCATION = LC3_B14;
":604" : LOCATION = LC1_B14;
":616" : LOCATION = LC2_B17;
":627" : LOCATION = LC2_B14;
":628" : LOCATION = LC8_B14;
END;
INTERNAL_INFO "statemachine"
BEGIN
DEVICE = EPF10K10LC84-3;
OD5P43 : LORAX = "1:FB5|2:CH1R1,PA7R1C16->LC3_B17,->LC4_B17||";
OH15R1P25 : LORAX = "1:G39R1,PA20R1C16->LC6_B17|";
OD0P84 : LORAX = "1:FB0|2:FH0R1,PA0R1C16->LC3_B17||";
OH8R1P21 : LORAX = "1:G13R1,PA4R1C16->LC7_B17|";
OD4P1 : LORAX = "1:FB4->LC4_B22,->LC2_B23,->LC3_B22,->LC1_B22,->LC5_B22,->LC1_B23,->LC5_B23,->LC4_B23|2:CH0R1,PA19R1C16->LC5_B17||";
OD2P44 : LORAX = "1:FB2|2:FH2R1|3:PA6R1C21->LC4_B22,->LC3_B22,->LC1_B22,->LC5_B22,->LC6_B22|,3:PA6R1C22->LC2_B23,->LC1_B23,->LC4_B23,->LC7_B23,->LC6_B23|||";
OD3P42 : LORAX = "1:FB3|2:FH3R1|3:PA5R1C21->LC7_B22,->LC4_B22,->LC3_B22,->LC5_B22,->LC6_B22|,3:PA5R1C22->LC2_B23,->LC1_B23,->LC5_B23,->LC4_B23|||";
OD1P2 : LORAX = "1:FB1->LC4_B22,->LC2_B23,->LC3_B22,->LC1_B22,->LC5_B22,->LC1_B23,->LC5_B23,->LC4_B23|";
LC2_B23 : LORAX = "1:MSW1R1C22,G16R1|2:PA18R1C13->LC5_B14|,2:PA18R1C21->LC2_B22||";
LC3_B22 : LORAX = "1:MSW2R1C21,HHR14R1|2:PA1R1C13->LC7_B14,->LC5_B14,->LC3_B14|,2:PA1R1C16->LC2_B17|,2:PA1R1C22->LC3_B23||";
LC1_B22 : LORAX = "1:MSW0R1C21,HHR19R1|2:PA17R1C13->LC5_B14,->LC3_B14|,2:PA17R1C16->LC1_B17,->LC3_B17,->LC2_B17||";
LC5_B22 : LORAX = "1:MSW4R1C21,HHR38R1|2:PA11R1C13->LC4_B14,->LC5_B14,->LC3_B14,->LC2_B14|,2:PA11R1C16->LC5_B17||";
LC1_B23 : LORAX = "1:MSW0R1C22|2:G46R1,PA4R1C13->LC6_B14,->LC1_B14,->LC2_B14|,2:HHR18R1,PA18R1C16->LC1_B17,->LC6_B17||";
LC5_B23 : LORAX = "1:MSW4R1C22,HHR44R1|2:PA5R1C13->LC4_B14,->LC6_B14,->LC1_B14,->LC8_B14|,2:PA5R1C16->LC7_B17||";
LC4_B23 : LORAX = "1:MSW3R1C22,HHR7R1|2:PA15R1C13->LC7_B14,->LC6_B14,->LC1_B14,->LC8_B14|,2:PA15R1C16->LC4_B17||";
LC4_B14 : LORAX = "1:MSW3R1C13,HHR13R1,PA2R1C22->LC1_B23,->LC3_B23|";
LC1_B17 : LORAX = "1:|2:MSW0R1C17,HHR20R1|3:PA16R1C13->LC7_B14|,3:PA16R1C21->LC5_B22,->LC2_B22||,2:MSW0R1C16,G41R1,PA18R1C22->LC3_B23||";
LC7_B14 : LORAX = "1:MSW6R1C13,HHR32R1->OH6R1P64|";
LC4_B17 : LORAX = "1:MSW3R1C16,G26R1->OH11R1P23|";
LC2_B22 : LORAX = "1:MSW1R1C21,G34R1->OH9R1P22|";
LC3_B23 : LORAX = "1:MSW2R1C22,HHR0R1->OH2R1P66|";
LC6_B14 : LORAX = "1:MSW5R1C13,G81R1->OH13R1P24|";
LC1_B14 : LORAX = "1:MSW0R1C13,HHR23R1->OH0R1P67|";
LC2_B17 : LORAX = "1:MSW1R1C16,HHR5R1,PA6R1C13->LC2_B14|";
LC8_B14 : LORAX = "1:MSW4R1C12,HHR41R1->OH4R1P65|2:PA8R1C16->LC2_B17||";
LC7_B22 : LORAX2 = "X, X, OD3P42, LC3_B22";
LC4_B22 : LORAX2 = "OD2P44, OD3P42, LC4_B22, LC3_B22";
LC2_B23 : LORAX2 = "OD3P42, OD2P44, LC2_B23, LC4_B23";
LC3_B22 : LORAX2 = "OD3P42, OD2P44, LC8_B22, LC1_B22";
LC1_B22 : LORAX2 = "OD2P44, LC4_B22, LC7_B22, LC6_B22";
LC5_B22 : LORAX2 = "OD3P42, OD2P44, LC1_B17, LC5_B22";
LC1_B23 : LORAX2 = "OD3P42, OD2P44, LC4_B14, LC1_B23";
LC5_B23 : LORAX2 = "OD3P42, LC7_B23, LC6_B23, LC1_B23";
LC4_B23 : LORAX2 = "OD3P42, OD2P44, LC5_B23, LC8_B23";
LC4_B14 : LORAX2 = "X, X, LC5_B23, LC5_B22";
LC1_B17 : LORAX2 = "X, X, LC1_B23, LC1_B22";
LC8_B23 : LORAX2 = "X, X, LC2_B23, LC4_B23";
LC7_B23 : LORAX2 = "X, X, OD2P44, LC2_B23";
LC6_B23 : LORAX2 = "X, OD2P44, LC5_B23, LC4_B23";
LC6_B22 : LORAX2 = "OD3P42, OD2P44, LC5_B22, LC1_B22";
LC8_B22 : LORAX2 = "X, X, LC4_B22, LC3_B22";
LC7_B14 : LORAX2 = "LC4_B23, LC4_B14, LC1_B17, LC3_B22";
LC3_B17 : LORAX2 = "X, OD0P84, OD5P43, LC1_B22";
LC5_B17 : LORAX2 = "X, LC5_B22, LC3_B17, OD4P1";
LC6_B17 : LORAX2 = "X, OH15R1P25, LC1_B23, LC5_B17";
LC7_B17 : LORAX2 = "X, OH8R1P21, LC5_B23, LC6_B17";
LC4_B17 : LORAX2 = "X, LC4_B23, OD5P43, LC7_B17";
LC2_B22 : LORAX2 = "LC2_B23, LC1_B17, LC3_B22, LC5_B22";
LC3_B23 : LORAX2 = "LC8_B23, LC4_B14, LC1_B17, LC3_B22";
LC5_B14 : LORAX2 = "LC2_B23, LC3_B22, LC5_B22, LC1_B22";
LC6_B14 : LORAX2 = "LC5_B14, LC5_B23, LC4_B23, LC1_B23";
LC3_B14 : LORAX2 = "LC3_B22, LC5_B22, LC1_B22, LC1_B14";
LC1_B14 : LORAX2 = "LC5_B23, LC4_B23, LC1_B23, LC3_B14";
LC2_B17 : LORAX2 = "X, LC3_B22, LC1_B22, LC8_B14";
LC2_B14 : LORAX2 = "X, LC1_B23, LC5_B22, LC2_B17";
LC8_B14 : LORAX2 = "X, LC5_B23, LC4_B23, LC2_B14";
END;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?