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

📄 ramtest.bdf

📁 实现了CPU的基本功能
💻 BDF
字号:
/*
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
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 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 "graphic" (version "1.3"))
(pin
	(input)
	(rect -72 200 96 216)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clock" (rect 5 0 30 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 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect -72 80 96 96)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "reset" (rect 5 0 29 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect -104 168 64 184)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "w" (rect 5 0 12 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 "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 224 288 240 456)
	(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
	(text "addr[7..0]" (rect 0 116 12 163)(font "Arial" )(vertical))
	(pt 8 0)
	(drawing
		(line (pt 12 76)(pt 12 51)(line_width 1))
		(line (pt 4 76)(pt 4 51)(line_width 1))
		(line (pt 8 47)(pt 8 0)(line_width 1))
		(line (pt 12 76)(pt 4 76)(line_width 1))
		(line (pt 4 51)(pt 8 47)(line_width 1))
		(line (pt 12 51)(pt 8 47)(line_width 1))
	)
	(rotate90)
	(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
	(input)
	(rect 560 304 576 472)
	(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
	(text "acc[15..0]" (rect 0 110 12 159)(font "Arial" )(vertical))
	(pt 8 0)
	(drawing
		(line (pt 12 76)(pt 12 51)(line_width 1))
		(line (pt 4 76)(pt 4 51)(line_width 1))
		(line (pt 8 47)(pt 8 0)(line_width 1))
		(line (pt 12 76)(pt 4 76)(line_width 1))
		(line (pt 4 51)(pt 8 47)(line_width 1))
		(line (pt 12 51)(pt 8 47)(line_width 1))
	)
	(rotate90)
	(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
	(input)
	(rect 528 304 544 472)
	(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
	(text "c11" (rect 0 110 12 127)(font "Arial" )(vertical))
	(pt 8 0)
	(drawing
		(line (pt 12 76)(pt 12 51)(line_width 1))
		(line (pt 4 76)(pt 4 51)(line_width 1))
		(line (pt 8 47)(pt 8 0)(line_width 1))
		(line (pt 12 76)(pt 4 76)(line_width 1))
		(line (pt 4 51)(pt 8 47)(line_width 1))
		(line (pt 12 51)(pt 8 47)(line_width 1))
	)
	(rotate90)
	(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
	(input)
	(rect 496 312 512 480)
	(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
	(text "c3" (rect 0 116 12 127)(font "Arial" )(vertical))
	(pt 8 0)
	(drawing
		(line (pt 12 76)(pt 12 51)(line_width 1))
		(line (pt 4 76)(pt 4 51)(line_width 1))
		(line (pt 8 47)(pt 8 0)(line_width 1))
		(line (pt 12 76)(pt 4 76)(line_width 1))
		(line (pt 4 51)(pt 8 47)(line_width 1))
		(line (pt 12 51)(pt 8 47)(line_width 1))
	)
	(rotate90)
	(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
)
(pin
	(output)
	(rect 984 80 1160 96)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "mbr[15..0]" (rect 90 0 140 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 576 56 784 216)
	(text "MBR" (rect 5 0 28 12)(font "Arial" ))
	(text "inst1" (rect 8 144 31 156)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 27 45 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 43 35 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "C3" (rect 0 0 14 12)(font "Arial" ))
		(text "C3" (rect 21 59 35 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "C11" (rect 0 0 20 12)(font "Arial" ))
		(text "C11" (rect 21 75 41 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "MEM_DATA[15..0]" (rect 0 0 89 12)(font "Arial" ))
		(text "MEM_DATA[15..0]" (rect 21 91 110 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "ACC_DATA[15..0]" (rect 0 0 89 12)(font "Arial" ))
		(text "ACC_DATA[15..0]" (rect 21 107 110 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 208 32)
		(output)
		(text "output[15..0]" (rect 0 0 62 12)(font "Arial" ))
		(text "output[15..0]" (rect 125 27 187 39)(font "Arial" ))
		(line (pt 208 32)(pt 192 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 192 144)(line_width 1))
	)
)
(symbol
	(rect 320 120 480 240)
	(text "ram" (rect 69 1 94 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 104 25 116)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[15..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "data[15..0]" (rect 20 26 80 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 56)
		(input)
		(text "we" (rect 0 0 18 14)(font "Arial" (font_size 8)))
		(text "we" (rect 20 50 38 64)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "address[7..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "address[7..0]" (rect 20 66 95 80)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 3))
	)
	(port
		(pt 0 88)
		(input)
		(text "inclock" (rect 0 0 38 14)(font "Arial" (font_size 8)))
		(text "inclock" (rect 26 82 64 96)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 16 88)(line_width 1))
	)
	(port
		(pt 160 32)
		(output)
		(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "q[15..0]" (rect 105 26 147 40)(font "Arial" (font_size 8)))
		(line (pt 160 32)(pt 144 32)(line_width 3))
	)
	(drawing
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 144 16)(pt 144 104)(line_width 1))
		(line (pt 144 104)(pt 16 104)(line_width 1))
		(line (pt 16 104)(pt 16 16)(line_width 1))
		(line (pt 16 82)(pt 22 88)(line_width 1))
		(line (pt 22 88)(pt 16 94)(line_width 1))
	)
)
(connector
	(pt 480 152)
	(pt 576 152)
	(bus)
)
(connector
	(pt 576 104)
	(pt 272 104)
)
(connector
	(pt 96 88)
	(pt 576 88)
)
(connector
	(pt 64 176)
	(pt 320 176)
)
(connector
	(pt 320 152)
	(pt 232 152)
	(bus)
)
(connector
	(pt 832 88)
	(pt 832 0)
	(bus)
)
(connector
	(pt 232 152)
	(pt 232 0)
	(bus)
)
(connector
	(pt 232 0)
	(pt 832 0)
	(bus)
)
(connector
	(pt 320 192)
	(pt 232 192)
	(bus)
)
(connector
	(pt 576 168)
	(pt 568 168)
	(bus)
)
(connector
	(pt 576 136)
	(pt 536 136)
)
(connector
	(pt 576 120)
	(pt 504 120)
)
(connector
	(pt 232 288)
	(pt 232 192)
	(bus)
)
(connector
	(pt 504 312)
	(pt 504 120)
)
(connector
	(pt 536 304)
	(pt 536 136)
)
(connector
	(pt 568 304)
	(pt 568 168)
	(bus)
)
(connector
	(pt 784 88)
	(pt 832 88)
	(bus)
)
(connector
	(pt 832 88)
	(pt 984 88)
	(bus)
)
(connector
	(pt 272 104)
	(pt 272 208)
)
(connector
	(pt 96 208)
	(pt 272 208)
)
(connector
	(pt 272 208)
	(pt 320 208)
)
(junction (pt 832 88))
(junction (pt 272 208))

⌨️ 快捷键说明

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