📄 main.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-2004 Altera Corporation
Any megafunction design, and related netlist (encrypted or decrypted),
support information, device programming or simulation file, and any other
associated documentation or information provided by Altera or a partner
under Altera's Megafunction Partnership Program may be used only
to program PLD devices (but not masked PLD devices) from Altera. Any
other use of such megafunction design, netlist, support information,
device programming or simulation file, or any other related documentation
or information is prohibited for any other purpose, including, but not
limited to modification, reverse engineering, de-compiling, or use with
any other silicon devices, unless such use is explicitly licensed under
a separate agreement with Altera or a megafunction partner. Title to the
intellectual property, including patents, copyrights, trademarks, trade
secrets, or maskworks, embodied in any such megafunction design, netlist,
support information, device programming or simulation file, or any other
related documentation or information provided by Altera or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect -40 232 128 248)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "SW3" (rect 5 0 28 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 -40 392 128 408)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "SW2" (rect 5 0 28 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 -40 408 128 424)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "SW1" (rect 5 0 28 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 -40 128 128 144)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "Clock" (rect 5 0 33 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
(output)
(rect 1280 -32 1456 -16)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "alarm" (rect 90 0 117 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))
)
)
(pin
(output)
(rect 1280 480 1456 496)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "disp_select[5..0]" (rect 90 0 171 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))
)
)
(pin
(output)
(rect 1280 496 1456 512)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "disp_data[6..0]" (rect 90 0 163 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))
)
)
(symbol
(rect 344 -8 440 88)
(text "stopwatch" (rect 5 0 54 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "EN" (rect 0 0 15 12)(font "Arial" ))
(text "EN" (rect 21 27 36 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk1" (rect 0 0 20 12)(font "Arial" ))
(text "clk1" (rect 21 43 41 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clk2" (rect 0 0 20 12)(font "Arial" ))
(text "clk2" (rect 21 59 41 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "F_out" (rect 0 0 28 12)(font "Arial" ))
(text "F_out" (rect 47 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 160 208 312 368)
(text "maincontrol" (rect 5 0 61 12)(font "Arial" ))
(text "inst3" (rect 8 144 31 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "SW3" (rect 0 0 23 12)(font "Arial" ))
(text "SW3" (rect 21 27 44 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "Timepiece_EN" (rect 0 0 70 12)(font "Arial" ))
(text "Timepiece_EN" (rect 61 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 1))
)
(port
(pt 152 48)
(output)
(text "TimeSet_EN" (rect 0 0 61 12)(font "Arial" ))
(text "TimeSet_EN" (rect 70 43 131 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48)(line_width 1))
)
(port
(pt 152 64)
(output)
(text "Stopwatch_EN" (rect 0 0 71 12)(font "Arial" ))
(text "Stopwatch_EN" (rect 60 59 131 71)(font "Arial" ))
(line (pt 152 64)(pt 136 64)(line_width 1))
)
(port
(pt 152 80)
(output)
(text "Alarmclock_EN" (rect 0 0 75 12)(font "Arial" ))
(text "Alarmclock_EN" (rect 56 75 131 87)(font "Arial" ))
(line (pt 152 80)(pt 136 80)(line_width 1))
)
(port
(pt 152 96)
(output)
(text "Date_EN" (rect 0 0 44 12)(font "Arial" ))
(text "Date_EN" (rect 87 91 131 103)(font "Arial" ))
(line (pt 152 96)(pt 136 96)(line_width 1))
)
(port
(pt 152 112)
(output)
(text "DateSet_EN" (rect 0 0 61 12)(font "Arial" ))
(text "DateSet_EN" (rect 70 107 131 119)(font "Arial" ))
(line (pt 152 112)(pt 136 112)(line_width 1))
)
(drawing
(rectangle (rect 16 16 136 144)(line_width 1))
)
)
(symbol
(rect 528 288 784 448)
(text "date_main" (rect 5 0 62 14)(font "Arial" (font_size 8)))
(text "inst4" (rect 8 144 31 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "Date_EN" (rect 0 0 48 14)(font "Arial" (font_size 8)))
(text "Date_EN" (rect 21 27 69 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "date_disp_clk" (rect 0 0 77 14)(font "Arial" (font_size 8)))
(text "date_disp_clk" (rect 21 43 98 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "day_EN" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "day_EN" (rect 21 59 64 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "Date_Set_EN" (rect 0 0 74 14)(font "Arial" (font_size 8)))
(text "Date_Set_EN" (rect 21 75 95 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "SW1" (rect 0 0 27 14)(font "Arial" (font_size 8)))
(text "SW1" (rect 21 91 48 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "SW2" (rect 0 0 27 14)(font "Arial" (font_size 8)))
(text "SW2" (rect 21 107 48 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 256 32)
(output)
(text "month1[3..0]" (rect 0 0 69 14)(font "Arial" (font_size 8)))
(text "month1[3..0]" (rect 166 27 235 41)(font "Arial" (font_size 8)))
(line (pt 256 32)(pt 240 32)(line_width 3))
)
(port
(pt 256 48)
(output)
(text "month0[3..0]" (rect 0 0 69 14)(font "Arial" (font_size 8)))
(text "month0[3..0]" (rect 166 43 235 57)(font "Arial" (font_size 8)))
(line (pt 256 48)(pt 240 48)(line_width 3))
)
(port
(pt 256 64)
(output)
(text "day1[3..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
(text "day1[3..0]" (rect 179 59 235 73)(font "Arial" (font_size 8)))
(line (pt 256 64)(pt 240 64)(line_width 3))
)
(port
(pt 256 80)
(output)
(text "day0[3..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
(text "day0[3..0]" (rect 179 75 235 89)(font "Arial" (font_size 8)))
(line (pt 256 80)(pt 240 80)(line_width 3))
)
(port
(pt 256 96)
(output)
(text "Disp_select_date[5..0]" (rect 0 0 126 14)(font "Arial" (font_size 8)))
(text "Disp_select_date[5..0]" (rect 109 91 235 105)(font "Arial" (font_size 8)))
(line (pt 256 96)(pt 240 96)(line_width 3))
)
(drawing
(rectangle (rect 16 16 240 144)(line_width 1))
)
)
(symbol
(rect 520 -8 768 184)
(text "time_auto_and_set" (rect 5 0 98 12)(font "Arial" ))
(text "inst1" (rect 8 176 31 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "Timepiece_EN" (rect 0 0 70 12)(font "Arial" ))
(text "Timepiece_EN" (rect 21 43 91 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "TimeSet_EN" (rect 0 0 61 12)(font "Arial" ))
(text "TimeSet_EN" (rect 21 59 82 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "SW1" (rect 0 0 23 12)(font "Arial" ))
(text "SW1" (rect 21 75 44 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "SW2" (rect 0 0 23 12)(font "Arial" ))
(text "SW2" (rect 21 91 44 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 248 32)
(output)
(text "Day_EN" (rect 0 0 42 12)(font "Arial" ))
(text "Day_EN" (rect 185 27 227 39)(font "Arial" ))
(line (pt 248 32)(pt 232 32)(line_width 1))
)
(port
(pt 248 48)
(output)
(text "hour_1[3..0]" (rect 0 0 59 12)(font "Arial" ))
(text "hour_1[3..0]" (rect 168 43 227 55)(font "Arial" ))
(line (pt 248 48)(pt 232 48)(line_width 3))
)
(port
(pt 248 64)
(output)
(text "hour_0[3..0]" (rect 0 0 59 12)(font "Arial" ))
(text "hour_0[3..0]" (rect 168 59 227 71)(font "Arial" ))
(line (pt 248 64)(pt 232 64)(line_width 3))
)
(port
(pt 248 80)
(output)
(text "minute_1[3..0]" (rect 0 0 70 12)(font "Arial" ))
(text "minute_1[3..0]" (rect 157 75 227 87)(font "Arial" ))
(line (pt 248 80)(pt 232 80)(line_width 3))
)
(port
(pt 248 96)
(output)
(text "minute_0[3..0]" (rect 0 0 70 12)(font "Arial" ))
(text "minute_0[3..0]" (rect 157 91 227 103)(font "Arial" ))
(line (pt 248 96)(pt 232 96)(line_width 3))
)
(port
(pt 248 112)
(output)
(text "second_1[3..0]" (rect 0 0 73 12)(font "Arial" ))
(text "second_1[3..0]" (rect 154 107 227 119)(font "Arial" ))
(line (pt 248 112)(pt 232 112)(line_width 3))
)
(port
(pt 248 128)
(output)
(text "second_0[3..0]" (rect 0 0 73 12)(font "Arial" ))
(text "second_0[3..0]" (rect 154 123 227 135)(font "Arial" ))
(line (pt 248 128)(pt 232 128)(line_width 3))
)
(port
(pt 248 144)
(output)
(text "TimeSet_disp_drive[2..0]" (rect 0 0 122 12)(font "Arial" ))
(text "TimeSet_disp_drive[2..0]" (rect 105 139 227 151)(font "Arial" ))
(line (pt 248 144)(pt 232 144)(line_width 3))
)
(drawing
(rectangle (rect 16 16 232 176)(line_width 1))
)
)
(symbol
(rect 160 72 256 168)
(text "fdiv" (rect 5 84 25 96)(font "Arial" ))
(text "inst5" (rect 8 4 31 16)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 57 35 69)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "f200hz" (rect 0 0 33 12)(font "Arial" ))
(text "f200hz" (rect 42 57 75 69)(font "Arial" ))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "f60hz" (rect 0 0 27 12)(font "Arial" ))
(text "f60hz" (rect 48 41 75 53)(font "Arial" ))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "f1hz" (rect 0 0 21 12)(font "Arial" ))
(text "f1hz" (rect 54 25 75 37)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(flipx)
)
(symbol
(rect 960 296 1240 424)
(text "time_disp_select" (rect 5 0 87 12)(font "Arial" ))
(text "inst6" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk_1khz" (rect 0 0 42 12)(font "Arial" ))
(text "clk_1khz" (rect 21 27 63 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk_200hz" (rect 0 0 48 12)(font "Arial" ))
(text "clk_200hz" (rect 21 43 69 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "Time_EN" (rect 0 0 44 12)(font "Arial" ))
(text "Time_EN" (rect 21 59 65 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "TimeSet_EN" (rect 0 0 61 12)(font "Arial" ))
(text "TimeSet_EN" (rect 21 75 82 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "timeset_disp_drive[2..0]" (rect 0 0 119 12)(font "Arial" ))
(text "timeset_disp_drive[2..0]" (rect 21 91 140 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 280 32)
(output)
(text "time_disp_select[5..0]" (rect 0 0 108 12)(font "Arial" ))
(text "time_disp_select[5..0]" (rect 151 27 259 39)(font "Arial" ))
(line (pt 280 32)(pt 264 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 264 112)(line_width 1))
)
)
(symbol
(rect 944 456 1216 808)
(text "disp_data_mux" (rect 5 0 79 12)(font "Arial" ))
(text "inst8" (rect 8 336 31 348)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "Timepiece_EN" (rect 0 0 70 12)(font "Arial" ))
(text "Timepiece_EN" (rect 21 27 91 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "TimeSet_EN" (rect 0 0 61 12)(font "Arial" ))
(text "TimeSet_EN" (rect 21 43 82 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "Stopwatch_EN" (rect 0 0 71 12)(font "Arial" ))
(text "Stopwatch_EN" (rect 21 59 92 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "time_disp_select[5..0]" (rect 0 0 108 12)(font "Arial" ))
(text "time_disp_select[5..0]" (rect 21 75 129 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "Alarmclock_EN" (rect 0 0 75 12)(font "Arial" ))
(text "Alarmclock_EN" (rect 21 91 96 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "alarmclock_disp_select[5..0]" (rect 0 0 140 12)(font "Arial" ))
(text "alarmclock_disp_select[5..0]" (rect 21 107 161 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "hour1[3..0]" (rect 0 0 53 12)(font "Arial" ))
(text "hour1[3..0]" (rect 21 123 74 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "hour0[3..0]" (rect 0 0 53 12)(font "Arial" ))
(text "hour0[3..0]" (rect 21 139 74 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "minute1[3..0]" (rect 0 0 64 12)(font "Arial" ))
(text "minute1[3..0]" (rect 21 155 85 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 3))
)
(port
(pt 0 176)
(input)
(text "minute0[3..0]" (rect 0 0 64 12)(font "Arial" ))
(text "minute0[3..0]" (rect 21 171 85 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 0 192)
(input)
(text "second1[3..0]" (rect 0 0 67 12)(font "Arial" ))
(text "second1[3..0]" (rect 21 187 88 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 3))
)
(port
(pt 0 208)
(input)
(text "second0[3..0]" (rect 0 0 67 12)(font "Arial" ))
(text "second0[3..0]" (rect 21 203 88 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 0 224)
(input)
(text "Date_EN" (rect 0 0 44 12)(font "Arial" ))
(text "Date_EN" (rect 21 219 65 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 1))
)
(port
(pt 0 240)
(input)
(text "DateSet_EN" (rect 0 0 61 12)(font "Arial" ))
(text "DateSet_EN" (rect 21 235 82 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 1))
)
(port
(pt 0 256)
(input)
(text "date_disp_select[5..0]" (rect 0 0 108 12)(font "Arial" ))
(text "date_disp_select[5..0]" (rect 21 251 129 263)(font "Arial" ))
(line (pt 0 256)(pt 16 256)(line_width 3))
)
(port
(pt 0 272)
(input)
(text "month1[3..0]" (rect 0 0 62 12)(font "Arial" ))
(text "month1[3..0]" (rect 21 267 83 279)(font "Arial" ))
(line (pt 0 272)(pt 16 272)(line_width 3))
)
(port
(pt 0 288)
(input)
(text "month0[3..0]" (rect 0 0 62 12)(font "Arial" ))
(text "month0[3..0]" (rect 21 283 83 295)(font "Arial" ))
(line (pt 0 288)(pt 16 288)(line_width 3))
)
(port
(pt 0 304)
(input)
(text "day1[3..0]" (rect 0 0 50 12)(font "Arial" ))
(text "day1[3..0]" (rect 21 299 71 311)(font "Arial" ))
(line (pt 0 304)(pt 16 304)(line_width 3))
)
(port
(pt 0 320)
(input)
(text "day0[3..0]" (rect 0 0 50 12)(font "Arial" ))
(text "day0[3..0]" (rect 21 315 71 327)(font "Arial" ))
(line (pt 0 320)(pt 16 320)(line_width 3))
)
(port
(pt 272 32)
(output)
(text "disp_select[5..0]" (rect 0 0 81 12)(font "Arial" ))
(text "disp_select[5..0]" (rect 170 27 251 39)(font "Arial" ))
(line (pt 272 32)(pt 256 32)(line_width 3))
)
(port
(pt 272 48)
(output)
(text "disp_data[6..0]" (rect 0 0 73 12)(font "Arial" ))
(text "disp_data[6..0]" (rect 178 43 251 55)(font "Arial" ))
(line (pt 272 48)(pt 256 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 256 336)(line_width 1))
)
)
(symbol
(rect 912 -56 1176 168)
(text "alarmclock" (rect 5 0 58 12)(font "Arial" ))
(text "inst11" (rect 8 208 37 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "EN" (rect 0 0 15 12)(font "Arial" ))
(text "EN" (rect 21 27 36 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "SW1" (rect 0 0 23 12)(font "Arial" ))
(text "SW1" (rect 21 43 44 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "SW2" (rect 0 0 23 12)(font "Arial" ))
(text "SW2" (rect 21 59 44 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "clk_200hz" (rect 0 0 48 12)(font "Arial" ))
(text "clk_200hz" (rect 21 75 69 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "hour1[3..0]" (rect 0 0 53 12)(font "Arial" ))
(text "hour1[3..0]" (rect 21 91 74 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -