📄 ram2.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 64 64 304 280)
(text "ram2" (rect 106 1 140 17)(font "Arial" (font_size 10)))
(text "inst" (rect 8 200 25 212)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[7..0]" (rect 4 19 57 33)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 104 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "wraddress[10..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "wraddress[10..0]" (rect 4 35 103 49)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 104 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "wren" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "wren" (rect 4 51 34 65)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 104 64)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "rdaddress_a[10..0]" (rect 0 0 108 14)(font "Arial" (font_size 8)))
(text "rdaddress_a[10..0]" (rect 4 75 112 89)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 104 88)(line_width 3))
)
(port
(pt 0 104)
(input)
(text "rden_a" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "rden_a" (rect 4 91 44 105)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 104 104)(line_width 1))
)
(port
(pt 0 136)
(input)
(text "rdaddress_b[10..0]" (rect 0 0 108 14)(font "Arial" (font_size 8)))
(text "rdaddress_b[10..0]" (rect 4 123 112 137)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 104 136)(line_width 3))
)
(port
(pt 0 152)
(input)
(text "rden_b" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "rden_b" (rect 4 139 44 153)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 104 152)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "wrclock" (rect 0 0 46 14)(font "Arial" (font_size 8)))
(text "wrclock" (rect 4 163 50 177)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 94 176)(line_width 1))
)
(port
(pt 0 192)
(input)
(text "rdclock" (rect 0 0 41 14)(font "Arial" (font_size 8)))
(text "rdclock" (rect 4 179 45 193)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 176 192)(line_width 1))
)
(port
(pt 240 32)
(output)
(text "qa[7..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "qa[7..0]" (rect 201 19 243 33)(font "Arial" (font_size 8)))
(line (pt 240 32)(pt 192 32)(line_width 3))
)
(port
(pt 240 48)
(output)
(text "qb[7..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "qb[7..0]" (rect 201 35 243 49)(font "Arial" (font_size 8)))
(line (pt 240 48)(pt 192 48)(line_width 3))
)
(drawing
(text "8 bits" (rect 132 80 144 107)(font "Arial" )(vertical))
(text "2048 words" (rect 144 67 156 122)(font "Arial" )(vertical))
(line (pt 120 24)(pt 168 24)(line_width 1))
(line (pt 168 24)(pt 168 160)(line_width 1))
(line (pt 168 160)(pt 120 160)(line_width 1))
(line (pt 120 160)(pt 120 24)(line_width 1))
(line (pt 104 27)(pt 112 27)(line_width 1))
(line (pt 112 27)(pt 112 39)(line_width 1))
(line (pt 112 39)(pt 104 39)(line_width 1))
(line (pt 104 39)(pt 104 27)(line_width 1))
(line (pt 104 34)(pt 106 36)(line_width 1))
(line (pt 106 36)(pt 104 38)(line_width 1))
(line (pt 94 36)(pt 104 36)(line_width 1))
(line (pt 112 32)(pt 120 32)(line_width 3))
(line (pt 104 43)(pt 112 43)(line_width 1))
(line (pt 112 43)(pt 112 55)(line_width 1))
(line (pt 112 55)(pt 104 55)(line_width 1))
(line (pt 104 55)(pt 104 43)(line_width 1))
(line (pt 104 50)(pt 106 52)(line_width 1))
(line (pt 106 52)(pt 104 54)(line_width 1))
(line (pt 94 52)(pt 104 52)(line_width 1))
(line (pt 112 48)(pt 120 48)(line_width 3))
(line (pt 104 59)(pt 112 59)(line_width 1))
(line (pt 112 59)(pt 112 71)(line_width 1))
(line (pt 112 71)(pt 104 71)(line_width 1))
(line (pt 104 71)(pt 104 59)(line_width 1))
(line (pt 104 66)(pt 106 68)(line_width 1))
(line (pt 106 68)(pt 104 70)(line_width 1))
(line (pt 94 68)(pt 104 68)(line_width 1))
(line (pt 112 64)(pt 120 64)(line_width 1))
(line (pt 104 83)(pt 112 83)(line_width 1))
(line (pt 112 83)(pt 112 95)(line_width 1))
(line (pt 112 95)(pt 104 95)(line_width 1))
(line (pt 104 95)(pt 104 83)(line_width 1))
(line (pt 104 90)(pt 106 92)(line_width 1))
(line (pt 106 92)(pt 104 94)(line_width 1))
(line (pt 98 92)(pt 104 92)(line_width 1))
(line (pt 112 88)(pt 120 88)(line_width 3))
(line (pt 104 99)(pt 112 99)(line_width 1))
(line (pt 112 99)(pt 112 111)(line_width 1))
(line (pt 112 111)(pt 104 111)(line_width 1))
(line (pt 104 111)(pt 104 99)(line_width 1))
(line (pt 104 106)(pt 106 108)(line_width 1))
(line (pt 106 108)(pt 104 110)(line_width 1))
(line (pt 98 108)(pt 104 108)(line_width 1))
(line (pt 112 104)(pt 120 104)(line_width 1))
(line (pt 104 131)(pt 112 131)(line_width 1))
(line (pt 112 131)(pt 112 143)(line_width 1))
(line (pt 112 143)(pt 104 143)(line_width 1))
(line (pt 104 143)(pt 104 131)(line_width 1))
(line (pt 104 138)(pt 106 140)(line_width 1))
(line (pt 106 140)(pt 104 142)(line_width 1))
(line (pt 98 140)(pt 104 140)(line_width 1))
(line (pt 112 136)(pt 120 136)(line_width 3))
(line (pt 104 147)(pt 112 147)(line_width 1))
(line (pt 112 147)(pt 112 159)(line_width 1))
(line (pt 112 159)(pt 104 159)(line_width 1))
(line (pt 104 159)(pt 104 147)(line_width 1))
(line (pt 104 154)(pt 106 156)(line_width 1))
(line (pt 106 156)(pt 104 158)(line_width 1))
(line (pt 98 156)(pt 104 156)(line_width 1))
(line (pt 112 152)(pt 120 152)(line_width 1))
(line (pt 94 176)(pt 94 36)(line_width 1))
(line (pt 184 27)(pt 192 27)(line_width 1))
(line (pt 192 27)(pt 192 39)(line_width 1))
(line (pt 192 39)(pt 184 39)(line_width 1))
(line (pt 184 39)(pt 184 27)(line_width 1))
(line (pt 184 34)(pt 186 36)(line_width 1))
(line (pt 186 36)(pt 184 38)(line_width 1))
(line (pt 176 36)(pt 184 36)(line_width 1))
(line (pt 168 32)(pt 184 32)(line_width 3))
(line (pt 184 43)(pt 192 43)(line_width 1))
(line (pt 192 43)(pt 192 55)(line_width 1))
(line (pt 192 55)(pt 184 55)(line_width 1))
(line (pt 184 55)(pt 184 43)(line_width 1))
(line (pt 184 50)(pt 186 52)(line_width 1))
(line (pt 186 52)(pt 184 54)(line_width 1))
(line (pt 176 52)(pt 184 52)(line_width 1))
(line (pt 168 48)(pt 184 48)(line_width 3))
(line (pt 176 192)(pt 176 36)(line_width 1))
(line (pt 176 192)(pt 176 52)(line_width 1))
(line (pt 98 192)(pt 98 92)(line_width 1))
(circle (rect 96 190 100 194)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -