date_main.bsf

来自「基于FPGA的多功能数字钟的设计与实现 内附有详尽的Verilog HDL源码」· BSF 代码 · 共 113 行

BSF
113
字号
/*
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 272 176)
	(text "date_main" (rect 5 0 62 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 144 25 156)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "Date_EN" (rect 0 0 48 14)(font "Arial" (font_size 8)))
		(text "Date_EN" (rect 21 27 69 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "date_disp_clk" (rect 0 0 77 14)(font "Arial" (font_size 8)))
		(text "date_disp_clk" (rect 21 43 98 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "day_EN" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "day_EN" (rect 21 59 64 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "Date_Set_EN" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "Date_Set_EN" (rect 21 75 95 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "SW1" (rect 0 0 27 14)(font "Arial" (font_size 8)))
		(text "SW1" (rect 21 91 48 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "SW2" (rect 0 0 27 14)(font "Arial" (font_size 8)))
		(text "SW2" (rect 21 107 48 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 256 32)
		(output)
		(text "month1[3..0]" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "month1[3..0]" (rect 166 27 235 41)(font "Arial" (font_size 8)))
		(line (pt 256 32)(pt 240 32)(line_width 3))
	)
	(port
		(pt 256 48)
		(output)
		(text "month0[3..0]" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "month0[3..0]" (rect 166 43 235 57)(font "Arial" (font_size 8)))
		(line (pt 256 48)(pt 240 48)(line_width 3))
	)
	(port
		(pt 256 64)
		(output)
		(text "day1[3..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
		(text "day1[3..0]" (rect 179 59 235 73)(font "Arial" (font_size 8)))
		(line (pt 256 64)(pt 240 64)(line_width 3))
	)
	(port
		(pt 256 80)
		(output)
		(text "day0[3..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
		(text "day0[3..0]" (rect 179 75 235 89)(font "Arial" (font_size 8)))
		(line (pt 256 80)(pt 240 80)(line_width 3))
	)
	(port
		(pt 256 96)
		(output)
		(text "Disp_select_date[5..0]" (rect 0 0 126 14)(font "Arial" (font_size 8)))
		(text "Disp_select_date[5..0]" (rect 109 91 235 105)(font "Arial" (font_size 8)))
		(line (pt 256 96)(pt 240 96)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 240 144)(line_width 1))
	)
)

⌨️ 快捷键说明

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