lpm_counter0.bsf
上传用户:jinxingdao
上传日期:2021-04-27
资源大小:415k
文件大小:3k
源码类别:

扫描程序

开发平台:

VHDL

  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-2007 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 from 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 "symbol" (version "1.1"))
  22. (symbol
  23. (rect 0 0 144 112)
  24. (text "lpm_counter0" (rect 33 1 125 17)(font "Arial" (font_size 10)))
  25. (text "inst" (rect 8 96 25 108)(font "Arial" ))
  26. (port
  27. (pt 0 32)
  28. (input)
  29. (text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
  30. (text "clock" (rect 26 26 49 39)(font "Arial" (font_size 8)))
  31. (line (pt 0 32)(pt 16 32)(line_width 1))
  32. )
  33. (port
  34. (pt 0 64)
  35. (input)
  36. (text "cnt_en" (rect 0 0 38 14)(font "Arial" (font_size 8)))
  37. (text "cnt_en" (rect 20 58 52 71)(font "Arial" (font_size 8)))
  38. (line (pt 0 64)(pt 16 64)(line_width 1))
  39. )
  40. (port
  41. (pt 80 112)
  42. (input)
  43. (text "aclr" (rect 0 0 14 21)(font "Arial" (font_size 8))(vertical))
  44. (text "aclr" (rect 73 75 86 92)(font "Arial" (font_size 8))(vertical))
  45. (line (pt 80 112)(pt 80 96)(line_width 1))
  46. )
  47. (port
  48. (pt 144 40)
  49. (output)
  50. (text "q[11..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
  51. (text "q[11..0]" (rect 89 34 125 47)(font "Arial" (font_size 8)))
  52. (line (pt 144 40)(pt 128 40)(line_width 3))
  53. )
  54. (port
  55. (pt 144 56)
  56. (output)
  57. (text "cout" (rect 0 0 24 14)(font "Arial" (font_size 8)))
  58. (text "cout" (rect 104 50 124 63)(font "Arial" (font_size 8)))
  59. (line (pt 144 56)(pt 128 56)(line_width 1))
  60. )
  61. (drawing
  62. (text "up counter" (rect 84 17 128 29)(font "Arial" ))
  63. (line (pt 16 16)(pt 128 16)(line_width 1))
  64. (line (pt 128 16)(pt 128 96)(line_width 1))
  65. (line (pt 128 96)(pt 16 96)(line_width 1))
  66. (line (pt 16 96)(pt 16 16)(line_width 1))
  67. (line (pt 16 26)(pt 22 32)(line_width 1))
  68. (line (pt 22 32)(pt 16 38)(line_width 1))
  69. )
  70. )