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

📄 single_transaction_slave.bsf

📁 altera epxa1的例子程序
💻 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-2002 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 240 272)
	(text "single_transaction_slave" (rect 5 0 118 12)(font "Arial" ))
	(text "inst" (rect 8 240 24 252)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "HSEL" (rect 0 0 26 12)(font "Arial" ))
		(text "HSEL" (rect 21 27 47 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "HADDRESS[31..0]" (rect 0 0 86 12)(font "Arial" ))
		(text "HADDRESS[31..0]" (rect 21 43 107 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "HWDATA[31..0]" (rect 0 0 73 12)(font "Arial" ))
		(text "HWDATA[31..0]" (rect 21 59 94 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "HWRITE" (rect 0 0 40 12)(font "Arial" ))
		(text "HWRITE" (rect 21 75 61 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "HTRANS[1..0]" (rect 0 0 66 12)(font "Arial" ))
		(text "HTRANS[1..0]" (rect 21 91 87 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "HSIZE[1..0]" (rect 0 0 55 12)(font "Arial" ))
		(text "HSIZE[1..0]" (rect 21 107 76 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 0 128)
		(input)
		(text "HBURST[2..0]" (rect 0 0 66 12)(font "Arial" ))
		(text "HBURST[2..0]" (rect 21 123 87 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 3))
	)
	(port
		(pt 0 144)
		(input)
		(text "HRESETn" (rect 0 0 46 12)(font "Arial" ))
		(text "HRESETn" (rect 21 139 67 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 1))
	)
	(port
		(pt 0 160)
		(input)
		(text "HCLOCK" (rect 0 0 42 12)(font "Arial" ))
		(text "HCLOCK" (rect 21 155 63 167)(font "Arial" ))
		(line (pt 0 160)(pt 16 160)(line_width 1))
	)
	(port
		(pt 0 176)
		(input)
		(text "reg_rdata[31..0]" (rect 0 0 72 12)(font "Arial" ))
		(text "reg_rdata[31..0]" (rect 21 171 93 183)(font "Arial" ))
		(line (pt 0 176)(pt 16 176)(line_width 3))
	)
	(port
		(pt 0 192)
		(input)
		(text "wait_sig" (rect 0 0 36 12)(font "Arial" ))
		(text "wait_sig" (rect 21 187 57 199)(font "Arial" ))
		(line (pt 0 192)(pt 16 192)(line_width 1))
	)
	(port
		(pt 0 208)
		(input)
		(text "HREADY_in" (rect 0 0 57 12)(font "Arial" ))
		(text "HREADY_in" (rect 21 203 78 215)(font "Arial" ))
		(line (pt 0 208)(pt 16 208)(line_width 1))
	)
	(port
		(pt 224 32)
		(output)
		(text "HRESP[1..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "HRESP[1..0]" (rect 144 27 203 39)(font "Arial" ))
		(line (pt 224 32)(pt 208 32)(line_width 3))
	)
	(port
		(pt 224 48)
		(output)
		(text "HRDATA[31..0]" (rect 0 0 71 12)(font "Arial" ))
		(text "HRDATA[31..0]" (rect 132 43 203 55)(font "Arial" ))
		(line (pt 224 48)(pt 208 48)(line_width 3))
	)
	(port
		(pt 224 64)
		(output)
		(text "HREADY" (rect 0 0 44 12)(font "Arial" ))
		(text "HREADY" (rect 159 59 203 71)(font "Arial" ))
		(line (pt 224 64)(pt 208 64)(line_width 1))
	)
	(port
		(pt 224 80)
		(output)
		(text "reg_wdata[31..0]" (rect 0 0 75 12)(font "Arial" ))
		(text "reg_wdata[31..0]" (rect 128 75 203 87)(font "Arial" ))
		(line (pt 224 80)(pt 208 80)(line_width 3))
	)
	(port
		(pt 224 96)
		(output)
		(text "reg_address[31..0]" (rect 0 0 85 12)(font "Arial" ))
		(text "reg_address[31..0]" (rect 118 91 203 103)(font "Arial" ))
		(line (pt 224 96)(pt 208 96)(line_width 3))
	)
	(port
		(pt 224 112)
		(output)
		(text "reg_write" (rect 0 0 40 12)(font "Arial" ))
		(text "reg_write" (rect 163 107 203 119)(font "Arial" ))
		(line (pt 224 112)(pt 208 112)(line_width 1))
	)
	(port
		(pt 224 128)
		(output)
		(text "clock_en" (rect 0 0 40 12)(font "Arial" ))
		(text "clock_en" (rect 163 123 203 135)(font "Arial" ))
		(line (pt 224 128)(pt 208 128)(line_width 1))
	)
	(parameter
		"ADDRESS_PHASE"
		"B\"00\""
		""
	)
	(parameter
		"DATA_PHASE"
		"B\"10\""
		""
	)
	(parameter
		"ERROR_PHASE"
		"B\"01\""
		""
	)
	(parameter
		"WAIT_PHASE"
		"B\"11\""
		""
	)
	(drawing
		(rectangle (rect 16 16 208 240)(line_width 1))
	)
	(annotation_block (parameter)(rect 240 -64 340 16))
)

⌨️ 快捷键说明

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