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

📄 parallel_add0.bsf

📁 实现任意小数分频的VHDL源代码,我自己写的,仿真结果是正确的,希望对大家有用!我是打算将400M的时钟分为57.344M
💻 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-2007 Altera Corporation
Your use of Altera Corporation's design tools, logic functions 
and other software and tools, and its AMPP partner logic 
functions, and any output files from any of the foregoing 
(including device programming or simulation files), and any 
associated documentation or information are expressly subject 
to the terms and conditions of the Altera Program License 
Subscription Agreement, Altera MegaCore Function License 
Agreement, or other applicable license agreement, including, 
without limitation, that your use is for the sole purpose of 
programming logic devices manufactured by Altera and sold by 
Altera or its authorized distributors.  Please refer to the 
applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 0 0 272 160)
	(text "parallel_add0" (rect 98 0 187 16)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 144 25 156)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "data7x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data7x[15..0]" (rect 4 11 66 24)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 126 24)(line_width 3))
	)
	(port
		(pt 0 40)
		(input)
		(text "data6x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data6x[15..0]" (rect 4 27 66 40)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 126 40)(line_width 3))
	)
	(port
		(pt 0 56)
		(input)
		(text "data5x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data5x[15..0]" (rect 4 43 66 56)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 126 56)(line_width 3))
	)
	(port
		(pt 0 72)
		(input)
		(text "data4x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data4x[15..0]" (rect 4 59 66 72)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 126 72)(line_width 3))
	)
	(port
		(pt 0 88)
		(input)
		(text "data3x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data3x[15..0]" (rect 4 75 66 88)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 126 88)(line_width 3))
	)
	(port
		(pt 0 104)
		(input)
		(text "data2x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data2x[15..0]" (rect 4 91 66 104)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 126 104)(line_width 3))
	)
	(port
		(pt 0 120)
		(input)
		(text "data1x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data1x[15..0]" (rect 4 107 66 120)(font "Arial" (font_size 8)))
		(line (pt 0 120)(pt 126 120)(line_width 3))
	)
	(port
		(pt 0 136)
		(input)
		(text "data0x[15..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
		(text "data0x[15..0]" (rect 4 123 66 136)(font "Arial" (font_size 8)))
		(line (pt 0 136)(pt 126 136)(line_width 3))
	)
	(port
		(pt 272 80)
		(output)
		(text "result[15..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "result[15..0]" (rect 212 67 267 80)(font "Arial" (font_size 8)))
		(line (pt 272 80)(pt 181 80)(line_width 3))
	)
	(drawing
		(text "+" (rect 117 9 125 25)(font "Arial" (font_size 10)))
		(text "+" (rect 117 25 125 41)(font "Arial" (font_size 10)))
		(text "+" (rect 117 41 125 57)(font "Arial" (font_size 10)))
		(text "+" (rect 117 57 125 73)(font "Arial" (font_size 10)))
		(text "+" (rect 117 73 125 89)(font "Arial" (font_size 10)))
		(text "+" (rect 117 89 125 105)(font "Arial" (font_size 10)))
		(text "+" (rect 117 105 125 121)(font "Arial" (font_size 10)))
		(text "+" (rect 117 121 125 137)(font "Arial" (font_size 10)))
		(text "Input unsigned" (rect 204 141 265 153)(font "Arial" ))
		(line (pt 162 80)(pt 172 80)(line_width 1))
		(line (pt 162 80)(pt 162 90)(line_width 1))
		(line (pt 162 80)(pt 152 80)(line_width 1))
		(line (pt 162 80)(pt 162 70)(line_width 1))
		(line (pt 126 72)(pt 143 74)(line_width 1))
		(line (pt 126 88)(pt 143 86)(line_width 1))
		(line (pt 126 24)(pt 126 56)(line_width 1))
		(line (pt 126 56)(pt 151 64)(line_width 1))
		(line (pt 126 104)(pt 151 96)(line_width 1))
		(line (pt 126 136)(pt 126 104)(line_width 1))
		(line (pt 0 0)(pt 273 0)(line_width 1))
		(line (pt 273 0)(pt 273 161)(line_width 1))
		(line (pt 0 161)(pt 273 161)(line_width 1))
		(line (pt 0 0)(pt 0 161)(line_width 1))
		(circle (rect 142 60 182 100)(line_width 1))
	)
)

⌨️ 快捷键说明

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