📄 frequency.bdf
字号:
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 47 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 14 7)(pt 32 16)(line_width 1))
(line (pt 14 25)(pt 14 7)(line_width 1))
(line (pt 14 25)(pt 32 16)(line_width 1))
)
)
(symbol
(rect 2960 1248 3120 1416)
(text "LPM_ADD_SUB" (rect 37 0 132 16)(font "Arial" (font_size 10)))
(text "inst74" (rect 3 156 32 168)(font "Arial" ))
(port
(pt 0 120)
(input)
(text "datab[LPM_WIDTH-1..0]" (rect 20 105 133 119)(font "Arial" (font_size 8)))
(text "datab[]" (rect 20 105 58 119)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 15 120)(line_width 3))
)
(port
(pt 0 32)
(input)
(text "add_sub" (rect 20 17 62 31)(font "Arial" (font_size 8)))
(text "add_sub" (rect 20 17 69 31)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 15 32)(line_width 1))
(unused)
)
(port
(pt 0 72)
(input)
(text "dataa[LPM_WIDTH-1..0]" (rect 20 57 133 71)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 20 57 58 71)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 15 72)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "cin" (rect 20 34 34 48)(font "Arial" (font_size 8)))
(text "cin" (rect 20 34 36 48)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 15 48)(line_width 1))
(unused)
)
(port
(pt 0 144)
(input)
(text "aclr" (rect 20 130 38 144)(font "Arial" (font_size 8)))
(text "aclr" (rect 20 130 41 144)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 15 144)(line_width 1))
(unused)
)
(port
(pt 0 88)
(input)
(text "clock" (rect 20 74 45 88)(font "Arial" (font_size 8)))
(text "clock" (rect 20 74 49 88)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 56 88)(line_width 1))
(unused)
)
(port
(pt 0 104)
(input)
(text "clken" (rect 20 90 45 104)(font "Arial" (font_size 8)))
(text "clken" (rect 20 90 49 104)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 56 104)(line_width 1))
(unused)
)
(port
(pt 160 144)
(output)
(text "cout" (rect 120 129 141 143)(font "Arial" (font_size 8)))
(text "cout" (rect 120 129 144 143)(font "Arial" (font_size 8)))
(line (pt 145 144)(pt 160 144)(line_width 1))
(unused)
)
(port
(pt 160 128)
(output)
(text "overflow" (rect 99 113 143 127)(font "Arial" (font_size 8)))
(text "overflow" (rect 99 113 150 127)(font "Arial" (font_size 8)))
(line (pt 145 128)(pt 160 128)(line_width 1))
(unused)
)
(port
(pt 160 96)
(output)
(text "result[LPM_WIDTH-1..0]" (rect 109 81 222 95)(font "Arial" (font_size 8)))
(text "result[]" (rect 109 81 147 95)(font "Arial" (font_size 8)))
(line (pt 145 96)(pt 160 96)(line_width 3))
)
(parameter
"LPM_DIRECTION"
"\"SUB\""
"Selects between addition, subtraction, or both"
"\"DEFAULT\"" "\"ADD\"" "\"SUB\""
)
(parameter
"LPM_PIPELINE"
"0"
"Output latency in clock cycles - requires use of optional clock"
"0" "1" "2" "3" "4"
)
(parameter
"LPM_REPRESENTATION"
"\"UNSIGNED\""
"Numeric representation of inputs"
"\"UNSIGNED\"" "\"SIGNED\""
)
(parameter
"LPM_WIDTH"
"10"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(parameter
"MAXIMIZE_SPEED"
""
"Hint to help tradeoff between speed and size"
" 0" " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10"
)
(parameter
"ONE_INPUT_IS_CONSTANT"
"\"YES\""
"Hint to help minimize the number of LCELLs"
"\"NO\"" "\"YES\""
)
(drawing
(line (pt 16 48)(pt 72 48)(line_width 1))
(line (pt 16 152)(pt 144 152)(line_width 1))
(line (pt 16 16)(pt 144 16)(line_width 1))
(line (pt 16 72)(pt 56 72)(line_width 3))
(line (pt 16 120)(pt 56 120)(line_width 3))
(line (pt 104 96)(pt 144 96)(line_width 3))
(line (pt 88 128)(pt 144 128)(line_width 1))
(line (pt 16 32)(pt 88 32)(line_width 1))
(line (pt 80 144)(pt 144 144)(line_width 1))
(line (pt 16 144)(pt 72 144)(line_width 1))
(line (pt 104 112)(pt 104 80)(line_width 1))
(line (pt 88 128)(pt 88 120)(line_width 1))
(line (pt 16 152)(pt 16 16)(line_width 1))
(line (pt 144 152)(pt 144 16)(line_width 1))
(line (pt 56 136)(pt 56 56)(line_width 1))
(line (pt 72 64)(pt 72 48)(line_width 1))
(line (pt 88 72)(pt 88 32)(line_width 1))
(line (pt 80 144)(pt 80 124)(line_width 1))
(line (pt 72 144)(pt 72 128)(line_width 1))
(line (pt 56 56)(pt 104 80)(line_width 1))
(line (pt 56 136)(pt 104 112)(line_width 1))
)
(annotation_block (parameter)(rect 2960 1416 3160 1520))
)
(symbol
(rect 96 384 272 528)
(text "LPM_FF" (rect 19 0 69 17)(font "Arial" (font_size 10)))
(text "inst88" (rect 3 133 32 145)(font "Arial" ))
(port
(pt 0 104)
(input)
(text "enable" (rect 20 97 51 109)(font "Arial" (font_size 8)))
(text "enable" (rect 20 97 57 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
(unused)
)
(port
(pt 0 88)
(input)
(text "clock" (rect 20 81 44 93)(font "Arial" (font_size 8))(invisible))
(text "clock" (rect 20 81 49 95)(font "Arial" (font_size 8))(invisible))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "aload" (rect 20 17 46 29)(font "Arial" (font_size 8)))
(text "aload" (rect 20 17 50 31)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
(unused)
)
(port
(pt 0 40)
(input)
(text "sset" (rect 20 33 40 45)(font "Arial" (font_size 8)))
(text "sset" (rect 20 33 44 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
(unused)
)
(port
(pt 0 56)
(input)
(text "sload" (rect 20 49 46 61)(font "Arial" (font_size 8)))
(text "sload" (rect 20 49 50 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
(unused)
)
(port
(pt 88 0)
(input)
(text "aset" (rect 79 17 99 29)(font "Arial" (font_size 8)))
(text "aset" (rect 79 17 103 31)(font "Arial" (font_size 8)))
(line (pt 88 16)(pt 88 0)(line_width 1))
(unused)
)
(port
(pt 0 120)
(input)
(text "sclr" (rect 20 113 36 125)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 113 41 127)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
(unused)
)
(port
(pt 88 144)
(input)
(text "aclr" (rect 80 113 97 125)(font "Arial" (font_size 8)))
(text "aclr" (rect 80 113 101 127)(font "Arial" (font_size 8)))
(line (pt 88 144)(pt 88 128)(line_width 1))
(unused)
)
(port
(pt 0 72)
(input)
(text "data[LPM_WIDTH-1..0]" (rect 20 63 47 77)(font "Arial" (font_size 8)))
(text "data[]" (rect 20 63 51 77)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 3))
)
(port
(pt 176 88)
(output)
(text "q[LPM_WIDTH-1..0]" (rect 144 81 156 93)(font "Arial" (font_size 8)))
(text "q[]" (rect 144 81 158 95)(font "Arial" (font_size 8)))
(line (pt 160 88)(pt 176 88)(line_width 3))
)
(parameter
"LPM_AVALUE"
""
"Unsigned value associated with the aset port"
)
(parameter
"LPM_FFTYPE"
"\"DFF\""
"Selects behavior as DFF or TFF"
"\"DFF\"" "\"TFF\""
)
(parameter
"LPM_SVALUE"
""
"Unsigned value associated with the sset port"
)
(parameter
"LPM_WIDTH"
"2"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(line (pt 16 16)(pt 160 16)(line_width 1))
(line (pt 16 128)(pt 160 128)(line_width 1))
(line (pt 160 128)(pt 160 16)(line_width 1))
(line (pt 16 128)(pt 16 16)(line_width 1))
(line (pt 16 80)(pt 24 88)(line_width 1))
(line (pt 24 88)(pt 16 96)(line_width 1))
)
(annotation_block (parameter)(rect 160 312 272 384))
)
(symbol
(rect 2968 840 3080 936)
(text "LPM_MUX" (rect 23 0 84 16)(font "Arial" (font_size 10)))
(text "inst90" (rect 3 84 32 96)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "data[LPM_SIZE-1..0][LPM_WIDTH-1..0]" (rect 6 33 189 47)(font "Arial" (font_size 8)))
(text "data[][]" (rect 6 33 44 47)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 44 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "clock" (rect 6 51 31 65)(font "Arial" (font_size 8)))
(text "clock" (rect 6 51 35 65)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 44 64)(line_width 1))
(unused)
)
(port
(pt 0 32)
(input)
(text "aclr" (rect 6 19 24 33)(font "Arial" (font_size 8)))
(text "aclr" (rect 6 19 27 33)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 44 32)(line_width 1))
(unused)
)
(port
(pt 56 96)
(input)
(text "sel[LPM_WIDTHS-1..0]" (rect 59 80 166 94)(font "Arial" (font_size 8)))
(text "sel[]" (rect 59 80 82 94)(font "Arial" (font_size 8)))
(line (pt 56 96)(pt 56 80)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "clken" (rect 6 67 31 81)(font "Arial" (font_size 8)))
(text "clken" (rect 6 67 35 81)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 44 80)(line_width 1))
(unused)
)
(port
(pt 112 56)
(output)
(text "result[LPM_WIDTH-1..0]" (rect 75 41 188 55)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 41 113 55)(font "Arial" (font_size 8)))
(line (pt 68 56)(pt 112 56)(line_width 3))
)
(parameter
"LPM_PIPELINE"
"0"
"Output latency in clock cycles - requires use of optional clock"
"0" "1" "2" "3" "4"
)
(parameter
"LPM_SIZE"
"4"
"Number of inputs per MUX, any integer > 1"
" 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(parameter
"LPM_WIDTH"
"10"
"Number of MUXes, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(parameter
"LPM_WIDTHS"
"CEIL(LOG2(LPM_SIZE))"
"Width of sel[] port"
"CEIL(LOG2(LPM_SIZE))"
)
(drawing
(line (pt 44 88)(pt 44 16)(line_width 1))
(line (pt 68 72)(pt 68 32)(line_width 1))
(line (pt 44 16)(pt 68 32)(line_width 1))
(line (pt 44 88)(pt 68 72)(line_width 1))
)
(annotation_block (parameter)(rect 3080 808 3272 880))
)
(symbol
(rect 1232 328 1344 424)
(text "LPM_MUX" (rect 23 0 84 16)(font "Arial" (font_size 10)))
(text "inst91" (rect 3 84 32 96)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "data[LPM_SIZE-1..0][LPM_WIDTH-1..0]" (rect 6 33 189 47)(font "Arial" (font_size 8)))
(text "data[][]" (rect 6 33 44 47)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 44 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "clock" (rect 6 51 31 65)(font "Arial" (font_size 8)))
(text "clock" (rect 6 51 35 65)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 44 64)(line_width 1))
(unused)
)
(port
(pt 0 32)
(input)
(text "aclr" (rect 6 19 24 33)(font "Arial" (font_size 8)))
(text "aclr" (rect 6 19 27 33)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 44 32)(line_width 1))
(unused)
)
(port
(pt 56 96)
(input)
(text "sel[LPM_WIDTHS-1..0]" (rect 59 80 166 94)(font "Arial" (font_size 8)))
(text "sel[]" (rect 59 80 82 94)(font "Arial" (font_size 8)))
(line (pt 56 96)(pt 56 80)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "clken" (rect 6 67 31 81)(font "Arial" (font_size 8)))
(text "clken" (rect 6 67 35 81)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 44 80)(line_width 1))
(unused)
)
(port
(pt 112 56)
(output)
(text "result[LPM_WIDTH-1..0]" (rect 75 41 188 55)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 41 113 55)(font "Arial" (font_size 8)))
(line (pt 68 56)(pt 112 56)(line_width 3))
)
(parameter
"LPM_PIPELINE"
"0"
"Output latency in clock cycles - requires use of optional clock"
"0" "1" "2" "3" "4"
)
(parameter
"LPM_SIZE"
"4"
"Number of inputs per MUX, any integer > 1"
" 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(parameter
"LPM_WIDTH"
"10"
"Number of MUXes, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(parameter
"LPM_WIDTHS"
"CEIL(LOG2(LPM_SIZE))"
"Width of sel[] port"
"CEIL(LOG2(LPM_SIZE))"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -