276 lines
6.2 KiB
Plaintext
276 lines
6.2 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 "graphic" (version "1.4"))
|
||
|
(pin
|
||
|
(input)
|
||
|
(rect 376 248 544 264)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "ClkRAM" (rect 5 0 46 12)(font "Arial" ))
|
||
|
(pt 168 8)
|
||
|
(drawing
|
||
|
(line (pt 84 12)(pt 109 12))
|
||
|
(line (pt 84 4)(pt 109 4))
|
||
|
(line (pt 113 8)(pt 168 8))
|
||
|
(line (pt 84 12)(pt 84 4))
|
||
|
(line (pt 109 4)(pt 113 8))
|
||
|
(line (pt 109 12)(pt 113 8))
|
||
|
)
|
||
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
||
|
)
|
||
|
(pin
|
||
|
(input)
|
||
|
(rect 352 232 544 248)
|
||
|
(text "INPUT" (rect 149 0 177 10)(font "Arial" (font_size 6)))
|
||
|
(text "AddressRAM[7..0]" (rect 5 0 95 12)(font "Arial" ))
|
||
|
(pt 192 8)
|
||
|
(drawing
|
||
|
(line (pt 108 12)(pt 133 12))
|
||
|
(line (pt 108 4)(pt 133 4))
|
||
|
(line (pt 137 8)(pt 192 8))
|
||
|
(line (pt 108 12)(pt 108 4))
|
||
|
(line (pt 133 4)(pt 137 8))
|
||
|
(line (pt 133 12)(pt 137 8))
|
||
|
)
|
||
|
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
|
||
|
)
|
||
|
(pin
|
||
|
(input)
|
||
|
(rect 368 216 544 232)
|
||
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
||
|
(text "DataRAM[15..0]" (rect 5 0 85 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)))
|
||
|
)
|
||
|
(pin
|
||
|
(input)
|
||
|
(rect 376 144 544 160)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "Clk" (rect 5 0 22 12)(font "Arial" ))
|
||
|
(pt 168 8)
|
||
|
(drawing
|
||
|
(line (pt 84 12)(pt 109 12))
|
||
|
(line (pt 84 4)(pt 109 4))
|
||
|
(line (pt 113 8)(pt 168 8))
|
||
|
(line (pt 84 12)(pt 84 4))
|
||
|
(line (pt 109 4)(pt 113 8))
|
||
|
(line (pt 109 12)(pt 113 8))
|
||
|
)
|
||
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
||
|
)
|
||
|
(pin
|
||
|
(input)
|
||
|
(rect 376 264 544 280)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "WR" (rect 5 0 24 12)(font "Arial" ))
|
||
|
(pt 168 8)
|
||
|
(drawing
|
||
|
(line (pt 84 12)(pt 109 12))
|
||
|
(line (pt 84 4)(pt 109 4))
|
||
|
(line (pt 113 8)(pt 168 8))
|
||
|
(line (pt 84 12)(pt 84 4))
|
||
|
(line (pt 109 4)(pt 113 8))
|
||
|
(line (pt 109 12)(pt 113 8))
|
||
|
)
|
||
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 632 104 784 216)
|
||
|
(text "AlteraPLL" (rect 5 0 52 12)(font "Arial" ))
|
||
|
(text "inst" (rect 8 96 25 108)(font "Arial" ))
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "areset" (rect 0 0 30 12)(font "Arial" ))
|
||
|
(text "areset" (rect 21 27 51 39)(font "Arial" ))
|
||
|
(line (pt 0 32)(pt 16 32))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 48)
|
||
|
(input)
|
||
|
(text "inclk0" (rect 0 0 28 12)(font "Arial" ))
|
||
|
(text "inclk0" (rect 21 43 49 55)(font "Arial" ))
|
||
|
(line (pt 0 48)(pt 16 48))
|
||
|
)
|
||
|
(port
|
||
|
(pt 152 32)
|
||
|
(output)
|
||
|
(text "c0" (rect 0 0 11 12)(font "Arial" ))
|
||
|
(text "c0" (rect 122 27 133 39)(font "Arial" ))
|
||
|
(line (pt 152 32)(pt 136 32))
|
||
|
)
|
||
|
(port
|
||
|
(pt 152 48)
|
||
|
(output)
|
||
|
(text "c1" (rect 0 0 11 12)(font "Arial" ))
|
||
|
(text "c1" (rect 122 43 133 55)(font "Arial" ))
|
||
|
(line (pt 152 48)(pt 136 48))
|
||
|
)
|
||
|
(port
|
||
|
(pt 152 64)
|
||
|
(output)
|
||
|
(text "locked" (rect 0 0 31 12)(font "Arial" ))
|
||
|
(text "locked" (rect 105 59 136 71)(font "Arial" ))
|
||
|
(line (pt 152 64)(pt 136 64))
|
||
|
)
|
||
|
(drawing
|
||
|
(rectangle (rect 16 16 136 96))
|
||
|
)
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 816 176 1040 320)
|
||
|
(text "RAM" (rect 5 0 28 12)(font "Arial" ))
|
||
|
(text "inst4" (rect 8 128 31 140)(font "Arial" ))
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "clk" (rect 0 0 14 12)(font "Arial" ))
|
||
|
(text "clk" (rect 21 27 35 39)(font "Arial" ))
|
||
|
(line (pt 0 32)(pt 16 32))
|
||
|
)
|
||
|
(port
|
||
|
(pt 224 48)
|
||
|
(input)
|
||
|
(text "data[15..0]" (rect 0 0 53 12)(font "Arial" ))
|
||
|
(text "data[15..0]" (rect 146 40 199 52)(font "Arial" ))
|
||
|
(line (pt 208 48)(pt 224 48)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 224 64)
|
||
|
(input)
|
||
|
(text "address[7..0]" (rect 0 0 64 12)(font "Arial" ))
|
||
|
(text "address[7..0]" (rect 135 56 199 68)(font "Arial" ))
|
||
|
(line (pt 208 64)(pt 224 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 80)
|
||
|
(input)
|
||
|
(text "clkMCU" (rect 0 0 38 12)(font "Arial" ))
|
||
|
(text "clkMCU" (rect 21 75 59 87)(font "Arial" ))
|
||
|
(line (pt 0 80)(pt 16 80))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 96)
|
||
|
(input)
|
||
|
(text "wr" (rect 0 0 10 12)(font "Arial" ))
|
||
|
(text "wr" (rect 21 91 31 103)(font "Arial" ))
|
||
|
(line (pt 0 96)(pt 16 96))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 48)
|
||
|
(bidir)
|
||
|
(text "dataMCU[15..0]" (rect 0 0 77 12)(font "Arial" ))
|
||
|
(text "dataMCU[15..0]" (rect 24 40 101 52)(font "Arial" ))
|
||
|
(line (pt 16 48)(pt 0 48)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(bidir)
|
||
|
(text "addressMCU[7..0]" (rect 0 0 89 12)(font "Arial" ))
|
||
|
(text "addressMCU[7..0]" (rect 24 56 113 68)(font "Arial" ))
|
||
|
(line (pt 16 64)(pt 0 64)(line_width 3))
|
||
|
)
|
||
|
(drawing
|
||
|
(rectangle (rect 16 16 208 128))
|
||
|
)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 560 256)
|
||
|
(pt 560 624)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 576 240)
|
||
|
(pt 576 624)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 592 224)
|
||
|
(pt 592 624)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 544 224)
|
||
|
(pt 592 224)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 544 240)
|
||
|
(pt 576 240)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 544 256)
|
||
|
(pt 560 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 560 256)
|
||
|
(pt 816 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 544 272)
|
||
|
(pt 816 272)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 592 224)
|
||
|
(pt 816 224)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 576 240)
|
||
|
(pt 816 240)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 816 208)
|
||
|
(pt 800 208)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 800 136)
|
||
|
(pt 784 136)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 800 208)
|
||
|
(pt 800 136)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 608 152)
|
||
|
(pt 608 624)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 544 152)
|
||
|
(pt 608 152)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 608 152)
|
||
|
(pt 632 152)
|
||
|
)
|
||
|
(junction (pt 560 256))
|
||
|
(junction (pt 576 240))
|
||
|
(junction (pt 592 224))
|
||
|
(junction (pt 608 152))
|