338 lines
10 KiB
Plaintext
338 lines
10 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) 1991-2013 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.2"))
|
|
(symbol
|
|
(rect 16 16 240 592)
|
|
(text "MainController" (rect 5 0 85 14)(font "Arial" (font_size 8)))
|
|
(text "inst" (rect 8 560 25 572)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "HWPdatain[1..0]" (rect 0 0 89 14)(font "Arial" (font_size 8)))
|
|
(text "HWPdatain[1..0]" (rect 21 27 110 41)(font "Arial" (font_size 8)))
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "Error0In" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
|
(text "Error0In" (rect 21 43 65 57)(font "Arial" (font_size 8)))
|
|
(line (pt 0 48)(pt 16 48))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "FPGA_CLK" (rect 0 0 63 14)(font "Arial" (font_size 8)))
|
|
(text "FPGA_CLK" (rect 21 59 84 73)(font "Arial" (font_size 8)))
|
|
(line (pt 0 64)(pt 16 64))
|
|
)
|
|
(port
|
|
(pt 0 80)
|
|
(input)
|
|
(text "nCE" (rect 0 0 22 14)(font "Arial" (font_size 8)))
|
|
(text "nCE" (rect 21 75 43 89)(font "Arial" (font_size 8)))
|
|
(line (pt 0 80)(pt 16 80))
|
|
)
|
|
(port
|
|
(pt 0 96)
|
|
(input)
|
|
(text "nOE" (rect 0 0 23 14)(font "Arial" (font_size 8)))
|
|
(text "nOE" (rect 21 91 44 105)(font "Arial" (font_size 8)))
|
|
(line (pt 0 96)(pt 16 96))
|
|
)
|
|
(port
|
|
(pt 0 112)
|
|
(input)
|
|
(text "nWE" (rect 0 0 25 14)(font "Arial" (font_size 8)))
|
|
(text "nWE" (rect 21 107 46 121)(font "Arial" (font_size 8)))
|
|
(line (pt 0 112)(pt 16 112))
|
|
)
|
|
(port
|
|
(pt 0 128)
|
|
(input)
|
|
(text "Address[8..0]" (rect 0 0 77 14)(font "Arial" (font_size 8)))
|
|
(text "Address[8..0]" (rect 21 123 98 137)(font "Arial" (font_size 8)))
|
|
(line (pt 0 128)(pt 16 128)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 144)
|
|
(input)
|
|
(text "nBL[1..0]" (rect 0 0 50 14)(font "Arial" (font_size 8)))
|
|
(text "nBL[1..0]" (rect 21 139 71 153)(font "Arial" (font_size 8)))
|
|
(line (pt 0 144)(pt 16 144)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 160)
|
|
(input)
|
|
(text "SBdatain" (rect 0 0 50 14)(font "Arial" (font_size 8)))
|
|
(text "SBdatain" (rect 21 155 71 169)(font "Arial" (font_size 8)))
|
|
(line (pt 0 160)(pt 16 160))
|
|
)
|
|
(port
|
|
(pt 0 176)
|
|
(input)
|
|
(text "PBack" (rect 0 0 35 14)(font "Arial" (font_size 8)))
|
|
(text "PBack" (rect 21 171 56 185)(font "Arial" (font_size 8)))
|
|
(line (pt 0 176)(pt 16 176))
|
|
)
|
|
(port
|
|
(pt 0 192)
|
|
(input)
|
|
(text "PWM[5..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
|
|
(text "PWM[5..0]" (rect 21 187 77 201)(font "Arial" (font_size 8)))
|
|
(line (pt 0 192)(pt 16 192)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 224 32)
|
|
(output)
|
|
(text "FPGA_LED_1" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
|
(text "FPGA_LED_1" (rect 127 27 203 41)(font "Arial" (font_size 8)))
|
|
(line (pt 224 32)(pt 208 32))
|
|
)
|
|
(port
|
|
(pt 224 48)
|
|
(output)
|
|
(text "AddrDevice_2" (rect 0 0 81 14)(font "Arial" (font_size 8)))
|
|
(text "AddrDevice_2" (rect 122 43 203 57)(font "Arial" (font_size 8)))
|
|
(line (pt 224 48)(pt 208 48))
|
|
)
|
|
(port
|
|
(pt 224 64)
|
|
(output)
|
|
(text "AddrDevice_1" (rect 0 0 81 14)(font "Arial" (font_size 8)))
|
|
(text "AddrDevice_1" (rect 122 59 203 73)(font "Arial" (font_size 8)))
|
|
(line (pt 224 64)(pt 208 64))
|
|
)
|
|
(port
|
|
(pt 224 80)
|
|
(output)
|
|
(text "HWPDATA" (rect 0 0 61 14)(font "Arial" (font_size 8)))
|
|
(text "HWPDATA" (rect 142 75 203 89)(font "Arial" (font_size 8)))
|
|
(line (pt 224 80)(pt 208 80))
|
|
)
|
|
(port
|
|
(pt 224 96)
|
|
(output)
|
|
(text "HWPCLK" (rect 0 0 50 14)(font "Arial" (font_size 8)))
|
|
(text "HWPCLK" (rect 153 91 203 105)(font "Arial" (font_size 8)))
|
|
(line (pt 224 96)(pt 208 96))
|
|
)
|
|
(port
|
|
(pt 224 112)
|
|
(output)
|
|
(text "RW" (rect 0 0 20 14)(font "Arial" (font_size 8)))
|
|
(text "RW" (rect 183 107 203 121)(font "Arial" (font_size 8)))
|
|
(line (pt 224 112)(pt 208 112))
|
|
)
|
|
(port
|
|
(pt 224 128)
|
|
(output)
|
|
(text "Reset" (rect 0 0 33 14)(font "Arial" (font_size 8)))
|
|
(text "Reset" (rect 170 123 203 137)(font "Arial" (font_size 8)))
|
|
(line (pt 224 128)(pt 208 128))
|
|
)
|
|
(port
|
|
(pt 224 144)
|
|
(output)
|
|
(text "Error0Out" (rect 0 0 55 14)(font "Arial" (font_size 8)))
|
|
(text "Error0Out" (rect 148 139 203 153)(font "Arial" (font_size 8)))
|
|
(line (pt 224 144)(pt 208 144))
|
|
)
|
|
(port
|
|
(pt 224 160)
|
|
(output)
|
|
(text "LoadMode" (rect 0 0 59 14)(font "Arial" (font_size 8)))
|
|
(text "LoadMode" (rect 144 155 203 169)(font "Arial" (font_size 8)))
|
|
(line (pt 224 160)(pt 208 160))
|
|
)
|
|
(port
|
|
(pt 224 176)
|
|
(output)
|
|
(text "TKdir[3..0]" (rect 0 0 57 14)(font "Arial" (font_size 8)))
|
|
(text "TKdir[3..0]" (rect 146 171 203 185)(font "Arial" (font_size 8)))
|
|
(line (pt 224 176)(pt 208 176)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 224 192)
|
|
(output)
|
|
(text "DIR7" (rect 0 0 25 14)(font "Arial" (font_size 8)))
|
|
(text "DIR7" (rect 178 187 203 201)(font "Arial" (font_size 8)))
|
|
(line (pt 224 192)(pt 208 192))
|
|
)
|
|
(port
|
|
(pt 224 208)
|
|
(output)
|
|
(text "DIR8" (rect 0 0 25 14)(font "Arial" (font_size 8)))
|
|
(text "DIR8" (rect 178 203 203 217)(font "Arial" (font_size 8)))
|
|
(line (pt 224 208)(pt 208 208))
|
|
)
|
|
(port
|
|
(pt 224 224)
|
|
(output)
|
|
(text "DIR9" (rect 0 0 25 14)(font "Arial" (font_size 8)))
|
|
(text "DIR9" (rect 178 219 203 233)(font "Arial" (font_size 8)))
|
|
(line (pt 224 224)(pt 208 224))
|
|
)
|
|
(port
|
|
(pt 224 240)
|
|
(output)
|
|
(text "DIRen" (rect 0 0 33 14)(font "Arial" (font_size 8)))
|
|
(text "DIRen" (rect 170 235 203 249)(font "Arial" (font_size 8)))
|
|
(line (pt 224 240)(pt 208 240))
|
|
)
|
|
(port
|
|
(pt 224 256)
|
|
(output)
|
|
(text "AsyncLine" (rect 0 0 61 14)(font "Arial" (font_size 8)))
|
|
(text "AsyncLine" (rect 142 251 203 265)(font "Arial" (font_size 8)))
|
|
(line (pt 224 256)(pt 208 256))
|
|
)
|
|
(port
|
|
(pt 224 272)
|
|
(output)
|
|
(text "DivClk" (rect 0 0 34 14)(font "Arial" (font_size 8)))
|
|
(text "DivClk" (rect 169 267 203 281)(font "Arial" (font_size 8)))
|
|
(line (pt 224 272)(pt 208 272))
|
|
)
|
|
(port
|
|
(pt 224 288)
|
|
(output)
|
|
(text "SBclk" (rect 0 0 31 14)(font "Arial" (font_size 8)))
|
|
(text "SBclk" (rect 172 283 203 297)(font "Arial" (font_size 8)))
|
|
(line (pt 224 288)(pt 208 288))
|
|
)
|
|
(port
|
|
(pt 224 304)
|
|
(output)
|
|
(text "nSBclk" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
|
(text "nSBclk" (rect 165 299 203 313)(font "Arial" (font_size 8)))
|
|
(line (pt 224 304)(pt 208 304))
|
|
)
|
|
(port
|
|
(pt 224 320)
|
|
(output)
|
|
(text "SBdataout" (rect 0 0 59 14)(font "Arial" (font_size 8)))
|
|
(text "SBdataout" (rect 144 315 203 329)(font "Arial" (font_size 8)))
|
|
(line (pt 224 320)(pt 208 320))
|
|
)
|
|
(port
|
|
(pt 224 336)
|
|
(output)
|
|
(text "nSBdataout" (rect 0 0 66 14)(font "Arial" (font_size 8)))
|
|
(text "nSBdataout" (rect 137 331 203 345)(font "Arial" (font_size 8)))
|
|
(line (pt 224 336)(pt 208 336))
|
|
)
|
|
(port
|
|
(pt 224 352)
|
|
(output)
|
|
(text "PBclk" (rect 0 0 30 14)(font "Arial" (font_size 8)))
|
|
(text "PBclk" (rect 173 347 203 361)(font "Arial" (font_size 8)))
|
|
(line (pt 224 352)(pt 208 352))
|
|
)
|
|
(port
|
|
(pt 224 368)
|
|
(output)
|
|
(text "PBce" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
|
(text "PBce" (rect 174 363 203 377)(font "Arial" (font_size 8)))
|
|
(line (pt 224 368)(pt 208 368))
|
|
)
|
|
(port
|
|
(pt 224 384)
|
|
(output)
|
|
(text "PBdir[1..0]" (rect 0 0 57 14)(font "Arial" (font_size 8)))
|
|
(text "PBdir[1..0]" (rect 146 379 203 393)(font "Arial" (font_size 8)))
|
|
(line (pt 224 384)(pt 208 384)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 224 416)
|
|
(output)
|
|
(text "TK[31..0]" (rect 0 0 50 14)(font "Arial" (font_size 8)))
|
|
(text "TK[31..0]" (rect 153 411 203 425)(font "Arial" (font_size 8)))
|
|
(line (pt 224 416)(pt 208 416)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 224 432)
|
|
(output)
|
|
(text "Interrupt" (rect 0 0 47 14)(font "Arial" (font_size 8)))
|
|
(text "Interrupt" (rect 156 427 203 441)(font "Arial" (font_size 8)))
|
|
(line (pt 224 432)(pt 208 432))
|
|
)
|
|
(port
|
|
(pt 224 448)
|
|
(output)
|
|
(text "OBclk" (rect 0 0 33 14)(font "Arial" (font_size 8)))
|
|
(text "OBclk" (rect 170 443 203 457)(font "Arial" (font_size 8)))
|
|
(line (pt 224 448)(pt 208 448))
|
|
)
|
|
(port
|
|
(pt 224 464)
|
|
(output)
|
|
(text "OBdata" (rect 0 0 42 14)(font "Arial" (font_size 8)))
|
|
(text "OBdata" (rect 161 459 203 473)(font "Arial" (font_size 8)))
|
|
(line (pt 224 464)(pt 208 464))
|
|
)
|
|
(port
|
|
(pt 224 496)
|
|
(output)
|
|
(text "FPGA_LED_2" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
|
(text "FPGA_LED_2" (rect 127 491 203 505)(font "Arial" (font_size 8)))
|
|
(line (pt 224 496)(pt 208 496))
|
|
)
|
|
(port
|
|
(pt 224 512)
|
|
(output)
|
|
(text "FPGA_LED_3" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
|
(text "FPGA_LED_3" (rect 127 507 203 521)(font "Arial" (font_size 8)))
|
|
(line (pt 224 512)(pt 208 512))
|
|
)
|
|
(port
|
|
(pt 224 528)
|
|
(output)
|
|
(text "FPGA_LED_4" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
|
(text "FPGA_LED_4" (rect 127 523 203 537)(font "Arial" (font_size 8)))
|
|
(line (pt 224 528)(pt 208 528))
|
|
)
|
|
(port
|
|
(pt 224 544)
|
|
(output)
|
|
(text "FPGA_LED_5" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
|
(text "FPGA_LED_5" (rect 127 539 203 553)(font "Arial" (font_size 8)))
|
|
(line (pt 224 544)(pt 208 544))
|
|
)
|
|
(port
|
|
(pt 224 400)
|
|
(bidir)
|
|
(text "PBdata[15..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
|
|
(text "PBdata[15..0]" (rect 128 395 203 409)(font "Arial" (font_size 8)))
|
|
(line (pt 224 400)(pt 208 400)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 224 480)
|
|
(bidir)
|
|
(text "Data[7..0]" (rect 0 0 54 14)(font "Arial" (font_size 8)))
|
|
(text "Data[7..0]" (rect 149 475 203 489)(font "Arial" (font_size 8)))
|
|
(line (pt 224 480)(pt 208 480)(line_width 3))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 208 560))
|
|
)
|
|
)
|