192 lines
4.6 KiB
Plaintext
192 lines
4.6 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 304 192 472 208)
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
(text "d" (rect 5 0 11 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 304 256 472 272)
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
(text "clk" (rect 5 0 20 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
|
|
(output)
|
|
(rect 864 176 1040 192)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "q" (rect 90 0 95 12)(font "Arial" ))
|
|
(pt 0 8)
|
|
(drawing
|
|
(line (pt 0 8)(pt 52 8))
|
|
(line (pt 52 4)(pt 78 4))
|
|
(line (pt 52 12)(pt 78 12))
|
|
(line (pt 52 12)(pt 52 4))
|
|
(line (pt 78 4)(pt 82 8))
|
|
(line (pt 82 8)(pt 78 12))
|
|
(line (pt 78 12)(pt 82 8))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 528 176 592 256)
|
|
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
|
|
(text "inst" (rect 3 68 20 80)(font "Arial" ))
|
|
(port
|
|
(pt 32 80)
|
|
(input)
|
|
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
|
|
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
|
|
(line (pt 32 80)(pt 32 76))
|
|
)
|
|
(port
|
|
(pt 0 40)
|
|
(input)
|
|
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
|
|
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 40)(pt 12 40))
|
|
)
|
|
(port
|
|
(pt 0 24)
|
|
(input)
|
|
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
|
|
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
|
|
(line (pt 0 24)(pt 12 24))
|
|
)
|
|
(port
|
|
(pt 32 0)
|
|
(input)
|
|
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
|
|
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
|
|
(line (pt 32 4)(pt 32 0))
|
|
)
|
|
(port
|
|
(pt 64 24)
|
|
(output)
|
|
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
|
|
(text "Q" (rect 43 20 48 32)(font "Courier New" (bold)))
|
|
(line (pt 52 24)(pt 64 24))
|
|
)
|
|
(drawing
|
|
(line (pt 12 12)(pt 52 12))
|
|
(line (pt 12 68)(pt 52 68))
|
|
(line (pt 52 68)(pt 52 12))
|
|
(line (pt 12 68)(pt 12 12))
|
|
(line (pt 19 40)(pt 12 47))
|
|
(line (pt 12 32)(pt 20 40))
|
|
(circle (rect 28 4 36 12))
|
|
(circle (rect 28 68 36 76))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 640 152 784 232)
|
|
(text "DigitalFilter" (rect 5 0 60 12)(font "Arial" ))
|
|
(text "inst2" (rect 8 64 31 76)(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 0 48)
|
|
(input)
|
|
(text "input" (rect 0 0 23 12)(font "Arial" ))
|
|
(text "input" (rect 21 43 44 55)(font "Arial" ))
|
|
(line (pt 0 48)(pt 16 48))
|
|
)
|
|
(port
|
|
(pt 144 32)
|
|
(output)
|
|
(text "output" (rect 0 0 30 12)(font "Arial" ))
|
|
(text "output" (rect 98 27 128 39)(font "Arial" ))
|
|
(line (pt 144 32)(pt 128 32))
|
|
)
|
|
(parameter
|
|
"PHASE_SHIFT"
|
|
"1"
|
|
""
|
|
(type "PARAMETER_SIGNED_DEC") )
|
|
(drawing
|
|
(rectangle (rect 16 16 128 64))
|
|
)
|
|
(annotation_block (parameter)(rect 784 120 984 152))
|
|
)
|
|
(connector
|
|
(pt 472 200)
|
|
(pt 528 200)
|
|
)
|
|
(connector
|
|
(pt 592 200)
|
|
(pt 640 200)
|
|
)
|
|
(connector
|
|
(pt 640 184)
|
|
(pt 616 184)
|
|
)
|
|
(connector
|
|
(pt 616 264)
|
|
(pt 616 184)
|
|
)
|
|
(connector
|
|
(pt 528 216)
|
|
(pt 504 216)
|
|
)
|
|
(connector
|
|
(pt 504 216)
|
|
(pt 504 264)
|
|
)
|
|
(connector
|
|
(pt 472 264)
|
|
(pt 504 264)
|
|
)
|
|
(connector
|
|
(pt 504 264)
|
|
(pt 616 264)
|
|
)
|
|
(connector
|
|
(pt 784 184)
|
|
(pt 864 184)
|
|
)
|
|
(junction (pt 504 264))
|