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

📄 count_down.fit

📁 包含若干个VHDL小例子
💻 FIT
字号:
-- MAX+plus II Compiler Fit File      
-- Version 10.0 9/14/2000             
-- Compiled: 04/25/2008 22:42:53      

-- 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 "count_down"
BEGIN

    DEVICE = "EPM7064SLC44-5";

    "clk"                          : INPUT_PIN  = 43     ;
    "ena_1Hz"                      : INPUT_PIN  = 39     ; -- LC57
    "load0"                        : INPUT_PIN  = 41     ; -- LC64
    "load1"                        : INPUT_PIN  = 18     ; -- LC21
    "load2"                        : INPUT_PIN  = 40     ; -- LC62
    "load3"                        : INPUT_PIN  = 4      ; -- LC16
    "load4"                        : INPUT_PIN  = 33     ; -- LC49
    "load5"                        : INPUT_PIN  = 5      ; -- LC14
    "load6"                        : INPUT_PIN  = 6      ; -- LC11
    "load7"                        : INPUT_PIN  = 8      ; -- LC5
    "recount"                      : INPUT_PIN  = 16     ; -- LC25
    "reset"                        : INPUT_PIN  = 17     ; -- LC24
    "next_state"                   : OUTPUT_PIN = 21     ; -- LC17
    "seg70"                        : OUTPUT_PIN = 27     ; -- LC37
    "seg71"                        : OUTPUT_PIN = 20     ; -- LC19
    "seg72"                        : OUTPUT_PIN = 19     ; -- LC20
    "seg73"                        : OUTPUT_PIN = 9      ; -- LC4
    "seg74"                        : OUTPUT_PIN = 14     ; -- LC30
    "seg75"                        : OUTPUT_PIN = 12     ; -- LC1
    "seg76"                        : OUTPUT_PIN = 11     ; -- LC3
    "seg77"                        : OUTPUT_PIN = 34     ; -- LC51
    "seg78"                        : OUTPUT_PIN = 28     ; -- LC40
    "seg79"                        : OUTPUT_PIN = 36     ; -- LC52
    "seg710"                       : OUTPUT_PIN = 29     ; -- LC41
    "seg711"                       : OUTPUT_PIN = 31     ; -- LC46
    "seg712"                       : OUTPUT_PIN = 24     ; -- LC33
    "seg713"                       : OUTPUT_PIN = 25     ; -- LC35
    "seg714"                       : OUTPUT_PIN = 26     ; -- LC36
    "seg715"                       : OUTPUT_PIN = 37     ; -- LC53
    "|LPM_ADD_SUB:695|addcore:adder|result_node1" : LOCATION   = LC64   ; -- PIN 41
    "|LPM_ADD_SUB:695|addcore:adder|result_node2" : LOCATION   = LC63   ;
    "|LPM_ADD_SUB:695|addcore:adder|result_node3" : LOCATION   = LC62   ; -- PIN 40
    "|LPM_ADD_SUB:695|addcore:adder|result_node4" : LOCATION   = LC61   ;
    "|LPM_ADD_SUB:695|addcore:adder|result_node5" : LOCATION   = LC60   ;
    "|LPM_ADD_SUB:695|addcore:adder|result_node6" : LOCATION   = LC58   ;
    "|LPM_ADD_SUB:695|addcore:adder|result_node7" : LOCATION   = LC56   ; -- PIN 38
    "|LPM_ADD_SUB:736|addcore:adder|result_node1" : LOCATION   = LC55   ;
    "|LPM_ADD_SUB:736|addcore:adder|result_node2" : LOCATION   = LC31   ;
    "|LPM_ADD_SUB:736|addcore:adder|result_node3" : LOCATION   = LC6    ;
    "|LPM_ADD_SUB:736|addcore:adder|result_node4" : LOCATION   = LC32   ; -- PIN 13
    "|LPM_ADD_SUB:736|addcore:adder|result_node5" : LOCATION   = LC44   ;
    "|LPM_ADD_SUB:736|addcore:adder|result_node6" : LOCATION   = LC47   ;
    "|LPM_ADD_SUB:736|addcore:adder|result_node7" : LOCATION   = LC48   ; -- PIN 32
    ":46"                          : LOCATION   = LC38   ;  -- cnt_ff7
    ":47"                          : LOCATION   = LC45   ;  -- cnt_ff6
    ":48"                          : LOCATION   = LC43   ;  -- cnt_ff5
    ":49"                          : LOCATION   = LC42   ;  -- cnt_ff4
    ":50"                          : LOCATION   = LC34   ;  -- cnt_ff3
    ":51"                          : LOCATION   = LC39   ;  -- cnt_ff2
    ":52"                          : LOCATION   = LC49   ; -- PIN 33  -- cnt_ff1
    ":53"                          : LOCATION   = LC50   ;  -- cnt_ff0

END;

INTERNAL_INFO "count_down"
BEGIN
	DEVICE = EPM7064SLC44-5;
	LC53    : LORAX = "G62R0";
	LC36    : LORAX = "G61R0";
	LC35    : LORAX = "G60R0";
	LC33    : LORAX = "G58R0";
	LC46    : LORAX = "G75R0";
	LC41    : LORAX = "G107R0";
	LC52    : LORAX = "G32R0";
	LC40    : LORAX = "G28R0";
	LC51    : LORAX = "G31R0";
	LC3     : LORAX = "G19R0";
	LC1     : LORAX = "G17R0";
	LC30    : LORAX = "G71R0";
	LC4     : LORAX = "G20R0";
	LC20    : LORAX = "G57R0";
	LC19    : LORAX = "G56R0";
	LC37    : LORAX = "G25R0";
	LC17    : LORAX = "G54R0";
	LC38    : LORAX = "G26R0,PA1R0C0,PA1R0C1,PA1R0C2";
	OH56R0P39 : LORAX = "G12R0,PA8R0C3,PA8R0C2";
	OH24R0P16 : LORAX = "G37R0,PA10R0C3,PA10R0C2";
	LC56    : LORAX = "G65R0,PA11R0C2";
	OH4R0P8 : LORAX = "G116R0,PA27R0C3";
	OH10R0P6 : LORAX = "G2R0,PA0R0C3";
	OH13R0P5 : LORAX = "G34R0,PA15R0C3";
	OH48R0P33 : LORAX = "G95R0,PA23R0C3";
	OH15R0P4 : LORAX = "G36R0,PA14R0C3";
	OH61R0P40 : LORAX = "G46R0,PA12R0C3";
	OH20R0P18 : LORAX = "G87R0,PA20R0C3";
	OH63R0P41 : LORAX = "G48R0,PA9R0C3";
	LC48    : LORAX = "G77R0,PA22R0C2";
	LC45    : LORAX = "G74R0,PA18R0C0,PA18R0C1,PA18R0C2";
	LC58    : LORAX = "G79R0,PA21R0C2";
	LC47    : LORAX = "G76R0,PA19R0C2";
	LC43    : LORAX = "G109R0,PA30R0C0,PA30R0C1,PA28R0C2";
	LC60    : LORAX = "G81R0,PA23R0C2";
	LC44    : LORAX = "G110R0,PA31R0C2";
	LC42    : LORAX = "G108R0,PA29R0C0,PA29R0C1,PA32R0C2";
	LC61    : LORAX = "G111R0,PA29R0C2";
	LC32    : LORAX = "G73R0,PA20R0C2";
	LC34    : LORAX = "G59R0,PA10R0C0,PA10R0C1,PA15R0C2";
	LC62    : LORAX = "G112R0,PA30R0C2";
	LC6     : LORAX = "G51R0,PA9R0C2";
	LC39    : LORAX = "G27R0,PA7R0C0,PA7R0C1,PA3R0C2";
	LC63    : LORAX = "G113R0,PA34R0C2";
	LC31    : LORAX = "G72R0,PA24R0C2";
	LC49    : LORAX = "G29R0,PA7R0C3,PA8R0C0,PA8R0C1,PA7R0C2";
	LC64    : LORAX = "G114R0,PA31R0C3";
	LC55    : LORAX = "G64R0,PA13R0C3";
	LC50    : LORAX = "G30R0,PA5R0C3,PA5R0C0,PA5R0C1,PA5R0C2";
	OH23R0P17 : LORAX = "G90R0,PA24R0C0,PA24R0C1,PA24R0C3,PA25R0C2";
END;

⌨️ 快捷键说明

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