📄 sdram_control.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-2006 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"))
(symbol
(rect 120 64 344 288)
(text "sdr_sdram" (rect 5 0 56 12)(font "Arial" ))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "RESET_N" (rect 0 0 49 12)(font "Arial" ))
(text "RESET_N" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "ADDR[21-1..0]" (rect 0 0 73 12)(font "Arial" ))
(text "ADDR[21-1..0]" (rect 21 59 94 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "CMD[2..0]" (rect 0 0 50 12)(font "Arial" ))
(text "CMD[2..0]" (rect 21 75 71 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "DATAIN[32-1..0]" (rect 0 0 81 12)(font "Arial" ))
(text "DATAIN[32-1..0]" (rect 21 91 102 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 224 32)
(output)
(text "CMDACK" (rect 0 0 47 12)(font "Arial" ))
(text "CMDACK" (rect 156 27 203 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 1))
)
(port
(pt 224 48)
(output)
(text "DATAOUT[32-1..0]" (rect 0 0 92 12)(font "Arial" ))
(text "DATAOUT[32-1..0]" (rect 111 43 203 55)(font "Arial" ))
(line (pt 224 48)(pt 208 48)(line_width 3))
)
(port
(pt 224 64)
(output)
(text "SA[11..0]" (rect 0 0 46 12)(font "Arial" ))
(text "SA[11..0]" (rect 157 59 203 71)(font "Arial" ))
(line (pt 224 64)(pt 208 64)(line_width 3))
)
(port
(pt 224 80)
(output)
(text "BA[1..0]" (rect 0 0 40 12)(font "Arial" ))
(text "BA[1..0]" (rect 163 75 203 87)(font "Arial" ))
(line (pt 224 80)(pt 208 80)(line_width 3))
)
(port
(pt 224 96)
(output)
(text "CS_N" (rect 0 0 29 12)(font "Arial" ))
(text "CS_N" (rect 174 91 203 103)(font "Arial" ))
(line (pt 224 96)(pt 208 96)(line_width 1))
)
(port
(pt 224 112)
(output)
(text "CKE" (rect 0 0 22 12)(font "Arial" ))
(text "CKE" (rect 181 107 203 119)(font "Arial" ))
(line (pt 224 112)(pt 208 112)(line_width 1))
)
(port
(pt 224 128)
(output)
(text "RAS_N" (rect 0 0 36 12)(font "Arial" ))
(text "RAS_N" (rect 167 123 203 135)(font "Arial" ))
(line (pt 224 128)(pt 208 128)(line_width 1))
)
(port
(pt 224 144)
(output)
(text "CAS_N" (rect 0 0 36 12)(font "Arial" ))
(text "CAS_N" (rect 167 139 203 151)(font "Arial" ))
(line (pt 224 144)(pt 208 144)(line_width 1))
)
(port
(pt 224 160)
(output)
(text "WE_N" (rect 0 0 31 12)(font "Arial" ))
(text "WE_N" (rect 172 155 203 167)(font "Arial" ))
(line (pt 224 160)(pt 208 160)(line_width 1))
)
(port
(pt 224 176)
(bidir)
(text "DQ[32-1..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DQ[32-1..0]" (rect 146 171 203 183)(font "Arial" ))
(line (pt 224 176)(pt 208 176)(line_width 3))
)
(drawing
(rectangle (rect 16 16 208 208)(line_width 1))
)
)
(symbol
(rect 592 88 816 216)
(text "sdr_data_path" (rect 5 0 74 12)(font "Arial" ))
(text "inst1" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "RESET_N" (rect 0 0 49 12)(font "Arial" ))
(text "RESET_N" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "OE[32/8-1..0]" (rect 0 0 66 12)(font "Arial" ))
(text "OE[32/8-1..0]" (rect 21 59 87 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "DATAIN[32-1..0]" (rect 0 0 81 12)(font "Arial" ))
(text "DATAIN[32-1..0]" (rect 21 75 102 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "DQIN[32-1..0]" (rect 0 0 69 12)(font "Arial" ))
(text "DQIN[32-1..0]" (rect 21 91 90 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 224 32)
(output)
(text "DATAOUT[32-1..0]" (rect 0 0 92 12)(font "Arial" ))
(text "DATAOUT[32-1..0]" (rect 111 27 203 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 3))
)
(port
(pt 224 48)
(output)
(text "DQOUT[32-1..0]" (rect 0 0 80 12)(font "Arial" ))
(text "DQOUT[32-1..0]" (rect 123 43 203 55)(font "Arial" ))
(line (pt 224 48)(pt 208 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 208 112)(line_width 1))
)
)
(symbol
(rect 552 424 760 712)
(text "control_interface" (rect 5 0 87 12)(font "Arial" ))
(text "inst2" (rect 8 272 31 284)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "RESET_N" (rect 0 0 49 12)(font "Arial" ))
(text "RESET_N" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CMD[2..0]" (rect 0 0 50 12)(font "Arial" ))
(text "CMD[2..0]" (rect 21 59 71 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "ADDR[21-1..0]" (rect 0 0 73 12)(font "Arial" ))
(text "ADDR[21-1..0]" (rect 21 75 94 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "REF_ACK" (rect 0 0 50 12)(font "Arial" ))
(text "REF_ACK" (rect 21 91 71 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "CM_ACK" (rect 0 0 44 12)(font "Arial" ))
(text "CM_ACK" (rect 21 107 65 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 208 32)
(output)
(text "NOP" (rect 0 0 23 12)(font "Arial" ))
(text "NOP" (rect 164 27 187 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 1))
)
(port
(pt 208 48)
(output)
(text "READA" (rect 0 0 37 12)(font "Arial" ))
(text "READA" (rect 150 43 187 55)(font "Arial" ))
(line (pt 208 48)(pt 192 48)(line_width 1))
)
(port
(pt 208 64)
(output)
(text "WRITEA" (rect 0 0 42 12)(font "Arial" ))
(text "WRITEA" (rect 145 59 187 71)(font "Arial" ))
(line (pt 208 64)(pt 192 64)(line_width 1))
)
(port
(pt 208 80)
(output)
(text "REFRESH" (rect 0 0 53 12)(font "Arial" ))
(text "REFRESH" (rect 134 75 187 87)(font "Arial" ))
(line (pt 208 80)(pt 192 80)(line_width 1))
)
(port
(pt 208 96)
(output)
(text "PRECHARGE" (rect 0 0 69 12)(font "Arial" ))
(text "PRECHARGE" (rect 118 91 187 103)(font "Arial" ))
(line (pt 208 96)(pt 192 96)(line_width 1))
)
(port
(pt 208 112)
(output)
(text "LOAD_MODE" (rect 0 0 67 12)(font "Arial" ))
(text "LOAD_MODE" (rect 120 107 187 119)(font "Arial" ))
(line (pt 208 112)(pt 192 112)(line_width 1))
)
(port
(pt 208 128)
(output)
(text "SADDR[21-1..0]" (rect 0 0 80 12)(font "Arial" ))
(text "SADDR[21-1..0]" (rect 107 123 187 135)(font "Arial" ))
(line (pt 208 128)(pt 192 128)(line_width 3))
)
(port
(pt 208 144)
(output)
(text "SC_CL[1..0]" (rect 0 0 61 12)(font "Arial" ))
(text "SC_CL[1..0]" (rect 126 139 187 151)(font "Arial" ))
(line (pt 208 144)(pt 192 144)(line_width 3))
)
(port
(pt 208 160)
(output)
(text "SC_RC[1..0]" (rect 0 0 63 12)(font "Arial" ))
(text "SC_RC[1..0]" (rect 124 155 187 167)(font "Arial" ))
(line (pt 208 160)(pt 192 160)(line_width 3))
)
(port
(pt 208 176)
(output)
(text "SC_RRD[3..0]" (rect 0 0 71 12)(font "Arial" ))
(text "SC_RRD[3..0]" (rect 116 171 187 183)(font "Arial" ))
(line (pt 208 176)(pt 192 176)(line_width 3))
)
(port
(pt 208 192)
(output)
(text "SC_PM" (rect 0 0 36 12)(font "Arial" ))
(text "SC_PM" (rect 151 187 187 199)(font "Arial" ))
(line (pt 208 192)(pt 192 192)(line_width 1))
)
(port
(pt 208 208)
(output)
(text "SC_BL[3..0]" (rect 0 0 60 12)(font "Arial" ))
(text "SC_BL[3..0]" (rect 127 203 187 215)(font "Arial" ))
(line (pt 208 208)(pt 192 208)(line_width 3))
)
(port
(pt 208 224)
(output)
(text "REF_REQ" (rect 0 0 51 12)(font "Arial" ))
(text "REF_REQ" (rect 136 219 187 231)(font "Arial" ))
(line (pt 208 224)(pt 192 224)(line_width 1))
)
(port
(pt 208 240)
(output)
(text "CMD_ACK" (rect 0 0 53 12)(font "Arial" ))
(text "CMD_ACK" (rect 134 235 187 247)(font "Arial" ))
(line (pt 208 240)(pt 192 240)(line_width 1))
)
(drawing
(rectangle (rect 16 16 192 272)(line_width 1))
)
)
(symbol
(rect -16 584 184 872)
(text "command" (rect 5 0 53 12)(font "Arial" ))
(text "inst3" (rect 8 272 31 284)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "RESET_N" (rect 0 0 49 12)(font "Arial" ))
(text "RESET_N" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "SADDR[21-1..0]" (rect 0 0 80 12)(font "Arial" ))
(text "SADDR[21-1..0]" (rect 21 59 101 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "NOP" (rect 0 0 23 12)(font "Arial" ))
(text "NOP" (rect 21 75 44 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "READA" (rect 0 0 37 12)(font "Arial" ))
(text "READA" (rect 21 91 58 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "WRITEA" (rect 0 0 42 12)(font "Arial" ))
(text "WRITEA" (rect 21 107 63 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "REFRESH" (rect 0 0 53 12)(font "Arial" ))
(text "REFRESH" (rect 21 123 74 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "PRECHARGE" (rect 0 0 69 12)(font "Arial" ))
(text "PRECHARGE" (rect 21 139 90 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "LOAD_MODE" (rect 0 0 67 12)(font "Arial" ))
(text "LOAD_MODE" (rect 21 155 88 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "SC_CL[1..0]" (rect 0 0 61 12)(font "Arial" ))
(text "SC_CL[1..0]" (rect 21 171 82 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 0 192)
(input)
(text "SC_RC[1..0]" (rect 0 0 63 12)(font "Arial" ))
(text "SC_RC[1..0]" (rect 21 187 84 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 3))
)
(port
(pt 0 208)
(input)
(text "SC_RRD[3..0]" (rect 0 0 71 12)(font "Arial" ))
(text "SC_RRD[3..0]" (rect 21 203 92 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 0 224)
(input)
(text "SC_PM" (rect 0 0 36 12)(font "Arial" ))
(text "SC_PM" (rect 21 219 57 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 1))
)
(port
(pt 0 240)
(input)
(text "SC_BL[3..0]" (rect 0 0 60 12)(font "Arial" ))
(text "SC_BL[3..0]" (rect 21 235 81 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 3))
)
(port
(pt 0 256)
(input)
(text "REF_REQ" (rect 0 0 51 12)(font "Arial" ))
(text "REF_REQ" (rect 21 251 72 263)(font "Arial" ))
(line (pt 0 256)(pt 16 256)(line_width 1))
)
(port
(pt 200 32)
(output)
(text "REF_ACK" (rect 0 0 50 12)(font "Arial" ))
(text "REF_ACK" (rect 129 27 179 39)(font "Arial" ))
(line (pt 200 32)(pt 184 32)(line_width 1))
)
(port
(pt 200 48)
(output)
(text "CM_ACK" (rect 0 0 44 12)(font "Arial" ))
(text "CM_ACK" (rect 135 43 179 55)(font "Arial" ))
(line (pt 200 48)(pt 184 48)(line_width 1))
)
(port
(pt 200 64)
(output)
(text "OE[32/8-1..0]" (rect 0 0 66 12)(font "Arial" ))
(text "OE[32/8-1..0]" (rect 113 59 179 71)(font "Arial" ))
(line (pt 200 64)(pt 184 64)(line_width 3))
)
(port
(pt 200 80)
(output)
(text "SA[11..0]" (rect 0 0 46 12)(font "Arial" ))
(text "SA[11..0]" (rect 133 75 179 87)(font "Arial" ))
(line (pt 200 80)(pt 184 80)(line_width 3))
)
(port
(pt 200 96)
(output)
(text "BA[1..0]" (rect 0 0 40 12)(font "Arial" ))
(text "BA[1..0]" (rect 139 91 179 103)(font "Arial" ))
(line (pt 200 96)(pt 184 96)(line_width 3))
)
(port
(pt 200 112)
(output)
(text "CS_N" (rect 0 0 29 12)(font "Arial" ))
(text "CS_N" (rect 150 107 179 119)(font "Arial" ))
(line (pt 200 112)(pt 184 112)(line_width 1))
)
(port
(pt 200 128)
(output)
(text "CKE" (rect 0 0 22 12)(font "Arial" ))
(text "CKE" (rect 157 123 179 135)(font "Arial" ))
(line (pt 200 128)(pt 184 128)(line_width 1))
)
(port
(pt 200 144)
(output)
(text "RAS_N" (rect 0 0 36 12)(font "Arial" ))
(text "RAS_N" (rect 143 139 179 151)(font "Arial" ))
(line (pt 200 144)(pt 184 144)(line_width 1))
)
(port
(pt 200 160)
(output)
(text "CAS_N" (rect 0 0 36 12)(font "Arial" ))
(text "CAS_N" (rect 143 155 179 167)(font "Arial" ))
(line (pt 200 160)(pt 184 160)(line_width 1))
)
(port
(pt 200 176)
(output)
(text "WE_N" (rect 0 0 31 12)(font "Arial" ))
(text "WE_N" (rect 148 171 179 183)(font "Arial" ))
(line (pt 200 176)(pt 184 176)(line_width 1))
)
(drawing
(rectangle (rect 16 16 184 272)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -