📄 stepctrl.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-2005 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"))
(alias "<<__$DEF_ALIAS36>>""pwme")
(alias "<<__$DEF_ALIAS30>>""speed_now[7..0]")
(alias "<<__$DEF_ALIAS27>>""th_speed[7..0]")
(alias "<<__$DEF_ALIAS18>>""th_speed[7..0]")
(alias "<<__$DEF_ALIAS16>>""speed_now[7..0]")
(alias "<<__$DEF_ALIAS87>>""th_speed[7..0]")
(alias "<<__$DEF_ALIAS79>>""speed_now[7..0]")
(alias "<<__$DEF_ALIAS83>>""input;clk")
(alias "<<__$DEF_ALIAS85>>""reset")
(pin
(input)
(rect 88 -24 256 -8)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 29 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 88 0 256 16)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 88 24 256 40)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "speed_now[7..0]" (rect 5 0 85 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 88 48 256 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "th_speed[7..0]" (rect 5 0 75 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "GND" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 88 72 264 88)
(text "INPUT" (rect 141 0 169 10)(font "Arial" (font_size 6)))
(text "target_speed[7..0]" (rect 5 0 94 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 100 12)(pt 125 12)(line_width 1))
(line (pt 100 4)(pt 125 4)(line_width 1))
(line (pt 129 8)(pt 176 8)(line_width 1))
(line (pt 100 12)(pt 100 4)(line_width 1))
(line (pt 125 4)(pt 129 8)(line_width 1))
(line (pt 125 12)(pt 129 8)(line_width 1))
)
(text "GND" (rect 144 7 165 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 736 16 912 32)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "pwme" (rect 90 0 118 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(block
(rect 392 -48 576 104)
(text "motorctrl" (rect 5 5 54 19)(font "Arial" (font_size 8))) (text "inst" (rect 5 138 22 150)(font "Arial" )) (block_io "reset" (input))
(block_io "clk" (input))
(block_io "speed_now[7..0]" (input))
(block_io "th_speed[7..0]" (input))
(block_io "target_speed[7..0]" (input))
(block_io "pwme" (output))
(mapper
(pt 0 56)
(input)
(mapping "clk" "clk" )
(annotation_block (mapping)(rect 472 -136 560 -104))
)
(mapper
(pt 0 32)
(input)
(mapping "reset" "reset" )
(annotation_block (mapping)(rect 352 -128 440 -96))
)
(mapper
(pt 0 72)
(input)
(mapping "speed_now[7..0]" "speed_now[7..0]" )
(annotation_block (mapping)(rect 312 -216 488 -184))
)
(mapper
(pt 0 88)
(input)
(mapping "th_speed[7..0]" "th_speed[7..0]" )
(annotation_block (mapping)(rect 408 168 560 200))
)
(mapper
(pt 0 128)
(input)
(mapping "target_speed[7..0]" "target_speed[7..0]" )
(annotation_block (mapping)(rect 184 96 376 128))
)
(mapper
(pt 184 72)
(output)
(mapping "pwme" "pwme" )
(annotation_block (mapping)(rect 592 40 680 72))
)
)
(connector
(text "<<__$DEF_ALIAS85>>" (rect 328 -32 440 -20)(font "Arial" )(invisible))
(pt 256 -16)
(pt 392 -16)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS83>>" (rect 258 -8 370 4)(font "Arial" )(invisible))
(pt 256 8)
(pt 392 8)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS87>>" (rect 0 0 112 12)(font "Arial" )(invisible))
(pt 392 40)
(pt 296 40)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS27>>" (rect 0 0 112 12)(font "Arial" )(invisible))
(pt 256 56)
(pt 296 56)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS18>>" (rect 40 0 152 12)(font "Arial" )(invisible))
(pt 296 56)
(pt 296 40)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS79>>" (rect 336 8 448 20)(font "Arial" )(invisible))
(pt 392 24)
(pt 312 24)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS30>>" (rect 0 0 112 12)(font "Arial" )(invisible))
(pt 256 32)
(pt 312 32)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS16>>" (rect 56 8 168 20)(font "Arial" )(invisible))
(pt 312 32)
(pt 312 24)
(conduit)
)
(connector
(text "<<__$DEF_ALIAS36>>" (rect 0 0 112 12)(font "Arial" )(invisible))
(pt 576 24)
(pt 736 24)
(conduit)
)
(connector
(pt 392 80)
(pt 264 80)
(conduit)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -