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

📄 str.bdf

📁 《FPGA嵌入式应用系统开发典型实例》-书的光盘资料
💻 BDF
📖 第 1 页 / 共 2 页
字号:
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2005 Altera Corporation
Any  megafunction  design,  and related netlist (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,  netlist,  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, netlist,
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.
*/
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 160 200 328 216)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "MASTERCLK" (rect 5 0 69 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 160 216 328 232)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "LOAD" (rect 5 0 34 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 160 232 328 248)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "FACTOR[2..0]" (rect 5 0 75 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 153 17)(font "Arial" (font_size 6)))
)
(pin
	(output)
	(rect 1408 208 1584 224)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "ADCLK-P" (rect 90 0 137 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 1408 224 1584 240)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "ADCLK-N" (rect 90 0 138 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 1408 240 1584 256)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "LOCALCLK-P" (rect 90 0 157 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 1408 256 1584 272)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "LOCALCLK-N" (rect 90 0 158 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(symbol
	(rect 752 144 816 184)
	(text "AND2" (rect 1 -1 25 9)(font "Arial" (font_size 6)))
	(text "10" (rect 1 30 12 42)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN1" (rect 6 6 23 18)(font "Courier New" (bold))(invisible))
		(text "IN1" (rect 6 6 23 18)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 14 16)(line_width 1))
	)
	(port
		(pt 0 32)
		(input)
		(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
		(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 14 32)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 51 14 68 26)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 51 14 68 26)(font "Courier New" (bold))(invisible))
		(line (pt 42 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 14 36)(pt 31 36)(line_width 1))
		(line (pt 14 12)(pt 32 12)(line_width 1))
		(line (pt 14 36)(pt 14 12)(line_width 1))
		(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
	)
)
(symbol
	(rect 1032 240 1096 320)
	(text "TFF" (rect 1 0 16 10)(font "Arial" (font_size 6)))
	(text "inst19" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 32 0)
		(input)
		(text "PRN" (rect 24 13 29 25)(font "Courier New" (bold)))
		(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1))
	)
	(port
		(pt 32 80)
		(input)
		(text "CLRN" (rect 21 59 26 71)(font "Courier New" (bold)))
		(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1))
	)
	(port
		(pt 0 24)
		(input)
		(text "T" (rect 16 20 21 32)(font "Courier New" (bold)))
		(text "T" (rect 16 20 21 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 2 28 7 40)(font "Courier New" (bold))(invisible))
		(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 34)(pt 19 41)(line_width 1))
		(line (pt 18 41)(pt 12 47)(line_width 1))
		(circle (rect 28 4 36 12)(line_width 1))
		(circle (rect 28 68 36 76)(line_width 1))
	)
)
(symbol
	(rect 1048 160 1080 176)
	(text "VCC" (rect 7 0 24 9)(font "Arial" (font_size 6)))
	(text "inst4" (rect 3 5 26 17)(font "Arial" )(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(line (pt 16 16)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 1176 312 1224 344)
	(text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6)))
	(text "inst5" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 12 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 47 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 1040 416 1072 448)
	(text "GND" (rect 8 16 25 25)(font "Arial" (font_size 6)))
	(text "inst6" (rect 3 21 26 33)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(line (pt 16 8)(pt 16 0)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 24 8)(line_width 1))
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 648 120 696 152)
	(text "NOT" (rect 1 -1 21 9)(font "Arial" (font_size 6)))
	(text "13" (rect 1 22 12 34)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 0 6 11 18)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 0 6 11 18)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 41 6 58 18)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 41 6 58 18)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(text "2" (rect 0 6 5 18)(font "Courier New" (bold))(invisible))
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 856 528 920 608)
	(text "TFF" (rect 1 0 16 10)(font "Arial" (font_size 6)))
	(text "inst12" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 32 0)
		(input)
		(text "PRN" (rect 24 13 29 25)(font "Courier New" (bold)))
		(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1))
	)
	(port
		(pt 32 80)
		(input)
		(text "CLRN" (rect 21 59 26 71)(font "Courier New" (bold)))
		(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1))
	)
	(port
		(pt 0 24)
		(input)
		(text "T" (rect 16 20 21 32)(font "Courier New" (bold)))
		(text "T" (rect 16 20 21 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 2 28 7 40)(font "Courier New" (bold))(invisible))
		(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 34)(pt 19 41)(line_width 1))
		(line (pt 18 41)(pt 12 47)(line_width 1))
		(circle (rect 28 4 36 12)(line_width 1))
		(circle (rect 28 68 36 76)(line_width 1))
	)
)
(symbol
	(rect 800 480 832 496)
	(text "VCC" (rect 7 0 24 9)(font "Arial" (font_size 6)))
	(text "inst13" (rect 3 5 32 17)(font "Arial" )(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(line (pt 16 16)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 1008 592 1056 624)
	(text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6)))
	(text "inst14" (rect 3 21 32 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 12 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 47 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 560 424 696 624)
	(text "LPM_COUNTER" (rect 20 0 117 17)(font "Arial" (font_size 10)))
	(text "inst11" (rect 3 189 32 201)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "sset" (rect 20 25 40 37)(font "Arial" (font_size 8)))
		(text "sset" (rect 20 25 44 39)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "sload" (rect 20 41 46 53)(font "Arial" (font_size 8)))
		(text "sload" (rect 20 41 50 55)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
		(unused)
	)
	(port
		(pt 0 64)
		(input)
		(text "updown" (rect 20 57 57 69)(font "Arial" (font_size 8)))
		(text "updown" (rect 20 57 67 71)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
		(unused)
	)
	(port
		(pt 0 80)
		(input)
		(text "cnt_en" (rect 20 73 51 85)(font "Arial" (font_size 8)))
		(text "cnt_en" (rect 20 73 58 87)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
		(unused)
	)
	(port
		(pt 0 96)
		(input)
		(text "data[LPM_WIDTH-1..0]" (rect 20 89 47 101)(font "Arial" (font_size 8)))
		(text "data[]" (rect 20 89 51 103)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 3))
		(unused)
	)
	(port
		(pt 0 112)
		(input)
		(text "clock" (rect 27 106 51 118)(font "Arial" (font_size 8))(invisible))
		(text "clock" (rect 27 106 56 120)(font "Arial" (font_size 8))(invisible))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "clk_en" (rect 20 121 50 133)(font "Arial" (font_size 8)))
		(text "clk_en" (rect 20 121 56 135)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128)(line_width 1))
		(unused)
	)
	(port
		(pt 0 144)
		(input)
		(text "sconst" (rect 20 137 51 149)(font "Arial" (font_size 8)))
		(text "sconst" (rect 20 137 58 151)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144)(line_width 1))
		(unused)
	)
	(port
		(pt 0 160)
		(input)
		(text "sclr" (rect 20 153 36 165)(font "Arial" (font_size 8)))
		(text "sclr" (rect 20 153 41 167)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160)(line_width 1))
		(unused)
	)
	(port
		(pt 88 200)
		(input)
		(text "aload" (rect 80 158 92 184)(font "Arial" (font_size 8))(vertical))
		(text "aload" (rect 80 158 94 188)(font "Arial" (font_size 8))(vertical))
		(line (pt 88 200)(pt 88 184)(line_width 1))
		(unused)
	)
	(port
		(pt 72 200)
		(input)
		(text "aclr" (rect 64 167 76 184)(font "Arial" (font_size 8))(vertical))
		(text "aclr" (rect 64 167 78 188)(font "Arial" (font_size 8))(vertical))
		(line (pt 72 200)(pt 72 184)(line_width 1))
		(unused)
	)
	(port
		(pt 56 200)
		(input)
		(text "aset" (rect 48 164 60 184)(font "Arial" (font_size 8))(vertical))
		(text "aset" (rect 48 164 62 188)(font "Arial" (font_size 8))(vertical))
		(line (pt 56 200)(pt 56 184)(line_width 1))
		(unused)
	)
	(port
		(pt 104 200)
		(input)
		(text "aconst" (rect 96 152 108 184)(font "Arial" (font_size 8))(vertical))
		(text "aconst" (rect 96 152 110 190)(font "Arial" (font_size 8))(vertical))
		(line (pt 104 200)(pt 104 184)(line_width 1))
		(unused)
	)
	(port
		(pt 0 176)
		(input)
		(text "cin" (rect 24 168 38 182)(font "Arial" (font_size 8)))
		(text "cin" (rect 20 168 36 182)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176))
		(unused)
	)
	(port
		(pt 136 96)
		(output)
		(text "q[LPM_WIDTH-1..0]" (rect 105 89 117 101)(font "Arial" (font_size 8)))
		(text "q[]" (rect 105 89 119 103)(font "Arial" (font_size 8)))
		(line (pt 120 96)(pt 136 96)(line_width 3))
		(unused)
	)
	(port
		(pt 136 112)
		(output)
		(text "eq[15..0]" (rect 99 105 117 117)(font "Arial" (font_size 8)))
		(text "eq[]" (rect 99 105 120 119)(font "Arial" (font_size 8)))
		(line (pt 120 112)(pt 136 112)(line_width 3))
		(unused)
	)
	(port
		(pt 136 128)
		(output)
		(text "cout" (rect 88 120 109 134)(font "Arial" (font_size 8)))
		(text "cout" (rect 96 120 120 134)(font "Arial" (font_size 8)))
		(line (pt 136 128)(pt 120 128))
	)
	(parameter
		"LPM_SVALUE"
		"5"
		"Unsigned value associated with the sset port"
	)
	(parameter
		"LPM_AVALUE"
		""
		"Unsigned value associated with the aset port"
	)
	(parameter
		"LPM_MODULUS"
		""
		"Optional counter wrap value"
	)
	(parameter
		"LPM_DIRECTION"
		"\"DOWN\""
		"Selects between up/down, up, or down"
		"\"DEFAULT\"" "\"UP\"" "\"DOWN\"" 
	)
	(parameter
		"LPM_WIDTH"
		"3"
		"Width of I/O, any integer > 0"
		" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64" 
	)
	(drawing
		(line (pt 16 184)(pt 120 184)(line_width 1))
		(line (pt 16 16)(pt 120 16)(line_width 1))

⌨️ 快捷键说明

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