Music.bdf
Upload User: jnxfc1
Upload Date: 2022-08-09
Package Size: 363k
Code Size: 11k
Development Platform:

Others

  1. /*
  2. WARNING: Do NOT edit the input and output ports in this file in a text
  3. editor if you plan to continue editing the block that represents it in
  4. the Block Editor! File corruption is VERY likely to occur.
  5. */
  6. /*
  7. Copyright (C) 1991-2005 Altera Corporation
  8. Your use of Altera Corporation's design tools, logic functions 
  9. and other software and tools, and its AMPP partner logic 
  10. functions, and any output files any of the foregoing 
  11. (including device programming or simulation files), and any 
  12. associated documentation or information are expressly subject 
  13. to the terms and conditions of the Altera Program License 
  14. Subscription Agreement, Altera MegaCore Function License 
  15. Agreement, or other applicable license agreement, including, 
  16. without limitation, that your use is for the sole purpose of 
  17. programming logic devices manufactured by Altera and sold by 
  18. Altera or its authorized distributors.  Please refer to the 
  19. applicable agreement for further details.
  20. */
  21. (header "graphic" (version "1.3"))
  22. (pin
  23. (input)
  24. (rect 56 48 224 64)
  25. (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
  26. (text "RESET" (rect 5 0 40 12)(font "Arial" ))
  27. (pt 168 8)
  28. (drawing
  29. (line (pt 92 12)(pt 117 12)(line_width 1))
  30. (line (pt 92 4)(pt 117 4)(line_width 1))
  31. (line (pt 121 8)(pt 168 8)(line_width 1))
  32. (line (pt 92 12)(pt 92 4)(line_width 1))
  33. (line (pt 117 4)(pt 121 8)(line_width 1))
  34. (line (pt 117 12)(pt 121 8)(line_width 1))
  35. )
  36. (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
  37. (annotation_block (location)(rect -32 64 56 96))
  38. )
  39. (pin
  40. (input)
  41. (rect 56 64 224 80)
  42. (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
  43. (text "GCLKP1" (rect 5 0 47 12)(font "Arial" ))
  44. (pt 168 8)
  45. (drawing
  46. (line (pt 92 12)(pt 117 12)(line_width 1))
  47. (line (pt 92 4)(pt 117 4)(line_width 1))
  48. (line (pt 121 8)(pt 168 8)(line_width 1))
  49. (line (pt 92 12)(pt 92 4)(line_width 1))
  50. (line (pt 117 4)(pt 121 8)(line_width 1))
  51. (line (pt 117 12)(pt 121 8)(line_width 1))
  52. )
  53. (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
  54. (annotation_block (location)(rect -32 80 56 112))
  55. )
  56. (pin
  57. (input)
  58. (rect 56 80 224 96)
  59. (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
  60. (text "GCLKP2" (rect 5 0 47 12)(font "Arial" ))
  61. (pt 168 8)
  62. (drawing
  63. (line (pt 92 12)(pt 117 12)(line_width 1))
  64. (line (pt 92 4)(pt 117 4)(line_width 1))
  65. (line (pt 121 8)(pt 168 8)(line_width 1))
  66. (line (pt 92 12)(pt 92 4)(line_width 1))
  67. (line (pt 117 4)(pt 121 8)(line_width 1))
  68. (line (pt 117 12)(pt 121 8)(line_width 1))
  69. )
  70. (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
  71. (annotation_block (location)(rect -32 96 56 128))
  72. )
  73. (pin
  74. (output)
  75. (rect 800 152 976 168)
  76. (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
  77. (text "Light[7..0]" (rect 90 0 139 12)(font "Arial" ))
  78. (pt 0 8)
  79. (drawing
  80. (line (pt 0 8)(pt 52 8)(line_width 1))
  81. (line (pt 52 4)(pt 78 4)(line_width 1))
  82. (line (pt 52 12)(pt 78 12)(line_width 1))
  83. (line (pt 52 12)(pt 52 4)(line_width 1))
  84. (line (pt 78 4)(pt 82 8)(line_width 1))
  85. (line (pt 82 8)(pt 78 12)(line_width 1))
  86. (line (pt 78 12)(pt 82 8)(line_width 1))
  87. )
  88. (annotation_block (location)(rect 976 168 1064 296))
  89. )
  90. (pin
  91. (output)
  92. (rect 800 168 976 184)
  93. (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
  94. (text "LEDOUT[7..0]" (rect 90 0 159 12)(font "Arial" ))
  95. (pt 0 8)
  96. (drawing
  97. (line (pt 0 8)(pt 52 8)(line_width 1))
  98. (line (pt 52 4)(pt 78 4)(line_width 1))
  99. (line (pt 52 12)(pt 78 12)(line_width 1))
  100. (line (pt 52 12)(pt 52 4)(line_width 1))
  101. (line (pt 78 4)(pt 82 8)(line_width 1))
  102. (line (pt 82 8)(pt 78 12)(line_width 1))
  103. (line (pt 78 12)(pt 82 8)(line_width 1))
  104. )
  105. (annotation_block (location)(rect 976 184 1064 312))
  106. )
  107. (pin
  108. (output)
  109. (rect 800 184 976 200)
  110. (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
  111. (text "SELECT[3..0]" (rect 90 0 157 12)(font "Arial" ))
  112. (pt 0 8)
  113. (drawing
  114. (line (pt 0 8)(pt 52 8)(line_width 1))
  115. (line (pt 52 4)(pt 78 4)(line_width 1))
  116. (line (pt 52 12)(pt 78 12)(line_width 1))
  117. (line (pt 52 12)(pt 52 4)(line_width 1))
  118. (line (pt 78 4)(pt 82 8)(line_width 1))
  119. (line (pt 82 8)(pt 78 12)(line_width 1))
  120. (line (pt 78 12)(pt 82 8)(line_width 1))
  121. )
  122. (annotation_block (location)(rect 976 200 1064 272))
  123. )
  124. (pin
  125. (output)
  126. (rect 480 304 656 320)
  127. (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
  128. (text "BEEP" (rect 90 0 118 12)(font "Arial" ))
  129. (pt 0 8)
  130. (drawing
  131. (line (pt 0 8)(pt 52 8)(line_width 1))
  132. (line (pt 52 4)(pt 78 4)(line_width 1))
  133. (line (pt 52 12)(pt 78 12)(line_width 1))
  134. (line (pt 52 12)(pt 52 4)(line_width 1))
  135. (line (pt 78 4)(pt 82 8)(line_width 1))
  136. (line (pt 82 8)(pt 78 12)(line_width 1))
  137. (line (pt 78 12)(pt 82 8)(line_width 1))
  138. )
  139. (annotation_block (location)(rect 656 320 744 352))
  140. )
  141. (symbol
  142. (rect 256 160 416 256)
  143. (text "Speakera" (rect 5 0 51 12)(font "Arial" ))
  144. (text "inst" (rect 8 80 25 92)(font "Arial" ))
  145. (port
  146. (pt 0 32)
  147. (input)
  148. (text "RESET" (rect 0 0 35 12)(font "Arial" ))
  149. (text "RESET" (rect 21 27 56 39)(font "Arial" ))
  150. (line (pt 0 32)(pt 16 32)(line_width 1))
  151. )
  152. (port
  153. (pt 0 48)
  154. (input)
  155. (text "CLK" (rect 0 0 21 12)(font "Arial" ))
  156. (text "CLK" (rect 21 43 42 55)(font "Arial" ))
  157. (line (pt 0 48)(pt 16 48)(line_width 1))
  158. )
  159. (port
  160. (pt 0 64)
  161. (input)
  162. (text "CLK8Hz" (rect 0 0 40 12)(font "Arial" ))
  163. (text "CLK8Hz" (rect 21 59 61 71)(font "Arial" ))
  164. (line (pt 0 64)(pt 16 64)(line_width 1))
  165. )
  166. (port
  167. (pt 160 32)
  168. (output)
  169. (text "ToneOut[3..0]" (rect 0 0 67 12)(font "Arial" ))
  170. (text "ToneOut[3..0]" (rect 72 27 139 39)(font "Arial" ))
  171. (line (pt 160 32)(pt 144 32)(line_width 3))
  172. )
  173. (port
  174. (pt 160 48)
  175. (output)
  176. (text "BEEP" (rect 0 0 28 12)(font "Arial" ))
  177. (text "BEEP" (rect 111 43 139 55)(font "Arial" ))
  178. (line (pt 160 48)(pt 144 48)(line_width 1))
  179. )
  180. (drawing
  181. (rectangle (rect 16 16 144 80)(line_width 1))
  182. )
  183. )
  184. (symbol
  185. (rect 256 24 408 120)
  186. (text "Frequency" (rect 5 0 58 12)(font "Arial" ))
  187. (text "inst2" (rect 8 80 31 92)(font "Arial" ))
  188. (port
  189. (pt 0 32)
  190. (input)
  191. (text "RESET" (rect 0 0 35 12)(font "Arial" ))
  192. (text "RESET" (rect 21 27 56 39)(font "Arial" ))
  193. (line (pt 0 32)(pt 16 32)(line_width 1))
  194. )
  195. (port
  196. (pt 0 48)
  197. (input)
  198. (text "GCLKP1" (rect 0 0 42 12)(font "Arial" ))
  199. (text "GCLKP1" (rect 21 43 63 55)(font "Arial" ))
  200. (line (pt 0 48)(pt 16 48)(line_width 1))
  201. )
  202. (port
  203. (pt 0 64)
  204. (input)
  205. (text "GCLKP2" (rect 0 0 42 12)(font "Arial" ))
  206. (text "GCLKP2" (rect 21 59 63 71)(font "Arial" ))
  207. (line (pt 0 64)(pt 16 64)(line_width 1))
  208. )
  209. (port
  210. (pt 152 32)
  211. (output)
  212. (text "ClockScan" (rect 0 0 53 12)(font "Arial" ))
  213. (text "ClockScan" (rect 78 27 131 39)(font "Arial" ))
  214. (line (pt 152 32)(pt 136 32)(line_width 1))
  215. )
  216. (port
  217. (pt 152 48)
  218. (output)
  219. (text "CLK" (rect 0 0 21 12)(font "Arial" ))
  220. (text "CLK" (rect 110 43 131 55)(font "Arial" ))
  221. (line (pt 152 48)(pt 136 48)(line_width 1))
  222. )
  223. (port
  224. (pt 152 64)
  225. (output)
  226. (text "CLK8Hz" (rect 0 0 40 12)(font "Arial" ))
  227. (text "CLK8Hz" (rect 91 59 131 71)(font "Arial" ))
  228. (line (pt 152 64)(pt 136 64)(line_width 1))
  229. )
  230. (drawing
  231. (rectangle (rect 16 16 136 80)(line_width 1))
  232. )
  233. )
  234. (symbol
  235. (rect 568 128 752 288)
  236. (text "LED4" (rect 5 0 32 12)(font "Arial" ))
  237. (text "inst1" (rect 8 144 31 156)(font "Arial" ))
  238. (port
  239. (pt 0 32)
  240. (input)
  241. (text "RESET" (rect 0 0 35 12)(font "Arial" ))
  242. (text "RESET" (rect 21 27 56 39)(font "Arial" ))
  243. (line (pt 0 32)(pt 16 32)(line_width 1))
  244. )
  245. (port
  246. (pt 0 48)
  247. (input)
  248. (text "ClockScan" (rect 0 0 53 12)(font "Arial" ))
  249. (text "ClockScan" (rect 21 43 74 55)(font "Arial" ))
  250. (line (pt 0 48)(pt 16 48)(line_width 1))
  251. )
  252. (port
  253. (pt 0 64)
  254. (input)
  255. (text "LED1[3..0]" (rect 0 0 53 12)(font "Arial" ))
  256. (text "LED1[3..0]" (rect 21 59 74 71)(font "Arial" ))
  257. (line (pt 0 64)(pt 16 64)(line_width 3))
  258. )
  259. (port
  260. (pt 0 80)
  261. (input)
  262. (text "LED2[3..0]" (rect 0 0 53 12)(font "Arial" ))
  263. (text "LED2[3..0]" (rect 21 75 74 87)(font "Arial" ))
  264. (line (pt 0 80)(pt 16 80)(line_width 3))
  265. )
  266. (port
  267. (pt 0 96)
  268. (input)
  269. (text "LED3[3..0]" (rect 0 0 53 12)(font "Arial" ))
  270. (text "LED3[3..0]" (rect 21 91 74 103)(font "Arial" ))
  271. (line (pt 0 96)(pt 16 96)(line_width 3))
  272. )
  273. (port
  274. (pt 0 112)
  275. (input)
  276. (text "LED4[3..0]" (rect 0 0 53 12)(font "Arial" ))
  277. (text "LED4[3..0]" (rect 21 107 74 119)(font "Arial" ))
  278. (line (pt 0 112)(pt 16 112)(line_width 3))
  279. )
  280. (port
  281. (pt 184 32)
  282. (output)
  283. (text "Light[7..0]" (rect 0 0 49 12)(font "Arial" ))
  284. (text "Light[7..0]" (rect 114 27 163 39)(font "Arial" ))
  285. (line (pt 184 32)(pt 168 32)(line_width 3))
  286. )
  287. (port
  288. (pt 184 48)
  289. (output)
  290. (text "LEDOut[7..0]" (rect 0 0 64 12)(font "Arial" ))
  291. (text "LEDOut[7..0]" (rect 99 43 163 55)(font "Arial" ))
  292. (line (pt 184 48)(pt 168 48)(line_width 3))
  293. )
  294. (port
  295. (pt 184 64)
  296. (output)
  297. (text "DigitSelect[3..0]" (rect 0 0 79 12)(font "Arial" ))
  298. (text "DigitSelect[3..0]" (rect 84 59 163 71)(font "Arial" ))
  299. (line (pt 184 64)(pt 168 64)(line_width 3))
  300. )
  301. (drawing
  302. (rectangle (rect 16 16 168 144)(line_width 1))
  303. )
  304. )
  305. (connector
  306. (pt 256 56)
  307. (pt 224 56)
  308. )
  309. (connector
  310. (pt 256 72)
  311. (pt 224 72)
  312. )
  313. (connector
  314. (pt 256 88)
  315. (pt 224 88)
  316. )
  317. (connector
  318. (pt 416 208)
  319. (pt 456 208)
  320. )
  321. (connector
  322. (pt 456 208)
  323. (pt 456 312)
  324. )
  325. (connector
  326. (pt 480 312)
  327. (pt 456 312)
  328. )
  329. (connector
  330. (pt 752 160)
  331. (pt 800 160)
  332. (bus)
  333. )
  334. (connector
  335. (pt 752 176)
  336. (pt 800 176)
  337. (bus)
  338. )
  339. (connector
  340. (pt 752 192)
  341. (pt 800 192)
  342. (bus)
  343. )
  344. (connector
  345. (text "RESET" (rect 200 176 235 188)(font "Arial" ))
  346. (pt 256 192)
  347. (pt 184 192)
  348. )
  349. (connector
  350. (text "CLK" (rect 200 192 221 204)(font "Arial" ))
  351. (pt 256 208)
  352. (pt 184 208)
  353. )
  354. (connector
  355. (text "CLK8" (rect 202 208 229 220)(font "Arial" ))
  356. (pt 256 224)
  357. (pt 184 224)
  358. )
  359. (connector
  360. (text "RESET" (rect 518 144 553 156)(font "Arial" ))
  361. (pt 496 160)
  362. (pt 568 160)
  363. )
  364. (connector
  365. (text "ClockScan" (rect 519 160 572 172)(font "Arial" ))
  366. (pt 496 176)
  367. (pt 568 176)
  368. )
  369. (connector
  370. (text "ClockScan" (rect 425 40 478 52)(font "Arial" ))
  371. (pt 408 56)
  372. (pt 472 56)
  373. )
  374. (connector
  375. (text "CLK" (rect 427 56 448 68)(font "Arial" ))
  376. (pt 408 72)
  377. (pt 472 72)
  378. )
  379. (connector
  380. (text "CLK8" (rect 427 72 454 84)(font "Arial" ))
  381. (pt 408 88)
  382. (pt 472 88)
  383. )
  384. (connector
  385. (pt 568 208)
  386. (pt 520 208)
  387. (bus)
  388. )
  389. (connector
  390. (pt 416 192)
  391. (pt 520 192)
  392. (bus)
  393. )
  394. (connector
  395. (pt 520 192)
  396. (pt 568 192)
  397. (bus)
  398. )
  399. (connector
  400. (pt 568 224)
  401. (pt 520 224)
  402. (bus)
  403. )
  404. (connector
  405. (pt 520 192)
  406. (pt 520 208)
  407. (bus)
  408. )
  409. (connector
  410. (pt 568 240)
  411. (pt 520 240)
  412. (bus)
  413. )
  414. (connector
  415. (pt 520 208)
  416. (pt 520 224)
  417. (bus)
  418. )
  419. (connector
  420. (pt 520 224)
  421. (pt 520 240)
  422. (bus)
  423. )
  424. (junction (pt 520 192))
  425. (junction (pt 520 208))
  426. (junction (pt 520 224))