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

📄 shopping.bsf

📁 利用vhdl编写的商店的模型程序
💻 BSF
字号:
/*
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-2004 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 "symbol" (version "1.1"))
(symbol
	(rect 16 16 192 208)
	(text "shopping" (rect 5 0 48 12)(font "Arial" ))
	(text "inst" (rect 8 176 25 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 27 35 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "set" (rect 0 0 15 12)(font "Arial" ))
		(text "set" (rect 21 43 36 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "get" (rect 0 0 15 12)(font "Arial" ))
		(text "get" (rect 21 59 36 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "sel" (rect 0 0 14 12)(font "Arial" ))
		(text "sel" (rect 21 75 35 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "finish" (rect 0 0 27 12)(font "Arial" ))
		(text "finish" (rect 21 91 48 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "coin0" (rect 0 0 25 12)(font "Arial" ))
		(text "coin0" (rect 21 107 46 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "coin1" (rect 0 0 25 12)(font "Arial" ))
		(text "coin1" (rect 21 123 46 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 0 144)
		(input)
		(text "price[3..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "price[3..0]" (rect 21 139 70 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 3))
	)
	(port
		(pt 0 160)
		(input)
		(text "quantity[3..0]" (rect 0 0 66 12)(font "Arial" ))
		(text "quantity[3..0]" (rect 21 155 87 167)(font "Arial" ))
		(line (pt 0 160)(pt 16 160)(line_width 3))
	)
	(port
		(pt 176 32)
		(output)
		(text "item0[3..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "item0[3..0]" (rect 102 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(port
		(pt 176 48)
		(output)
		(text "act[3..0]" (rect 0 0 41 12)(font "Arial" ))
		(text "act[3..0]" (rect 114 43 155 55)(font "Arial" ))
		(line (pt 176 48)(pt 160 48)(line_width 3))
	)
	(port
		(pt 176 64)
		(output)
		(text "Seg7[7..0]" (rect 0 0 50 12)(font "Arial" ))
		(text "Seg7[7..0]" (rect 105 59 155 71)(font "Arial" ))
		(line (pt 176 64)(pt 160 64)(line_width 3))
	)
	(port
		(pt 176 80)
		(output)
		(text "Segslt[7..0]" (rect 0 0 56 12)(font "Arial" ))
		(text "Segslt[7..0]" (rect 99 75 155 87)(font "Arial" ))
		(line (pt 176 80)(pt 160 80)(line_width 3))
	)
	(port
		(pt 176 96)
		(output)
		(text "act10" (rect 0 0 27 12)(font "Arial" ))
		(text "act10" (rect 128 91 155 103)(font "Arial" ))
		(line (pt 176 96)(pt 160 96)(line_width 1))
	)
	(port
		(pt 176 112)
		(output)
		(text "act5" (rect 0 0 21 12)(font "Arial" ))
		(text "act5" (rect 134 107 155 119)(font "Arial" ))
		(line (pt 176 112)(pt 160 112)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 160 176)(line_width 1))
	)
)

⌨️ 快捷键说明

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