📄 operation.bsf
字号:
/*
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 "symbol" (version "1.1"))
(symbol
(rect 16 16 240 368)
(text "Operation" (rect 5 0 52 12)(font "Arial" ))
(text "inst" (rect 8 336 25 348)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "RESET" (rect 0 0 35 12)(font "Arial" ))
(text "RESET" (rect 21 27 56 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "GCLK" (rect 0 0 29 12)(font "Arial" ))
(text "GCLK" (rect 21 43 50 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CLK1" (rect 0 0 27 12)(font "Arial" ))
(text "CLK1" (rect 21 59 48 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "CLK2" (rect 0 0 27 12)(font "Arial" ))
(text "CLK2" (rect 21 75 48 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "CLK3" (rect 0 0 27 12)(font "Arial" ))
(text "CLK3" (rect 21 91 48 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "SW[5..0]" (rect 0 0 43 12)(font "Arial" ))
(text "SW[5..0]" (rect 21 107 64 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "KeyValid" (rect 0 0 43 12)(font "Arial" ))
(text "KeyValid" (rect 21 123 64 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "KeyCode[3..0]" (rect 0 0 71 12)(font "Arial" ))
(text "KeyCode[3..0]" (rect 21 139 92 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "PS2Valid" (rect 0 0 43 12)(font "Arial" ))
(text "PS2Valid" (rect 21 155 64 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "PS2Code[7..0]" (rect 0 0 71 12)(font "Arial" ))
(text "PS2Code[7..0]" (rect 21 171 92 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 0 192)
(input)
(text "TempValid" (rect 0 0 50 12)(font "Arial" ))
(text "TempValid" (rect 21 187 71 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 1))
)
(port
(pt 0 208)
(input)
(text "TempCode[7..0]" (rect 0 0 79 12)(font "Arial" ))
(text "TempCode[7..0]" (rect 21 203 100 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 0 224)
(input)
(text "UARTValid" (rect 0 0 53 12)(font "Arial" ))
(text "UARTValid" (rect 21 219 74 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 1))
)
(port
(pt 0 240)
(input)
(text "UARTCode[7..0]" (rect 0 0 81 12)(font "Arial" ))
(text "UARTCode[7..0]" (rect 21 235 102 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 3))
)
(port
(pt 0 256)
(input)
(text "irDAValid" (rect 0 0 44 12)(font "Arial" ))
(text "irDAValid" (rect 21 251 65 263)(font "Arial" ))
(line (pt 0 256)(pt 16 256)(line_width 1))
)
(port
(pt 0 272)
(input)
(text "irDACodeL[7..0]" (rect 0 0 79 12)(font "Arial" ))
(text "irDACodeL[7..0]" (rect 21 267 100 279)(font "Arial" ))
(line (pt 0 272)(pt 16 272)(line_width 3))
)
(port
(pt 0 288)
(input)
(text "irDACodeM[7..0]" (rect 0 0 81 12)(font "Arial" ))
(text "irDACodeM[7..0]" (rect 21 283 102 295)(font "Arial" ))
(line (pt 0 288)(pt 16 288)(line_width 3))
)
(port
(pt 0 304)
(input)
(text "irDACodeU[7..0]" (rect 0 0 81 12)(font "Arial" ))
(text "irDACodeU[7..0]" (rect 21 299 102 311)(font "Arial" ))
(line (pt 0 304)(pt 16 304)(line_width 3))
)
(port
(pt 0 320)
(input)
(text "CharAdd[5..0]" (rect 0 0 68 12)(font "Arial" ))
(text "CharAdd[5..0]" (rect 21 315 89 327)(font "Arial" ))
(line (pt 0 320)(pt 16 320)(line_width 3))
)
(port
(pt 224 32)
(output)
(text "LEDValue[3..0]" (rect 0 0 74 12)(font "Arial" ))
(text "LEDValue[3..0]" (rect 129 27 203 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 3))
)
(port
(pt 224 48)
(output)
(text "DigitValue[2..0]" (rect 0 0 75 12)(font "Arial" ))
(text "DigitValue[2..0]" (rect 128 43 203 55)(font "Arial" ))
(line (pt 224 48)(pt 208 48)(line_width 3))
)
(port
(pt 224 64)
(output)
(text "LCDFresh" (rect 0 0 50 12)(font "Arial" ))
(text "LCDFresh" (rect 153 59 203 71)(font "Arial" ))
(line (pt 224 64)(pt 208 64)(line_width 1))
)
(port
(pt 224 80)
(output)
(text "LCDValue[7..0]" (rect 0 0 75 12)(font "Arial" ))
(text "LCDValue[7..0]" (rect 128 75 203 87)(font "Arial" ))
(line (pt 224 80)(pt 208 80)(line_width 3))
)
(port
(pt 224 96)
(output)
(text "MusicEnable" (rect 0 0 61 12)(font "Arial" ))
(text "MusicEnable" (rect 142 91 203 103)(font "Arial" ))
(line (pt 224 96)(pt 208 96)(line_width 1))
)
(port
(pt 224 112)
(output)
(text "Speak" (rect 0 0 30 12)(font "Arial" ))
(text "Speak" (rect 173 107 203 119)(font "Arial" ))
(line (pt 224 112)(pt 208 112)(line_width 1))
)
(port
(pt 224 128)
(output)
(text "SPI_CS" (rect 0 0 38 12)(font "Arial" ))
(text "SPI_CS" (rect 165 123 203 135)(font "Arial" ))
(line (pt 224 128)(pt 208 128)(line_width 1))
)
(port
(pt 224 144)
(output)
(text "SPI_RW" (rect 0 0 42 12)(font "Arial" ))
(text "SPI_RW" (rect 161 139 203 151)(font "Arial" ))
(line (pt 224 144)(pt 208 144)(line_width 1))
)
(port
(pt 224 160)
(output)
(text "SPI_STRB" (rect 0 0 51 12)(font "Arial" ))
(text "SPI_STRB" (rect 152 155 203 167)(font "Arial" ))
(line (pt 224 160)(pt 208 160)(line_width 1))
)
(port
(pt 224 176)
(output)
(text "SPI_Address[7..0]" (rect 0 0 89 12)(font "Arial" ))
(text "SPI_Address[7..0]" (rect 114 171 203 183)(font "Arial" ))
(line (pt 224 176)(pt 208 176)(line_width 3))
)
(port
(pt 224 208)
(output)
(text "I2C_CS" (rect 0 0 38 12)(font "Arial" ))
(text "I2C_CS" (rect 165 203 203 215)(font "Arial" ))
(line (pt 224 208)(pt 208 208)(line_width 1))
)
(port
(pt 224 224)
(output)
(text "I2C_RW" (rect 0 0 42 12)(font "Arial" ))
(text "I2C_RW" (rect 161 219 203 231)(font "Arial" ))
(line (pt 224 224)(pt 208 224)(line_width 1))
)
(port
(pt 224 240)
(output)
(text "I2C_STRB" (rect 0 0 51 12)(font "Arial" ))
(text "I2C_STRB" (rect 152 235 203 247)(font "Arial" ))
(line (pt 224 240)(pt 208 240)(line_width 1))
)
(port
(pt 224 256)
(output)
(text "I2C_Address[1..0]" (rect 0 0 89 12)(font "Arial" ))
(text "I2C_Address[1..0]" (rect 114 251 203 263)(font "Arial" ))
(line (pt 224 256)(pt 208 256)(line_width 3))
)
(port
(pt 224 192)
(bidir)
(text "SPI_Data[15..0]" (rect 0 0 79 12)(font "Arial" ))
(text "SPI_Data[15..0]" (rect 124 187 203 199)(font "Arial" ))
(line (pt 224 192)(pt 208 192)(line_width 3))
)
(port
(pt 224 272)
(bidir)
(text "I2C_Data[7..0]" (rect 0 0 73 12)(font "Arial" ))
(text "I2C_Data[7..0]" (rect 130 267 203 279)(font "Arial" ))
(line (pt 224 272)(pt 208 272)(line_width 3))
)
(drawing
(rectangle (rect 16 16 208 336)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -