ELEC60011-DSD-CW/system_template_de1_soc/hello_world.bdf

515 lines
14 KiB
Plaintext

/*
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) 2020 Intel Corporation. All rights reserved.
Your use of Intel Corporation's design tools, logic functions
and other software and tools, and any 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 Intel Program License
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel FPGA IP License Agreement, or other applicable license
agreement, including, without limitation, that your use is for
the sole purpose of programming logic devices manufactured by
Intel and sold by Intel or its authorized distributors. Please
refer to the applicable agreement for further details, at
https://fpgasoftware.intel.com/eula.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect -24 8 152 24)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "iCLK_50" (rect 9 0 50 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -24 24 40 40))
)
(pin
(output)
(rect 160 112 336 128)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "oLEDG[7..0]" (rect 25 0 86 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8))
(line (pt 124 4)(pt 98 4))
(line (pt 124 12)(pt 98 12))
(line (pt 124 12)(pt 124 4))
(line (pt 98 4)(pt 94 8))
(line (pt 94 8)(pt 98 12))
(line (pt 98 12)(pt 94 8))
)
(flipy)
(annotation_block (location)(rect 160 128 224 144))
)
(pin
(output)
(rect 152 208 336 224)
(text "OUTPUT" (rect 145 0 183 10)(font "Arial" (font_size 6)))
(text "oDRAM_BA[1..0] " (rect 5 0 92 12)(font "Arial" ))
(pt 184 8)
(drawing
(line (pt 184 8)(pt 132 8))
(line (pt 132 4)(pt 106 4))
(line (pt 132 12)(pt 106 12))
(line (pt 132 12)(pt 132 4))
(line (pt 106 4)(pt 102 8))
(line (pt 102 8)(pt 106 12))
(line (pt 106 12)(pt 102 8))
)
(flipy)
(annotation_block (location)(rect 80 224 144 240))
)
(pin
(output)
(rect 160 224 336 240)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "oDRAM_CAS_N" (rect 5 0 85 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8))
(line (pt 124 4)(pt 98 4))
(line (pt 124 12)(pt 98 12))
(line (pt 124 12)(pt 124 4))
(line (pt 98 4)(pt 94 8))
(line (pt 94 8)(pt 98 12))
(line (pt 98 12)(pt 94 8))
)
(flipy)
(annotation_block (location)(rect 80 240 144 256))
)
(pin
(output)
(rect 160 240 336 256)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "oDRAM_CKE" (rect 5 0 71 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8))
(line (pt 124 4)(pt 98 4))
(line (pt 124 12)(pt 98 12))
(line (pt 124 12)(pt 124 4))
(line (pt 98 4)(pt 94 8))
(line (pt 94 8)(pt 98 12))
(line (pt 98 12)(pt 94 8))
)
(flipy)
(annotation_block (location)(rect 80 256 144 272))
)
(pin
(output)
(rect 160 256 336 272)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "oDRAM_CS_N" (rect 5 0 78 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8))
(line (pt 124 4)(pt 98 4))
(line (pt 124 12)(pt 98 12))
(line (pt 124 12)(pt 124 4))
(line (pt 98 4)(pt 94 8))
(line (pt 94 8)(pt 98 12))
(line (pt 98 12)(pt 94 8))
)
(flipy)
(annotation_block (location)(rect 80 272 136 288))
)
(pin
(output)
(rect 160 304 336 320)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "oDRAM_RAS_N" (rect 5 0 85 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8))
(line (pt 124 4)(pt 98 4))
(line (pt 124 12)(pt 98 12))
(line (pt 124 12)(pt 124 4))
(line (pt 98 4)(pt 94 8))
(line (pt 94 8)(pt 98 12))
(line (pt 98 12)(pt 94 8))
)
(flipy)
(annotation_block (location)(rect 80 320 136 336))
)
(pin
(output)
(rect 160 320 336 336)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "oDRAM_WE_N" (rect 5 0 80 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8))
(line (pt 124 4)(pt 98 4))
(line (pt 124 12)(pt 98 12))
(line (pt 124 12)(pt 124 4))
(line (pt 98 4)(pt 94 8))
(line (pt 94 8)(pt 98 12))
(line (pt 98 12)(pt 94 8))
)
(flipy)
(annotation_block (location)(rect 80 336 136 352))
)
(pin
(output)
(rect 144 88 320 104)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "oDRAM_CLK" (rect 5 0 69 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8))
(line (pt 124 4)(pt 98 4))
(line (pt 124 12)(pt 98 12))
(line (pt 124 12)(pt 124 4))
(line (pt 98 4)(pt 94 8))
(line (pt 94 8)(pt 98 12))
(line (pt 98 12)(pt 94 8))
)
(flipy)
(annotation_block (location)(rect 88 128 152 144))
)
(pin
(output)
(rect 152 192 336 208)
(text "OUTPUT" (rect 145 0 183 10)(font "Arial" (font_size 6)))
(text "oDRAM_A[11..0] " (rect 5 0 91 12)(font "Arial" ))
(pt 184 8)
(drawing
(line (pt 184 8)(pt 132 8))
(line (pt 132 4)(pt 106 4))
(line (pt 132 12)(pt 106 12))
(line (pt 132 12)(pt 132 4))
(line (pt 106 4)(pt 102 8))
(line (pt 102 8)(pt 106 12))
(line (pt 106 12)(pt 102 8))
)
(flipy)
(annotation_block (location)(rect 80 208 144 224))
)
(pin
(output)
(rect 144 288 336 304)
(text "OUTPUT" (rect 153 0 191 10)(font "Arial" (font_size 6)))
(text "oDRAM_DQM[1..0]" (rect 5 0 99 12)(font "Arial" ))
(pt 192 8)
(drawing
(line (pt 192 8)(pt 140 8))
(line (pt 140 4)(pt 114 4))
(line (pt 140 12)(pt 114 12))
(line (pt 140 12)(pt 140 4))
(line (pt 114 4)(pt 110 8))
(line (pt 110 8)(pt 114 12))
(line (pt 114 12)(pt 110 8))
)
(flipy)
(annotation_block (location)(rect 8 296 72 336))
)
(pin
(bidir)
(rect 152 272 336 288)
(text "BIDIR" (rect 159 0 183 10)(font "Arial" (font_size 6)))
(text "DRAM_DQ[15..0] " (rect 5 0 94 12)(font "Arial" ))
(pt 184 8)
(drawing
(line (pt 128 4)(pt 106 4))
(line (pt 184 8)(pt 132 8))
(line (pt 128 12)(pt 106 12))
(line (pt 106 4)(pt 102 8))
(line (pt 106 12)(pt 102 8))
(line (pt 128 4)(pt 132 8))
(line (pt 132 8)(pt 128 12))
)
(flipy)
(text "VCC" (rect 160 7 180 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 80 288 144 304))
)
(symbol
(rect 312 144 344 160)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 5 25 22)(font "Intel Clear" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 160 -56 320 88)
(text "pll" (rect 74 -1 89 15)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 128 30 145)(font "Intel Clear" ))
(port
(pt 0 72)
(input)
(text "refclk" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "refclk" (rect 4 61 35 75)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 48 72))
)
(port
(pt 0 112)
(input)
(text "rst" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "rst" (rect 4 101 19 115)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 48 112))
)
(port
(pt 160 72)
(output)
(text "outclk_0" (rect 0 0 47 14)(font "Arial" (font_size 8)))
(text "outclk_0" (rect 117 61 164 75)(font "Arial" (font_size 8)))
(line (pt 160 72)(pt 112 72))
)
(port
(pt 160 112)
(output)
(text "outclk_1" (rect 0 0 47 14)(font "Arial" (font_size 8)))
(text "outclk_1" (rect 119 101 166 115)(font "Arial" (font_size 8)))
(line (pt 160 112)(pt 112 112))
)
(drawing
(text "refclk" (rect 16 43 50 58)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 53 67 67 79)(font "Arial" (color 0 0 0)))
(text "reset" (rect 19 83 52 98)(font "Arial" (color 128 0 0)(font_size 9)))
(text "reset" (rect 53 107 77 119)(font "Arial" (color 0 0 0)))
(text "outclk0" (rect 113 43 159 58)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 97 67 111 79)(font "Arial" (color 0 0 0)))
(text "outclk1" (rect 113 83 159 98)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 97 107 111 119)(font "Arial" (color 0 0 0)))
(text " altera_pll " (rect 118 128 168 140)(font "Arial" ))
(line (pt 48 32)(pt 112 32))
(line (pt 112 32)(pt 112 128))
(line (pt 48 128)(pt 112 128))
(line (pt 48 32)(pt 48 128))
(line (pt 49 52)(pt 49 76))
(line (pt 50 52)(pt 50 76))
(line (pt 49 92)(pt 49 116))
(line (pt 50 92)(pt 50 116))
(line (pt 111 52)(pt 111 76))
(line (pt 110 52)(pt 110 76))
(line (pt 111 92)(pt 111 116))
(line (pt 110 92)(pt 110 116))
(line (pt 0 0)(pt 160 0))
(line (pt 160 0)(pt 160 144))
(line (pt 0 144)(pt 160 144))
(line (pt 0 0)(pt 0 144))
)
)
(symbol
(rect 344 8 856 360)
(text "first_nios2_system" (rect 200 -1 328 15)(font "Arial" (font_size 10)))
(text "inst" (rect 8 336 25 348)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "clk_clk" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "clk_clk" (rect 4 61 41 75)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 224 72))
)
(port
(pt 0 152)
(input)
(text "reset_reset_n" (rect 0 0 80 14)(font "Arial" (font_size 8)))
(text "reset_reset_n" (rect 4 141 84 155)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 224 152))
)
(port
(pt 0 112)
(output)
(text "led_pio_external_connection_export[7..0]" (rect 0 0 234 14)(font "Arial" (font_size 8)))
(text "led_pio_external_connection_export[7..0]" (rect 4 101 238 115)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 224 112)(line_width 3))
)
(port
(pt 0 192)
(output)
(text "sdram_wire_addr[11..0]" (rect 0 0 136 14)(font "Arial" (font_size 8)))
(text "sdram_wire_addr[11..0]" (rect 4 181 140 195)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 224 192)(line_width 3))
)
(port
(pt 0 208)
(output)
(text "sdram_wire_ba[1..0]" (rect 0 0 118 14)(font "Arial" (font_size 8)))
(text "sdram_wire_ba[1..0]" (rect 4 197 122 211)(font "Arial" (font_size 8)))
(line (pt 0 208)(pt 224 208)(line_width 3))
)
(port
(pt 0 224)
(output)
(text "sdram_wire_cas_n" (rect 0 0 110 14)(font "Arial" (font_size 8)))
(text "sdram_wire_cas_n" (rect 4 213 114 227)(font "Arial" (font_size 8)))
(line (pt 0 224)(pt 224 224))
)
(port
(pt 0 240)
(output)
(text "sdram_wire_cke" (rect 0 0 95 14)(font "Arial" (font_size 8)))
(text "sdram_wire_cke" (rect 4 229 99 243)(font "Arial" (font_size 8)))
(line (pt 0 240)(pt 224 240))
)
(port
(pt 0 256)
(output)
(text "sdram_wire_cs_n" (rect 0 0 103 14)(font "Arial" (font_size 8)))
(text "sdram_wire_cs_n" (rect 4 245 107 259)(font "Arial" (font_size 8)))
(line (pt 0 256)(pt 224 256))
)
(port
(pt 0 288)
(output)
(text "sdram_wire_dqm[1..0]" (rect 0 0 127 14)(font "Arial" (font_size 8)))
(text "sdram_wire_dqm[1..0]" (rect 4 277 131 291)(font "Arial" (font_size 8)))
(line (pt 0 288)(pt 224 288)(line_width 3))
)
(port
(pt 0 304)
(output)
(text "sdram_wire_ras_n" (rect 0 0 108 14)(font "Arial" (font_size 8)))
(text "sdram_wire_ras_n" (rect 4 293 112 307)(font "Arial" (font_size 8)))
(line (pt 0 304)(pt 224 304))
)
(port
(pt 0 320)
(output)
(text "sdram_wire_we_n" (rect 0 0 108 14)(font "Arial" (font_size 8)))
(text "sdram_wire_we_n" (rect 4 309 112 323)(font "Arial" (font_size 8)))
(line (pt 0 320)(pt 224 320))
)
(port
(pt 0 272)
(bidir)
(text "sdram_wire_dq[15..0]" (rect 0 0 125 14)(font "Arial" (font_size 8)))
(text "sdram_wire_dq[15..0]" (rect 4 261 129 275)(font "Arial" (font_size 8)))
(line (pt 0 272)(pt 224 272)(line_width 3))
)
(drawing
(text "clk" (rect 209 43 226 58)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 229 67 243 79)(font "Arial" (color 0 0 0)))
(text "led_pio_external_connection" (rect 60 83 246 98)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 229 107 259 119)(font "Arial" (color 0 0 0)))
(text "reset" (rect 195 123 228 138)(font "Arial" (color 128 0 0)(font_size 9)))
(text "reset_n" (rect 229 147 265 159)(font "Arial" (color 0 0 0)))
(text "sdram_wire" (rect 155 163 232 178)(font "Arial" (color 128 0 0)(font_size 9)))
(text "addr" (rect 229 187 250 199)(font "Arial" (color 0 0 0)))
(text "ba" (rect 229 203 240 215)(font "Arial" (color 0 0 0)))
(text "cas_n" (rect 229 219 258 231)(font "Arial" (color 0 0 0)))
(text "cke" (rect 229 235 246 247)(font "Arial" (color 0 0 0)))
(text "cs_n" (rect 229 251 252 263)(font "Arial" (color 0 0 0)))
(text "dq" (rect 229 267 240 279)(font "Arial" (color 0 0 0)))
(text "dqm" (rect 229 283 250 295)(font "Arial" (color 0 0 0)))
(text "ras_n" (rect 229 299 256 311)(font "Arial" (color 0 0 0)))
(text "we_n" (rect 229 315 253 327)(font "Arial" (color 0 0 0)))
(text " first_nios2_system " (rect 425 336 527 348)(font "Arial" ))
(line (pt 224 32)(pt 288 32))
(line (pt 288 32)(pt 288 336))
(line (pt 224 336)(pt 288 336))
(line (pt 224 32)(pt 224 336))
(line (pt 225 52)(pt 225 76))
(line (pt 226 52)(pt 226 76))
(line (pt 225 92)(pt 225 116))
(line (pt 226 92)(pt 226 116))
(line (pt 225 132)(pt 225 156))
(line (pt 226 132)(pt 226 156))
(line (pt 225 172)(pt 225 324))
(line (pt 226 172)(pt 226 324))
(line (pt 0 0)(pt 512 0))
(line (pt 512 0)(pt 512 352))
(line (pt 0 352)(pt 512 352))
(line (pt 0 0)(pt 0 352))
)
)
(connector
(pt 344 120)
(pt 336 120)
(bus)
)
(connector
(pt 344 160)
(pt 328 160)
)
(connector
(pt 344 200)
(pt 336 200)
(bus)
)
(connector
(pt 344 216)
(pt 336 216)
(bus)
)
(connector
(pt 344 232)
(pt 336 232)
)
(connector
(pt 344 248)
(pt 336 248)
)
(connector
(pt 344 264)
(pt 336 264)
)
(connector
(pt 344 280)
(pt 336 280)
(bus)
)
(connector
(pt 344 312)
(pt 336 312)
)
(connector
(pt 344 328)
(pt 336 328)
)
(connector
(pt 344 296)
(pt 336 296)
(bus)
)
(connector
(pt 344 80)
(pt 336 80)
)
(connector
(pt 328 96)
(pt 320 96)
)
(connector
(pt 336 80)
(pt 336 16)
)
(connector
(pt 336 16)
(pt 320 16)
)
(connector
(pt 328 56)
(pt 320 56)
)
(connector
(pt 328 96)
(pt 328 56)
)
(connector
(pt 160 16)
(pt 152 16)
)